1998-05-02 15:15:28 +00:00
|
|
|
--- server/Makefile.FreeBSD.orig Tue Jun 11 13:05:48 1996
|
|
|
|
+++ server/Makefile.FreeBSD Wed Apr 22 01:46:55 1998
|
|
|
|
@@ -1,13 +1,13 @@
|
|
|
|
OBJ = dhcps.o database.o hash.o getmac.o common_subr.o \
|
1996-05-04 02:43:35 +00:00
|
|
|
interface.o delarp.o
|
1998-05-02 15:15:28 +00:00
|
|
|
-LDFLAGS = -lkvm
|
1997-04-04 02:20:28 +00:00
|
|
|
-CC = gcc
|
1998-05-02 15:15:28 +00:00
|
|
|
-CFLAGS = -g -Wall -I. #-DCOMPAT_RFC1541 #-DNOICMPCHK
|
1997-04-04 02:20:28 +00:00
|
|
|
-#CC = cc
|
1998-05-02 15:15:28 +00:00
|
|
|
-#CFLAGS = -g -I. #-DCOMPAT_RFC1541 #-DNOICMPCHK
|
|
|
|
-SBIN = /usr/local/sbin
|
|
|
|
-LIBEXEC = /usr/local/libexec
|
|
|
|
-MAN = /usr/local/man
|
|
|
|
+LDFLAGS =
|
1997-04-04 02:20:28 +00:00
|
|
|
+#CC = gcc
|
1998-05-02 15:15:28 +00:00
|
|
|
+#CFLAGS = -g -Wall -I. #-DCOMPAT_RFC1541 #-DNOICMPCHK
|
1997-04-04 02:20:28 +00:00
|
|
|
+CC = cc
|
1998-05-02 15:15:28 +00:00
|
|
|
+CFLAGS += -Wall -I. #-DCOMPAT_RFC1541 #-DNOICMPCHK
|
|
|
|
+SBIN = ${PREFIX}/sbin
|
|
|
|
+LIBEXEC = ${PREFIX}/libexec
|
|
|
|
+MAN = ${PREFIX}/man
|
1996-05-04 02:43:35 +00:00
|
|
|
|
|
|
|
dhcps: ${OBJ}
|
|
|
|
${CC} ${CFLAGS} -o dhcps ${OBJ} ${LDFLAGS}
|
1998-05-02 15:15:28 +00:00
|
|
|
@@ -15,11 +15,8 @@
|
|
|
|
install: dhcps
|
|
|
|
${INSTALL} -m 755 -s dhcps ${SBIN}/dhcps
|
|
|
|
cp dhcpdb.pool.5 ${MAN}/man5/dhcpdb.pool.5
|
|
|
|
- gzip ${MAN}/man5/dhcpdb.pool.5
|
|
|
|
cp dhcpdb.relay.5 ${MAN}/man5/dhcpdb.relay.5
|
|
|
|
- gzip ${MAN}/man5/dhcpdb.relay.5
|
|
|
|
cp dhcps.8 ${MAN}/man8/dhcps.8
|
|
|
|
- gzip ${MAN}/man8/dhcps.8
|
1997-05-30 18:52:45 +00:00
|
|
|
|
1996-05-04 02:43:35 +00:00
|
|
|
clean:
|
1998-05-02 15:15:28 +00:00
|
|
|
rm -f *~ *.o *core* dhcps
|