1998-05-02 15:15:28 +00:00
|
|
|
--- client/Makefile.FreeBSD.orig Fri Apr 11 03:50:34 1997
|
|
|
|
+++ client/Makefile.FreeBSD Wed Apr 22 01:46:22 1998
|
|
|
|
@@ -1,15 +1,15 @@
|
1996-05-04 02:43:35 +00:00
|
|
|
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
|
|
|
|
|
1997-04-04 02:20:28 +00:00
|
|
|
-CC = gcc
|
1998-05-02 15:15:28 +00:00
|
|
|
-CFLAGS = -Wall -g -I. -I../server -DRETRY_FOREVER #-DDEBUG
|
1997-04-04 02:20:28 +00:00
|
|
|
-#CC = cc
|
1998-05-02 15:15:28 +00:00
|
|
|
-#CFLAGS = -g -I. -I../server -DRETRY_FOREVER #-DDEBUG
|
|
|
|
-LDFLAGS = -lkvm
|
1997-04-04 02:20:28 +00:00
|
|
|
+#CC = gcc
|
1998-05-02 15:15:28 +00:00
|
|
|
+#CFLAGS = -Wall -g -I. -I../server -DRETRY_FOREVER #-DDEBUG
|
1997-04-04 02:20:28 +00:00
|
|
|
+CC = cc
|
1998-05-02 15:15:28 +00:00
|
|
|
+CFLAGS += -Wall -I. -I../server -DRETRY_FOREVER #-DDEBUG
|
|
|
|
+LDFLAGS =
|
|
|
|
|
|
|
|
-BIN = /usr/local/sbin
|
|
|
|
-LIBEXEC = /usr/local/libexec
|
|
|
|
-MAN = /usr/local/man
|
|
|
|
+SBIN = ${PREFIX}/sbin
|
|
|
|
+LIBEXEC = ${PREFIX}/libexec
|
|
|
|
+MAN = ${PREFIX}/man
|
1996-05-04 02:43:35 +00:00
|
|
|
|
|
|
|
dhcpc: ${OBJ}
|
|
|
|
${CC} ${CFLAGS} -o dhcpc ${OBJ} ${LDFLAGS}
|
1998-05-02 15:15:28 +00:00
|
|
|
@@ -17,7 +17,6 @@
|
|
|
|
install: dhcpc
|
|
|
|
${INSTALL} -m 755 -s dhcpc ${SBIN}/dhcpc
|
|
|
|
cp dhcpc.8 ${MAN}/man8/dhcpc.8
|
|
|
|
- gzip ${MAN}/man8/dhcpc.8
|
1997-05-30 18:52:45 +00:00
|
|
|
|
1996-05-04 02:43:35 +00:00
|
|
|
clean:
|
1998-05-02 15:15:28 +00:00
|
|
|
rm -f *~ *.o *core* dhcpc
|