summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1993-09-28 20:15:33 +0000
committerMichael I. Bushnell <mib@gnu.org>1993-09-28 20:15:33 +0000
commitbf9a9278db43be9732eec05ecd69626b3a9df917 (patch)
treefe7b8dab2679c298a24a5dc99a51f2ceb45e1e91 /Makefile
parent16f9f77975ee6c52b9dd4d30c2278d16749d05c7 (diff)
Formerly Makefile.~4~
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
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