mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
b98a2e6435
interface stuff (and if_var.h). Closes pr3161 Submitted by: MIHIRA Yoshiro <sanpei@yy.cs.keio.ac.jp> Obtained from: pr3161
33 lines
904 B
Plaintext
33 lines
904 B
Plaintext
--- server/Makefile.FreeBSD.orig Mon Nov 6 16:18:41 1995
|
|
+++ server/Makefile.FreeBSD Fri Mar 28 17:26:44 1997
|
|
@@ -1,13 +1,25 @@
|
|
OBJ = dhcps.o database.o hash.o ctime.o getmac.o common_subr.o \
|
|
interface.o delarp.o
|
|
-LDFLAGS =
|
|
-CC = gcc
|
|
-CFLAGS = -g -Wall #-DCOMPAT_RFC1541 #-DNOICMPCHK
|
|
-#CC = cc
|
|
+LDFLAGS = -lkvm
|
|
+#CC = gcc
|
|
+CFLAGS += -Wall #-DCOMPAT_RFC1541 #-DNOICMPCHK
|
|
+CC = cc
|
|
#CFLAGS = -g #-DCOMPAT_RFC1541 #-DNOICMPCHK
|
|
+SBIN= ${PREFIX}/sbin
|
|
+LIBEXEC= ${PREFIX}/libexec
|
|
+MAN= ${PREFIX}/man
|
|
|
|
dhcps: ${OBJ}
|
|
${CC} ${CFLAGS} -o dhcps ${OBJ} ${LDFLAGS}
|
|
+
|
|
+install: dhcps
|
|
+ ${INSTALL} -c -m 755 -s dhcps ${SBIN}/dhcps
|
|
+ cp dhcpdb.pool.5 ${MAN}/man5/dhcpdb.pool.5
|
|
+ gzip -9nf ${MAN}/man5/dhcpdb.pool.5
|
|
+ cp dhcpdb.relay.5 ${MAN}/man5/dhcpdb.relay.5
|
|
+ gzip -9nf ${MAN}/man5/dhcpdb.relay.5
|
|
+ cp dhcps.8 ${MAN}/man8/dhcps.8
|
|
+ gzip -9nf ${MAN}/man8/dhcps.8
|
|
|
|
clean:
|
|
rm -f *~ *.o *core* dhcps
|