Fixed "make checkdpadd" (missing library dependencies).
Approved by: re (kensmith)
This commit is contained in:
parent
63ebea533e
commit
71ce49ae8d
@ -23,6 +23,7 @@ PRECIOUSLIB=
|
||||
#
|
||||
# Only link with static libgcc.a (no libgcc_eh.a).
|
||||
#
|
||||
DPADD+= ${LIBGCC}
|
||||
LDFLAGS+= -nodefaultlibs
|
||||
LDADD+= -lgcc
|
||||
|
||||
|
@ -120,11 +120,7 @@ MINUSLPAM+= -lypclnt
|
||||
LIBPANEL?= ${DESTDIR}${LIBDIR}/libpanel.a
|
||||
LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a
|
||||
LIBPMC?= ${DESTDIR}${LIBDIR}/libpmc.a
|
||||
.if defined(DEFAULT_THREAD_LIB)
|
||||
LIBPTHREAD?= ${DESTDIR}${LIBDIR}/${DEFAULT_THREAD_LIB}.a
|
||||
.else
|
||||
LIBPTHREAD?= ${DESTDIR}${LIBDIR}/libthr.a
|
||||
.endif
|
||||
LIBPTHREAD?= ${DESTDIR}${LIBDIR}/libpthread.a
|
||||
LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a
|
||||
LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a
|
||||
LIBROKEN?= ${DESTDIR}${LIBDIR}/libroken.a
|
||||
|
@ -40,8 +40,12 @@ PROG= ${PROG_CXX}
|
||||
|
||||
# If there are Objective C sources, link with Objective C libraries.
|
||||
.if !empty(SRCS:M*.m)
|
||||
OBJCLIBS?= -lobjc -lpthread
|
||||
.if defined(OBJCLIBS)
|
||||
LDADD+= ${OBJCLIBS}
|
||||
.else
|
||||
DPADD+= ${LIBOBJC} ${LIBPTHREAD}
|
||||
LDADD+= -lobjc -lpthread
|
||||
.endif
|
||||
.endif
|
||||
|
||||
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
|
||||
|
@ -11,7 +11,7 @@ CFLAGS+= -I${.CURDIR}
|
||||
WARNS?= 6
|
||||
DEBUG_FLAGS= -g
|
||||
|
||||
DPADD= ${LIBBLUETOOTH} ${LIBSDP}
|
||||
DPADD= ${LIBBLUETOOTH} ${LIBUSBHID}
|
||||
LDADD= -lbluetooth -lusbhid
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -12,7 +12,7 @@ kernconf.c: kernconf.tmpl
|
||||
WARNS?= 6
|
||||
CFLAGS+= -I. -I${.CURDIR}
|
||||
|
||||
DPADD= ${LIBL}
|
||||
DPADD= ${LIBL} ${LIBSBUF}
|
||||
LDADD= -ll -lsbuf
|
||||
|
||||
CLEANFILES+= kernconf.c
|
||||
|
@ -5,7 +5,7 @@
|
||||
PROG= pmcstat
|
||||
MAN= pmcstat.8
|
||||
|
||||
DPADD= ${LIBPMC} ${LIBM}
|
||||
DPADD= ${LIBKVM} ${LIBPMC} ${LIBM}
|
||||
LDADD= -lkvm -lpmc -lm
|
||||
|
||||
WARNS?= 6
|
||||
|
Loading…
Reference in New Issue
Block a user