1998-05-02 15:15:28 +00:00
|
|
|
--- relay/Makefile.FreeBSD.orig Tue Feb 25 17:48:32 1997
|
|
|
|
+++ relay/Makefile.FreeBSD Wed Apr 22 01:46:06 1998
|
|
|
|
@@ -1,12 +1,12 @@
|
1997-04-04 02:20:28 +00:00
|
|
|
OBJ = relay.o getmac.o common_subr.o interface.o
|
|
|
|
-CC = gcc
|
1996-05-04 02:43:35 +00:00
|
|
|
-CFLAGS = -g -Wall -I. -I../server
|
1997-04-04 02:20:28 +00:00
|
|
|
-#CC = cc
|
1998-05-02 15:15:28 +00:00
|
|
|
-#CFLAGS = -g -I. -I../server
|
|
|
|
-LDFLAGS = -lkvm
|
|
|
|
-SBIN = /usr/local/sbin
|
|
|
|
-LIBEXEC = /usr/local/libexec
|
|
|
|
-MAN = /usr/local/man
|
1997-04-04 02:20:28 +00:00
|
|
|
+#CC = gcc
|
1998-05-02 15:15:28 +00:00
|
|
|
+#CFLAGS = -g -Wall -I. -I../server
|
1997-04-04 02:20:28 +00:00
|
|
|
+CC = cc
|
1998-05-02 15:15:28 +00:00
|
|
|
+CFLAGS += -Wall -I. -I../server
|
|
|
|
+LDFLAGS =
|
|
|
|
+SBIN = ${PREFIX}/sbin
|
|
|
|
+LIBEXEC = ${PREFIX}/libexec
|
|
|
|
+MAN = ${PREFIX}/man
|
1996-05-04 02:43:35 +00:00
|
|
|
|
|
|
|
relay: ${OBJ}
|
|
|
|
${CC} ${CFLAGS} -o relay ${OBJ} ${LDFLAGS}
|
1998-05-02 15:15:28 +00:00
|
|
|
@@ -14,9 +14,7 @@
|
|
|
|
install: relay
|
|
|
|
${INSTALL} -m 755 -s relay ${SBIN}/relay
|
|
|
|
cp relay.8 ${MAN}/man8/relay.8
|
|
|
|
- gzip ${MAN}/man8/relay.8
|
|
|
|
cp dhcpdb.server.5 ${MAN}/man5/dhcpdb.server.5
|
|
|
|
- gzip ${MAN}/man5/dhcpdb.server.5
|
1997-05-30 18:52:45 +00:00
|
|
|
|
1996-05-04 02:43:35 +00:00
|
|
|
relay.o: relay.c common.h ../server/dhcp.h ../server/common_subr.h
|
|
|
|
common_subr.o: ../server/common_subr.c ../server/dhcp.h common.h ../server/common_subr.h
|