1997-04-04 02:20:28 +00:00
|
|
|
--- relay/Makefile.FreeBSD.orig Mon Oct 9 15:09:37 1995
|
1997-05-30 18:52:45 +00:00
|
|
|
+++ relay/Makefile.FreeBSD Fri May 30 22:47:02 1997
|
|
|
|
@@ -1,17 +1,27 @@
|
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
|
|
|
|
+#CC = gcc
|
1996-05-04 02:43:35 +00:00
|
|
|
+CFLAGS += -Wall -I. -I../server
|
1997-04-04 02:20:28 +00:00
|
|
|
+CC = cc
|
1996-05-04 02:43:35 +00:00
|
|
|
#CFLAGS = -g -I. -I../server
|
|
|
|
-LDFLAGS =
|
|
|
|
+LDFLAGS = -lkvm
|
|
|
|
+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
|
|
|
|
|
|
|
relay: ${OBJ}
|
|
|
|
${CC} ${CFLAGS} -o relay ${OBJ} ${LDFLAGS}
|
1997-05-30 18:52:45 +00:00
|
|
|
|
1996-05-04 02:43:35 +00:00
|
|
|
+install: relay
|
1996-05-20 08:08:00 +00:00
|
|
|
+ ${INSTALL} -c -m 755 -s relay ${SBIN}/relay
|
1997-05-30 18:52:45 +00:00
|
|
|
+ ${CP} relay.8 ${MAN}/man8/relay.8
|
|
|
|
+ ${CP} dhcpdb.server.5 ${MAN}/man5/dhcpdb.server.5
|
|
|
|
+
|
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
|
1997-05-30 18:52:45 +00:00
|
|
|
interface.o: ../server/interface.c common.h
|
|
|
|
getmac.o: ../server/getmac.c
|
|
|
|
|
|
|
|
clean:
|
|
|
|
- rm -f *~ *.o *core* relay
|
|
|
|
+ ${RM} -f *~ *.o *core* relay
|