1997-04-04 02:20:28 +00:00
|
|
|
--- server/Makefile.FreeBSD.orig Mon Nov 6 16:18:41 1995
|
|
|
|
+++ server/Makefile.FreeBSD Fri Mar 28 17:26:44 1997
|
1996-05-04 02:43:35 +00:00
|
|
|
@@ -1,13 +1,25 @@
|
|
|
|
OBJ = dhcps.o database.o hash.o ctime.o getmac.o common_subr.o \
|
|
|
|
interface.o delarp.o
|
|
|
|
-LDFLAGS =
|
1997-04-04 02:20:28 +00:00
|
|
|
-CC = gcc
|
1996-05-04 02:43:35 +00:00
|
|
|
-CFLAGS = -g -Wall #-DCOMPAT_RFC1541 #-DNOICMPCHK
|
1997-04-04 02:20:28 +00:00
|
|
|
-#CC = cc
|
|
|
|
+LDFLAGS = -lkvm
|
|
|
|
+#CC = gcc
|
1996-05-04 02:43:35 +00:00
|
|
|
+CFLAGS += -Wall #-DCOMPAT_RFC1541 #-DNOICMPCHK
|
1997-04-04 02:20:28 +00:00
|
|
|
+CC = cc
|
1996-05-04 02:43:35 +00:00
|
|
|
#CFLAGS = -g #-DCOMPAT_RFC1541 #-DNOICMPCHK
|
|
|
|
+SBIN= ${PREFIX}/sbin
|
|
|
|
+LIBEXEC= ${PREFIX}/libexec
|
|
|
|
+MAN= ${PREFIX}/man
|
|
|
|
|
|
|
|
dhcps: ${OBJ}
|
|
|
|
${CC} ${CFLAGS} -o dhcps ${OBJ} ${LDFLAGS}
|
|
|
|
+
|
|
|
|
+install: dhcps
|
1996-05-20 08:08:00 +00:00
|
|
|
+ ${INSTALL} -c -m 755 -s dhcps ${SBIN}/dhcps
|
1996-05-04 02:43:35 +00:00
|
|
|
+ cp dhcpdb.pool.5 ${MAN}/man5/dhcpdb.pool.5
|
1996-05-20 08:08:00 +00:00
|
|
|
+ gzip -9nf ${MAN}/man5/dhcpdb.pool.5
|
1996-05-04 02:43:35 +00:00
|
|
|
+ cp dhcpdb.relay.5 ${MAN}/man5/dhcpdb.relay.5
|
1996-05-20 08:08:00 +00:00
|
|
|
+ gzip -9nf ${MAN}/man5/dhcpdb.relay.5
|
1996-05-04 02:43:35 +00:00
|
|
|
+ cp dhcps.8 ${MAN}/man8/dhcps.8
|
1996-05-20 08:08:00 +00:00
|
|
|
+ gzip -9nf ${MAN}/man8/dhcps.8
|
1996-05-04 02:43:35 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~ *.o *core* dhcps
|