summaryrefslogtreecommitdiff
path: root/mach/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-03-09 01:39:24 +0000
committerRoland McGrath <roland@gnu.org>1994-03-09 01:39:24 +0000
commit0669a95a751c0b7a51f45a7cfdf000c2a0bf29f7 (patch)
tree55c8aa25afd44cce65edf80551c689bf9ddea92a /mach/Makefile
parent16353e4ac571557ffe08b79f7ec36f5a719b01c1 (diff)
Formerly ../mach/Makefile.~70~
Diffstat (limited to 'mach/Makefile')
-rw-r--r--mach/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/mach/Makefile b/mach/Makefile
index 09a35e024a..1fa0b4d9bf 100644
--- a/mach/Makefile
+++ b/mach/Makefile
@@ -111,7 +111,7 @@ $(objpfx)mach-syscalls.mk: mach/syscall_sw.h syscalls.awk
-e 's/^kernel_trap(\(.*\),\([-0-9]*\),[0-9]*)$$/\1 \2/p' \
< $< | awk -f $(word 2,$^) > $@-new
mv $@-new $@
-generated += $(objpfx)mach-syscalls.mk
+generated += mach-syscalls.mk
ifndef mach-syscalls
# We cannot make the deps properly until we know how to make the system
@@ -126,8 +126,8 @@ $(mach-syscalls:%=$(objpfx)%.c): $(objpfx)%.c: Makefile
(echo '#include <gnu-stabs.h>'; \
echo 'symbol_alias (__$*, $*);') > $@-new
mv $@-new $@
-generated += $(mach-syscalls:%=$(objpfx)__%.S) \
- $(mach-syscalls:%=$(objpfx)%.c)
+generated += $(mach-syscalls:%=__%.S) \
+ $(mach-syscalls:%=%.c)
endif # mach-syscalls
mach-shortcuts := $(patsubst syscall_%,%,$(filter syscall_%,$(mach-syscalls)))
@@ -159,7 +159,7 @@ $(mach-shortcuts:%=$(objpfx)%.c): $(objpfx)%.c: # Makefile
(echo '#include <gnu-stabs.h>'; \
echo 'symbol_alias (__$*, $*);') > $@-new
mv $@-new $@
-generated += $(mach-shortcuts:%=$(objpfx)%.c)
+generated += $(mach-shortcuts:%=%.c)
endif # mach-shortcuts
# Generate mach-shortcuts.h, which will contain the prototypes for the
@@ -173,7 +173,7 @@ $(objpfx)mach-shortcuts.h: $(objpfx)mach/mach_interface.h \
| grep '^/\* Routine [a-z0-9_]*_rpc \*/' \
| sed 's/_rpc//g' | tr @ \\012 > $@-new
mv $@-new $@
-generated += $(objpfx)mach-shortcuts.h
+generated += mach-shortcuts.h
before-compile += $(objpfx)mach-shortcuts.h
@@ -201,7 +201,7 @@ ifeq (,)
# XXX we have an errsystems.c here because a gcc bug makes the generated
# version lose.
else
-generated += $(objpfx)errsystems.c
+generated += errsystems.c
$(objpfx)errsystems.c: errsystems.awk err_*.sub \
$(wildcard $(addsuffix /err_*.sub,$(+sysdep_dirs)))
gawk -v subsys='$(filter-out $<,$^)' -f $^ > $@.n