From 71905435a4065c1d5fe5394cadfb2309bf7a2c60 Mon Sep 17 00:00:00 2001 From: gwr Date: Fri, 27 May 1994 22:05:44 +0000 Subject: [PATCH] New makefiles using subdirectories (thanks to Theo). --- libexec/bootpd/Makefile | 52 ++++------------------------------------- 1 file changed, 4 insertions(+), 48 deletions(-) diff --git a/libexec/bootpd/Makefile b/libexec/bootpd/Makefile index 00f228b7fca0..c62593da4c63 100644 --- a/libexec/bootpd/Makefile +++ b/libexec/bootpd/Makefile @@ -1,50 +1,6 @@ -# The next few lines may be uncommented and changed to alter the default -# filenames bootpd uses for its configuration and dump files. -#CONFFILE=-DCONFIG_FILE=\"/usr/etc/bootptab\" -DUMPFILE=-DDUMPTAB_FILE=\"/var/run/bootpd.dump\" -FILESPECS=${CONFFILE} ${DUMPFILE} +# bootp/Makefile +# $Id: Makefile,v 1.3 1994/05/27 22:05:44 gwr Exp $ -# Remove the -DVEND_CMU if you don't wish to support the "CMU vendor format" -# in addition to the RFC1048 format. - -PROG= bootpd -# Note: PRIVATE=static is defined by default in bootpd.h -CFLAGS+=-DETC_ETHERS -DSYSLOG -DDEBUG -DVEND_CMU ${FILESPECS} -SRCS= bootpd.c dovend.c readfile.c hash.c dumptab.c \ - lookup.c getif.c hwaddr.c report.c tzone.c -MAN5= bootptab.0 -MAN8= bootpd.0 - -MLINKS= bootpd.8 bootpgw.8 - -BINDIR=/usr/sbin - -.include - -# Additional targets (bootpd is done automatically) -all: bootpef bootpef.0 bootpgw bootptest bootptest.0 -CLEANFILES+= bootpef bootpgw bootptest - -bootpef: bootpef.o dovend.o readfile.o hash.o dumptab.o \ - lookup.o hwaddr.o report.o tzone.o - ${CC} -o ${.TARGET} ${CFLAGS} ${LDFLAGS} ${.ALLSRC} ${LIBS} - -bootpgw: bootpgw.o getif.o hwaddr.o report.o - ${CC} -o ${.TARGET} ${CFLAGS} ${LDFLAGS} ${.ALLSRC} ${LIBS} - -print-bootp.o : print-bootp.c - ${CC} ${CFLAGS} -DBOOTPTEST -c ${.IMPSRC} - -bootptest: bootptest.o print-bootp.o getif.o getether.o report.o - ${CC} -o ${.TARGET} ${CFLAGS} ${LDFLAGS} ${.ALLSRC} ${LIBS} - -bootpef.0: bootpef.8 -bootptest.0: bootptest.8 - -install: - install ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - bootpef ${DESTDIR}${BINDIR} - install ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - bootpgw ${DESTDIR}${BINDIR} - ${MINSTALL} bootpef.0 ${DESTDIR}${MANDIR}8${MANSUBDIR} +SUBDIR= bootpd bootpgw bootptest bootpef +.include