summaryrefslogtreecommitdiff
path: root/pfinet/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-02-26 04:26:44 +0000
committerRoland McGrath <roland@gnu.org>2001-02-26 04:26:44 +0000
commitad6dbaf6541730c0c98f509425464491bb3062a0 (patch)
treeb09df8266b8fc732f5a4fb9afd0b817f640c2435 /pfinet/Makefile
parentd46d0726fb7a48723ed128e1ca8366b58b7ba5d0 (diff)
2001-02-25 Roland McGrath <roland@frob.com>
* Makefile (asm/checksum.h): New target. (CPPFLAGS): Don't set _HURD_SYSTYPE. * glue-include/asm/checksum.h: File removed.
Diffstat (limited to 'pfinet/Makefile')
-rw-r--r--pfinet/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/pfinet/Makefile b/pfinet/Makefile
index 3343b050..35e30baa 100644
--- a/pfinet/Makefile
+++ b/pfinet/Makefile
@@ -87,11 +87,16 @@ vpath %.c $(addprefix $(srcdir)/linux-src/net/,core ethernet ipv4)
vpath %.c $(srcdir)/linux-src/arch/$(asm_syntax)/lib
vpath %.S $(srcdir)/linux-src/arch/$(asm_syntax)/lib
-CPPFLAGS += '-D_HURD_SYSTYPE="$(asm_syntax)"' \
- -imacros $(srcdir)/config.h \
+CPPFLAGS += -imacros $(srcdir)/config.h \
-I$(srcdir)/glue-include \
-I$(srcdir)/linux-src/include
+asm/checksum.h: ../config.status
+ mkdir -p $(@D)
+ echo > $@.new \
+ '#include "../linux-src/include/asm-$(asm_syntax)/checksum.h"'
+ mv -f $@.new $@
+
io-MIGSFLAGS = -imacros $(srcdir)/mutations.h
socket-MIGSFLAGS = -imacros $(srcdir)/mutations.h