summaryrefslogtreecommitdiff
path: root/init/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'init/Makefile')
-rw-r--r--init/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/init/Makefile b/init/Makefile
index 68a66ee3..00ea7abd 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -22,15 +22,21 @@ include ../Makeconf
DIST_FILES = Makefile init.c
OBJS = init.o startupServer.o startup_replyUser.o
+
+all: init
+
+init: $(OBJS)
$(link)
+init.o: startup_S.h startup_reply.h
+
install:
cp init $(hurdroot)/hurd/init
startup_S.h startupServer.c: $(headers)/hurd/startup.defs $(headers)/hurd/hurd_types.defs
$(CPP) $(CPPFLAGS) $(headers)/hurd/startup.defs \
- | $(MIGCOM) -sheader startup_S.h -header /dev/null -user /dev/null
+ | $(MIGCOM) -prefix S_ -sheader startup_S.h -header /dev/null -user /dev/null
startup_reply.h startup_replyUser.c: $(headers)/hurd/startup_reply.defs $(headers)/hurd/hurd_types.defs
$(CPP) $(CPPFLAGS) $(headers)/hurd/startup_reply.defs \