mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +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
855 B
Plaintext
30 lines
855 B
Plaintext
--- relay/Makefile.FreeBSD.orig Mon Oct 9 15:09:37 1995
|
|
+++ relay/Makefile.FreeBSD Fri Mar 28 17:26:07 1997
|
|
@@ -1,12 +1,22 @@
|
|
OBJ = relay.o getmac.o common_subr.o interface.o
|
|
-CC = gcc
|
|
-CFLAGS = -g -Wall -I. -I../server
|
|
-#CC = cc
|
|
+#CC = gcc
|
|
+CFLAGS += -Wall -I. -I../server
|
|
+CC = cc
|
|
#CFLAGS = -g -I. -I../server
|
|
-LDFLAGS =
|
|
+LDFLAGS = -lkvm
|
|
+SBIN= ${PREFIX}/sbin
|
|
+LIBEXEC= ${PREFIX}/libexec
|
|
+MAN= ${PREFIX}/man
|
|
|
|
relay: ${OBJ}
|
|
${CC} ${CFLAGS} -o relay ${OBJ} ${LDFLAGS}
|
|
+
|
|
+install: relay
|
|
+ ${INSTALL} -c -m 755 -s relay ${SBIN}/relay
|
|
+ cp relay.8 ${MAN}/man8/relay.8
|
|
+ gzip -9nf ${MAN}/man8/relay.8
|
|
+ cp dhcpdb.server.5 ${MAN}/man5/dhcpdb.server.5
|
|
+ gzip -9nf ${MAN}/man5/dhcpdb.server.5
|
|
|
|
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
|