move (using repository copy) bootp{d,ef,gw,test} into a common hierarchy
with a libcommon - to stop unnecessary recompilation of the source. add Makefile* to suit.
This commit is contained in:
parent
27ef26a468
commit
7b9e551896
7
usr.sbin/bootp/Makefile
Normal file
7
usr.sbin/bootp/Makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# $NetBSD: Makefile,v 1.1 1998/03/15 01:13:24 lukem Exp $
|
||||||
|
|
||||||
|
SUBDIR= common bootpd bootpef bootpgw bootptest
|
||||||
|
|
||||||
|
all-bootpd all-bootpef all-bootpgw all-bootptest: all-common
|
||||||
|
|
||||||
|
.include <bsd.subdir.mk>
|
11
usr.sbin/bootp/Makefile.inc
Normal file
11
usr.sbin/bootp/Makefile.inc
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# $NetBSD: Makefile.inc,v 1.1 1998/03/15 01:13:25 lukem Exp $
|
||||||
|
|
||||||
|
LIBCOMMON != cd ${.CURDIR}/../common;\
|
||||||
|
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
|
||||||
|
CPPFLAGS+=-I${.CURDIR}/../common
|
||||||
|
DPADD+= ${LIBCOMMON}/libcommon.a
|
||||||
|
LDADD+= -L${LIBCOMMON} -lcommon
|
||||||
|
|
||||||
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||||
|
.include "${.CURDIR}/../../Makefile.inc"
|
||||||
|
.endif
|
@ -1,11 +1,7 @@
|
|||||||
# bootpd/Makefile
|
# $NetBSD: Makefile,v 1.6 1998/03/15 01:13:25 lukem Exp $
|
||||||
# $NetBSD: Makefile,v 1.5 1998/03/14 04:39:53 lukem Exp $
|
|
||||||
|
|
||||||
PROG= bootpd
|
PROG= bootpd
|
||||||
CPPFLAGS+= -DETC_ETHERS -DSYSLOG -DDEBUG -DVEND_CMU
|
CPPFLAGS+= -DVEND_CMU
|
||||||
|
|
||||||
SRCS= bootpd.c dovend.c readfile.c hash.c dumptab.c \
|
|
||||||
lookup.c getif.c hwaddr.c report.c tzone.c
|
|
||||||
|
|
||||||
MAN= bootpd.8 bootptab.5
|
MAN= bootpd.8 bootptab.5
|
||||||
MLINKS= bootpd.8 bootpgw.8
|
MLINKS= bootpd.8 bootpgw.8
|
||||||
|
6
usr.sbin/bootp/bootpef/Makefile
Normal file
6
usr.sbin/bootp/bootpef/Makefile
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# $NetBSD: Makefile,v 1.1 1998/03/15 01:13:25 lukem Exp $
|
||||||
|
|
||||||
|
PROG= bootpef
|
||||||
|
MAN= bootpef.8
|
||||||
|
|
||||||
|
.include <bsd.prog.mk>
|
6
usr.sbin/bootp/bootpgw/Makefile
Normal file
6
usr.sbin/bootp/bootpgw/Makefile
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# $NetBSD: Makefile,v 1.1 1998/03/15 01:13:25 lukem Exp $
|
||||||
|
|
||||||
|
PROG= bootpgw
|
||||||
|
NOMAN=
|
||||||
|
|
||||||
|
.include <bsd.prog.mk>
|
7
usr.sbin/bootp/bootptest/Makefile
Normal file
7
usr.sbin/bootp/bootptest/Makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# $NetBSD: Makefile,v 1.1 1998/03/15 01:13:25 lukem Exp $
|
||||||
|
|
||||||
|
PROG= bootptest
|
||||||
|
SRCS= bootptest.c print-bootp.c getether.c
|
||||||
|
MAN= bootptest.8
|
||||||
|
|
||||||
|
.include <bsd.prog.mk>
|
14
usr.sbin/bootp/common/Makefile
Normal file
14
usr.sbin/bootp/common/Makefile
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# $NetBSD: Makefile,v 1.1 1998/03/15 01:13:25 lukem Exp $
|
||||||
|
|
||||||
|
LIB= common
|
||||||
|
SRCS= dovend.c dumptab.c getif.c hash.c hwaddr.c lookup.c readfile.c \
|
||||||
|
report.c tzone.c
|
||||||
|
CPPFLAGS+= -DETC_ETHERS -DSYSLOG -DDEBUG
|
||||||
|
|
||||||
|
NOPROFILE= noprofile
|
||||||
|
NOPIC= nopic
|
||||||
|
|
||||||
|
# only needed during build
|
||||||
|
libinstall::
|
||||||
|
|
||||||
|
.include <bsd.lib.mk>
|
Loading…
Reference in New Issue
Block a user