mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add dependencies on libraries to DPADD.
Move another include of bsd.prog.mk to the end.
This commit is contained in:
parent
b8d38c6e17
commit
0641ff3b3d
2 changed files with 8 additions and 14 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue