2002-05-12 Roland McGrath <roland@frob.com>

* mach/Makefile ($(mach-syscalls:%=$(objpfx)%.S)): Make the generated
	files #include <sysdep.h> instead of <mach/machine/syscall_sw.h>.
This commit is contained in:
Roland McGrath 2002-05-13 01:49:57 +00:00
parent a79fccef13
commit 85b9539f23

View File

@ -71,7 +71,7 @@ $(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>' | \
echo '#include <sysdep.h>' | \
DEPENDENCIES_OUTPUT='$@-dep $@' \
$(CC) $(CFLAGS) $(CPPFLAGS) -E -x c-header - \
-D_MACH_`echo $(base-machine) | tr a-z A-Z`_SYSCALL_SW_H_=1 | \