mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
b98a2e6435
interface stuff (and if_var.h). Closes pr3161 Submitted by: MIHIRA Yoshiro <sanpei@yy.cs.keio.ac.jp> Obtained from: pr3161
30 lines
772 B
Plaintext
30 lines
772 B
Plaintext
--- client/Makefile.FreeBSD.orig Mon Oct 9 14:34:12 1995
|
|
+++ client/Makefile.FreeBSD Fri Mar 28 17:25:06 1997
|
|
@@ -1,14 +1,22 @@
|
|
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
|
|
-#CC = cc
|
|
+#CC = gcc
|
|
+CFLAGS += -Wall -I. -I../server #-DDEBUG
|
|
+CC = cc
|
|
#CFLAGS = -g -I. -I../server #-DDEBUG
|
|
|
|
dhcpc: ${OBJ}
|
|
${CC} ${CFLAGS} -o dhcpc ${OBJ} ${LDFLAGS}
|
|
+
|
|
+install: dhcpc
|
|
+ ${INSTALL} -c -m 755 -s dhcpc ${SBIN}/dhcpc
|
|
+ cp dhcpc.8 ${MAN}/man8/dhcpc.8
|
|
+ gzip -9nf ${MAN}/man8/dhcpc.8
|
|
|
|
clean:
|
|
rm -f *~ *.o *core* dhcpc
|