Add dependencies on libraries to DPADD.

Move another include of bsd.prog.mk to the end.
This commit is contained in:
bde 1994-08-28 18:18:19 +00:00
parent aaf0896f6c
commit c8b61fe3e9
2 changed files with 8 additions and 14 deletions

View File

@ -7,12 +7,8 @@ PROG = ncvs
CFLAGS += -I${.CURDIR}/../lib \
-DDIRENT -DSTDC_HEADERS -DPOSIX -DBROKEN_SIGISMEMBER \
-DFTIME_MISSING -DHAVE_TIMEZONE -DUTIME_NULL_MISSING
.if exists(${.CURDIR}/../lib/obj)
LDADD= -L${.CURDIR}/../lib/obj -lcvs
.else
LDADD= -L${.CURDIR}/../lib/ -lcvs
.endif
DPADD+= ${LIBCVS}
LDADD+= -lcvs
.if defined(FREEBSD_DEVELOPER)
CFLAGS+= -DFREEBSD_DEVELOPER
@ -32,5 +28,6 @@ MAN5= cvs.5
check:
@echo `pwd` ${.CURDIR}
.include <bsd.prog.mk>
.include "../../Makefile.inc"
.include "../Makefile.inc"
.include <bsd.prog.mk>

View File

@ -1,12 +1,9 @@
PROG = mkmodules
SRCS = mkmodules.c
CFLAGS += -I${.CURDIR}/../cvs -I${.CURDIR}/../lib
DPADD+= ${LIBCVS}
LDADD+= -lcvs
.if exists(${.CURDIR}/../lib/obj)
LDADD= -L${.CURDIR}/../lib/obj -lcvs
.else
LDADD= -L${.CURDIR}/../lib/ -lcvs
.endif
.include <bsd.prog.mk>
.include "../../Makefile.inc"
.include "../Makefile.inc"
.include <bsd.prog.mk>