blob: 1e285ade8b5cdeb3c43e73b5190587926ed9dc24 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- ../rinetd.orig/Makefile Mon Mar 1 13:41:50 1999
+++ Makefile Sat Jun 12 12:54:48 1999
@@ -1,9 +1,14 @@
-CFLAGS=-DLINUX -g
+CFLAGS+=-I. -DLINUX
-rinetd: rinetd.o match.o
- gcc rinetd.o match.o -o rinetd
+all: rinetd
+
+rinetd: rinetd.o match.o getopt.o
+ cc ${CFLAGS} rinetd.o match.o getopt.o -o rinetd
+
+getopt.o:
+ cc ${CFLAGS} -c getopt.c
install: rinetd
- install -m 700 rinetd /usr/sbin
- install -m 644 rinetd.8 /usr/man/man8
+ install -C -o root -g wheel -m 755 rinetd ${PREFIX}/sbin
+ install -C -o root -g wheel -m 644 rinetd.8 ${PREFIX}/man/man8
|