summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-07-21 23:03:21 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-07-21 23:03:21 +0000
commitc864f1929391317809818e87ada6837ba40727ef (patch)
tree4a65373332d869ec39dd83f69ad3d8958b34b7ed /boot
parent1e11ff463c19d7cc0eb6f93937754e17f07c56f5 (diff)
Formerly Makefile.~28~
Diffstat (limited to 'boot')
-rw-r--r--boot/Makefile67
1 files changed, 8 insertions, 59 deletions
diff --git a/boot/Makefile b/boot/Makefile
index 80aa1431..e0d11962 100644
--- a/boot/Makefile
+++ b/boot/Makefile
@@ -16,72 +16,21 @@
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
dir := boot
+makemode := utility
-include ../Makeconf
-
-VPATH = ../machine
-
+SRCS = boot.c tcattr.c sigvec.S
OBJS = boot.o notifyServer.o execServer.o deviceServer.o ioServer.o \
- io_replUser.o device_replyUser.o sigvec.o \
+ io_replyUser.o device_replyUser.o sigvec.o \
termServer.o tcattr.o
-# tioctlServer.o
-SRCS = boot.c tcattr.c sigvec.S
-
-DIST_FILES = boot.c Makefile io_repl.defs ChangeLog sigvec.S tcattr.c
+target = boot
-all: boot
+include ../Makeconf
-boot: $(OBJS)
- $(CC) $(CFLAGS) -o $@ $^
+install: /usr/local/bin/boot
-install: boot
+/usr/local/bin/boot:
cp boot /usr/local/bin/boot
-clean:
- rm -f boot $(OBJS) *_S.h *Server.c *User.c
-relink:
- rm -f boot
-
-boot.o: notify_S.h exec_S.h device_S.h io_S.h device_reply.h io_repl.h \
+boot.o: notify_S.h exec_S.h device_S.h io_S.h device_reply_U.h io_reply_U.h \
tioctl_S.h term_S.h
-# tioctlServer.o: ../hurd/ioctl_types.h
-
-notify_S.h notifyServer.c: $(includedir)/mach/notify.defs
- $(CPP) $(CPPFLAGS) $< | \
- $(MIGCOM) -user /dev/null -header /dev/null \
- -sheader notify_S.h
-
-exec_S.h execServer.c: $(includedir)/hurd/exec.defs
- $(CPP) $(CPPFLAGS) $< -DSERVERPREFIX=S_ | \
- $(MIGCOM) -user /dev/null -header /dev/null \
- -sheader exec_S.h
-
-device.defs: $(includedir)/device/device.defs
- sed -e '/out device : device_t/s/device_t/mach_port_send_t/' $< > $@
-
-device_S.h deviceServer.c: device.defs
- $(CPP) $(CPPFLAGS) $< | \
- $(MIGCOM) -user /dev/null -header /dev/null \
- -sheader device_S.h
-
-device_reply.h device_replyUser.c: $(includedir)/device/device_reply.defs
- $(CPP) $(CPPFLAGS) $< | \
- $(MIGCOM) -server /dev/null
-
-io_S.h ioServer.c: $(includedir)/hurd/io.defs
- $(CPP) $(CPPFLAGS) $< -DREPLY_PORTS | \
- $(MIGCOM) -prefix S_ -user /dev/null -header /dev/null -sheader io_S.h
-
-io_repl.h io_replUser.c: io_repl.defs
- $(CPP) $(CPPFLAGS) $< | \
- $(MIGCOM) -server /dev/null
-
-#tioctlServer.c tioctl_S.h: ../hurd/tioctl.defs
-# $(CPP) $(CPPFLAGS) $< | \
-# $(MIGCOM) -prefix S_ -user /dev/null -header /dev/null \
-# -sheader tioctl_S.h
-termServer.c term_S.h: ../hurd/term.defs
- $(CPP) $(CPPFLAGS) $< | \
- $(MIGCOM) -prefix S_ -user /dev/null -header /dev/null \
- -sheader term_S.h