aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-12-02 22:13:05 +0000
committerRoland McGrath <roland@gnu.org>2001-12-02 22:13:05 +0000
commitc337dc4c8b55d03621a9032c02187fdd7de15960 (patch)
treeb182efca8a29a1db6048810a95ee31e1a2dee5ba
parent4f904363e44d029a09f86059f61ae3c3e7c6593c (diff)
downloadglibc-c337dc4c8b55d03621a9032c02187fdd7de15960.tar
glibc-c337dc4c8b55d03621a9032c02187fdd7de15960.tar.gz
glibc-c337dc4c8b55d03621a9032c02187fdd7de15960.tar.bz2
glibc-c337dc4c8b55d03621a9032c02187fdd7de15960.zip
* mach/Makefile, mach/Machrules: Move comments out of \ continuations.
-rw-r--r--ChangeLog2
-rw-r--r--mach/Machrules2
-rw-r--r--mach/Makefile2
3 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 520fa1f52e..87c068475d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2001-12-02 Roland McGrath <roland@frob.com>
+ * mach/Makefile, mach/Machrules: Move comments out of \ continuations.
+
* hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning.
Reported by Jeff Bailey <jbailey@nisa.net>.
diff --git a/mach/Machrules b/mach/Machrules
index c575862d83..ed2f6fa0bd 100644
--- a/mach/Machrules
+++ b/mach/Machrules
@@ -134,8 +134,8 @@ $(patsubst %,$(objpfx)%.ustamp,$(user-interfaces)): $(objpfx)%.ustamp:
$(patsubst %,$(objpfx)%.udeps,$(user-interfaces)):
$(objpfx)%.udeps: $(..)mach/Machrules
$(make-target-directory)
- $(include-%.defs) | \
# We must use $(CFLAGS) to get -O flags that affect #if's in header files.
+ $(include-%.defs) | \
$(CC) $(CFLAGS) $(CPPFLAGS) -M -x c - | \
sed -e 's,- *:,$@ $(@:.udeps=.ustamp) $(@:.udeps=.uh) $(@:.udeps=.__h)\
$(@:.udeps=_server.c) $(@:.udeps=_server.h):,' \
diff --git a/mach/Makefile b/mach/Makefile
index 444c2ed144..ef6a6105d6 100644
--- a/mach/Makefile
+++ b/mach/Makefile
@@ -70,9 +70,9 @@ endif
$(objpfx)mach-syscalls.mk: syscalls.awk Makefile
# Go kludges!!!
$(make-target-directory)
+# We must use $(CFLAGS) to get -O flags that affect #if's in header files.
echo '#include <mach/syscall_sw.h>' | \
DEPENDENCIES_OUTPUT='$@-dep $@' \
-# We must use $(CFLAGS) to get -O flags that affect #if's in header files.
$(CC) $(CFLAGS) $(CPPFLAGS) -E -x c-header - \
-D_MACH_`echo $(base-machine) | tr a-z A-Z`_SYSCALL_SW_H_=1 | \
sed -n -e 's/^kernel_trap(\(.*\),\([-0-9]*\),\([0-9]*\))$$/\1 \2 \3/p'\