summary refs log tree commit diff
path: root/src/Makefile
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2001-12-22 19:40:20 +0000
committerGerrit Pape <pape@smarden.org>2001-12-22 19:40:20 +0000
commitc66fcb611e3d019f89a6fa614e489ee78ba2eca8 (patch)
tree667065579f06201c22eb5374ce012a2f432bc359 /src/Makefile
parenta104aad15ef4509c40ec386b5990aa5375a36a30 (diff)
downloadrunit-c66fcb611e3d019f89a6fa614e489ee78ba2eca8.tar.gz
runit-c66fcb611e3d019f89a6fa614e489ee78ba2eca8.tar.xz
runit-c66fcb611e3d019f89a6fa614e489ee78ba2eca8.zip
runit: checks for pid == 1
new: svwaitdown, svwaitup
stage3: uses svwaitdown
0.2.2
debian package
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 60d9bc5..d3f8875 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -5,7 +5,7 @@ CC=gcc
 CFLAGS=-Wall -O3 -Isupport
 LDFLAGS=-Wall -O3 -s
 
-all: runit runit-init
+all: runit runit-init svwaitup svwaitdown
 
 set-tcp-env: djb-publicdomain set-tcp-env.o
 	$(CC) $(LDFLAGS) -o set-tcp-env \
@@ -19,6 +19,14 @@ runit-init:	djb-publicdomain init.o
 	$(CC) $(LDFLAGS) -o runit-init \
 		init.o support/unix.a support/byte.a
 
+svwaitup:	djb-publicdomain svwaitup.o
+	$(CC) $(LDFLAGS) -o svwaitup \
+		svwaitup.o support/unix.a support/byte.a support/time.a
+
+svwaitdown:	djb-publicdomain svwaitdown.o
+	$(CC) $(LDFLAGS) -o svwaitdown \
+		svwaitdown.o support/unix.a support/byte.a support/time.a
+
 djb-publicdomain:
 	( cd support ; make )