aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1997-09-16 14:12:05 +0000
committerErik Troan <ewt@redhat.com>1997-09-16 14:12:05 +0000
commitced9dffda28f1ec2b060f3e419cf3c6b964b03a1 (patch)
treeda3f56c24861ddc77e2910291c71adc12dca136b /src/Makefile
downloadinitscripts-ced9dffda28f1ec2b060f3e419cf3c6b964b03a1.tar
initscripts-ced9dffda28f1ec2b060f3e419cf3c6b964b03a1.tar.gz
initscripts-ced9dffda28f1ec2b060f3e419cf3c6b964b03a1.tar.bz2
initscripts-ced9dffda28f1ec2b060f3e419cf3c6b964b03a1.tar.xz
initscripts-ced9dffda28f1ec2b060f3e419cf3c6b964b03a1.zip
Initial revision
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 00000000..b3324ef6
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,26 @@
+CFLAGS+=-Wall
+
+PROGS=usernetctl doexec netreport testd usleep
+
+all: $(PROGS)
+
+clean:
+ rm -f $(PROGS)
+
+install:
+ mkdir -p $(ROOT)/bin $(ROOT)/usr/sbin $(ROOT)/usr/man/man1
+ install -o 0 -g 0 -s -m 755 doexec $(ROOT)/bin/doexec
+ install -o 0 -g 0 -s -m 755 usleep $(ROOT)/bin/usleep
+ install -o 0 -g 0 -s -m 4755 usernetctl $(ROOT)/usr/sbin/usernetctl
+ install -o 0 -g 0 -s -m 2755 netreport $(ROOT)/sbin/netreport
+ install -m 644 doexec.1 $(ROOT)/usr/man/man1
+ install -m 644 netreport.1 $(ROOT)/usr/man/man1
+ install -m 644 usleep.1 $(ROOT)/usr/man/man1
+ install -m 644 usernetctl.1 $(ROOT)/usr/man/man1
+
+# this daemon and initscript are useful for testing the up/down/status stuff
+# not installed by default, only comes from sources.
+install-test:
+ install -o 0 -g 0 -s -m 755 testd $(ROOT)/usr/sbin/testd
+ install -o 0 -g 0 -m 755 testdinit $(ROOT)/etc/rc.d/init.d/testd
+