summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1993-09-28 20:16:25 +0000
committerMichael I. Bushnell <mib@gnu.org>1993-09-28 20:16:25 +0000
commit497a20498804a8e69f1673facf181935bb7ff219 (patch)
tree8f569ea619640a57387917dab9302f63a5d77510 /Makefile
parent539216234795e9f2b6e4c092946f31a455677435 (diff)
Initial revision
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 8 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index 21a63141..4237d4e2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,11 @@
-hurd = exec core
-servers = exec core
-bin = gcore
+.PHONY: all install
+all: exec core
+install: $(hurddir)/exec $(hurddir)/core $(serversdir)/exec $(serversdir)/core
-include ../Makerules
-
-exec core: hostarch.o $(libdir)/libtrivfs.a $(libdir)/libc.a
-exec: exec_server.o exec_user.o exec_machdep.o
-core: core_server.o
-exec.o: exec_server.h
-core.o: core_server.h
+exec core: hostarch.o
+exec: exec_machdep.o
-# This dependency makes the standard exec server be a translator. Without
-# it, /servers/exec has no translator, and exec is inserted into the boot
-# filesystem's load image with makeboot. Uncomment the line to install the
-# exec server as a translator.
-#$(serversdir)/exec: $(hurddir)/exec
-
-$(serversdir)/exec: exec.text
+$(serversdir)/%: %.text $(hurddir)/%
@rm -f $@
- $(INSTALL_DATA) $< $@
- settrans '$(word 2,$^)' $@
+ cp $< $@
+ settrans $(word 2,$^) $@