From bf9a9278db43be9732eec05ecd69626b3a9df917 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 28 Sep 1993 20:15:33 +0000 Subject: Formerly Makefile.~4~ --- Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e5bd1741..6d9dfd42 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,14 @@ hurddir = $(prefix)/hurd serversdir = $(prefix)/servers +libdir = $(prefix)/lib .PHONY: all install all: exec core bootexec install: $(hurddir)/exec $(hurddir)/core $(serversdir)/exec $(serversdir)/core -exec bootexec core: hostarch.o +vpath %.c ../$(machine) + +exec bootexec core: hostarch.o $(libdir)/libc.a exec bootexec: exec_machdep.o exec: transexec.o @@ -20,5 +23,10 @@ $(serversdir)/core: core.text $(hurddir)/core $(serversdir)/exec: exec.text @rm -f $@ cp $< $@ -# Comment the next line out to use bootexec. -# settrans $(word 2,$^) $@ + settrans '$(filter %/exec,$^)' $@ + +# This dependency makes the standard exec server be a translator. Without +# it, /servers/exec has no translator, and bootexec is linked into the boot +# filesystem. Uncomment the line to install the exec server as a +# translator. +#$(serversdir)/exec: $(hurddir)/exec -- cgit v1.2.3