mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
fdf92566aa
Install docs and sample files into ${PREFIX}/share/{doc,examples}/dhcp respectively. Submitted-by: sanpei@yy.cs.keio.ac.jp
27 lines
606 B
Plaintext
27 lines
606 B
Plaintext
--- tools/Makefile.FreeBSD.orig Mon Oct 9 15:00:53 1995
|
|
+++ tools/Makefile.FreeBSD Fri May 30 22:48:22 1997
|
|
@@ -1,10 +1,19 @@
|
|
-CC = gcc
|
|
-CFLAGS = -g -Wall -I. -I../server
|
|
-#CC = cc
|
|
+#CC = gcc
|
|
+CFLAGS += -Wall -I. -I../server
|
|
+CC = cc
|
|
#CFLAGS = -g -I. -I../server
|
|
+SBIN= ${PREFIX}/sbin
|
|
+LIBEXEC= ${PREFIX}/libexec
|
|
+MAN= ${PREFIX}/man
|
|
+CP= /bin/cp
|
|
+RM= /bin/rm
|
|
|
|
dhcpm: dhcpm.c ../server/dhcp.h
|
|
$(CC) $(CFLAGS) dhcpm.c -o dhcpm
|
|
|
|
+install: dhcpm
|
|
+ ${INSTALL} -c -m 755 -s dhcpm ${SBIN}/dhcpm
|
|
+ ${CP} dhcpm.8 ${MAN}/man8/dhcpm.8
|
|
+
|
|
clean:
|
|
- rm -rf *~ *.o *core* dhcpm
|
|
+ ${RM} -rf *~ *.o *core* dhcpm
|