1996-05-04 02:43:35 +00:00
|
|
|
--- client/Makefile.FreeBSD.orig Mon Oct 9 14:34:12 1995
|
|
|
|
+++ client/Makefile.FreeBSD Thu Jan 11 11:48:49 1996
|
|
|
|
@@ -1,6 +1,9 @@
|
|
|
|
INCLUDE = ../server/dhcp.h dhcpc.h common.h ../server/common_subr.h dhcpc_subr.h
|
|
|
|
OBJ = dhcpc_subr.o flushroute.o getmac.o common_subr.o dhcpc.o
|
|
|
|
-LDFLAGS =
|
|
|
|
+LDFLAGS = -lkvm
|
|
|
|
+SBIN= ${PREFIX}/sbin
|
|
|
|
+LIBEXEC= ${PREFIX}/libexec
|
|
|
|
+MAN= ${PREFIX}/man
|
|
|
|
|
|
|
|
CC = gcc
|
|
|
|
-CFLAGS = -Wall -g -I. -I../server #-DDEBUG
|
|
|
|
+CFLAGS += -Wall -I. -I../server #-DDEBUG
|
|
|
|
@@ -9,6 +12,11 @@
|
|
|
|
|
|
|
|
dhcpc: ${OBJ}
|
|
|
|
${CC} ${CFLAGS} -o dhcpc ${OBJ} ${LDFLAGS}
|
|
|
|
+
|
|
|
|
+install: dhcpc
|
1996-05-20 08:08:00 +00:00
|
|
|
+ ${INSTALL} -c -m 755 -s dhcpc ${SBIN}/dhcpc
|
1996-05-04 02:43:35 +00:00
|
|
|
+ cp dhcpc.8 ${MAN}/man8/dhcpc.8
|
1996-05-20 08:08:00 +00:00
|
|
|
+ gzip -9nf ${MAN}/man8/dhcpc.8
|
1996-05-04 02:43:35 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~ *.o *core* dhcpc
|