1997-04-04 02:20:28 +00:00
|
|
|
--- tools/Makefile.FreeBSD.orig Mon Oct 9 15:00:53 1995
|
1997-05-30 18:52:45 +00:00
|
|
|
+++ tools/Makefile.FreeBSD Fri May 30 22:48:22 1997
|
|
|
|
@@ -1,10 +1,19 @@
|
1997-04-04 02:20:28 +00:00
|
|
|
-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
|
|
|
|
+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
|
|
|
|
|
|
|
dhcpm: dhcpm.c ../server/dhcp.h
|
|
|
|
$(CC) $(CFLAGS) dhcpm.c -o dhcpm
|
1997-05-30 18:52:45 +00:00
|
|
|
|
1996-05-04 02:43:35 +00:00
|
|
|
+install: dhcpm
|
1996-05-20 08:08:00 +00:00
|
|
|
+ ${INSTALL} -c -m 755 -s dhcpm ${SBIN}/dhcpm
|
1997-05-30 18:52:45 +00:00
|
|
|
+ ${CP} dhcpm.8 ${MAN}/man8/dhcpm.8
|
|
|
|
+
|
1996-05-04 02:43:35 +00:00
|
|
|
clean:
|
1997-05-30 18:52:45 +00:00
|
|
|
- rm -rf *~ *.o *core* dhcpm
|
|
|
|
+ ${RM} -rf *~ *.o *core* dhcpm
|