1997-04-04 02:20:28 +00:00
|
|
|
--- server/Makefile.FreeBSD.orig Mon Nov 6 16:18:41 1995
|
1997-05-30 18:52:45 +00:00
|
|
|
+++ server/Makefile.FreeBSD Fri May 30 22:47:17 1997
|
|
|
|
@@ -1,16 +1,27 @@
|
1996-05-04 02:43:35 +00:00
|
|
|
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
|
1997-05-30 18:52:45 +00:00
|
|
|
+CP= /bin/cp
|
|
|
|
+RM= /bin/rm
|
1996-05-04 02:43:35 +00:00
|
|
|
|
|
|
|
dhcps: ${OBJ}
|
|
|
|
${CC} ${CFLAGS} -o dhcps ${OBJ} ${LDFLAGS}
|
1997-05-30 18:52:45 +00:00
|
|
|
|
1996-05-04 02:43:35 +00:00
|
|
|
+install: dhcps
|
1996-05-20 08:08:00 +00:00
|
|
|
+ ${INSTALL} -c -m 755 -s dhcps ${SBIN}/dhcps
|
1997-05-30 18:52:45 +00:00
|
|
|
+ ${CP} dhcpdb.pool.5 ${MAN}/man5/dhcpdb.pool.5
|
|
|
|
+ ${CP} dhcpdb.relay.5 ${MAN}/man5/dhcpdb.relay.5
|
|
|
|
+ ${CP} dhcps.8 ${MAN}/man8/dhcps.8
|
|
|
|
+
|
1996-05-04 02:43:35 +00:00
|
|
|
clean:
|
1997-05-30 18:52:45 +00:00
|
|
|
- rm -f *~ *.o *core* dhcps
|
|
|
|
+ ${RM} -f *~ *.o *core* dhcps
|
|
|
|
|
|
|
|
dhcps.o: dhcps.c dhcp.h common.h common_subr.h hash.h dhcps.h
|
|
|
|
database.o: database.c dhcp.h common.h hash.h database.h
|