mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Convert mt(1) and libmt to LIBADD
While here fix missing link to libbsdxml for libmt Fix overlinking in mt(1) Make add an indirect libmt dependency on bsdxml to allow static linking if needed
This commit is contained in:
parent
fe1d0c2dae
commit
32e5044deb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281332
@ -5,8 +5,7 @@ SHLIBDIR?= /lib
|
||||
SRCS= mtlib.c
|
||||
INCS= mtlib.h
|
||||
|
||||
DPADD= ${LIBSBUF}
|
||||
LDADD= -lsbuf
|
||||
LIBADD= sbuf bsdxml
|
||||
|
||||
MAN= mt.3
|
||||
|
||||
|
@ -111,6 +111,7 @@ _LIBRARIES= \
|
||||
md \
|
||||
memstat \
|
||||
mp \
|
||||
mt \
|
||||
nandfs \
|
||||
ncurses \
|
||||
ncursesw \
|
||||
@ -199,6 +200,7 @@ _DP_proc+= ctf
|
||||
_DP_mp= crypto
|
||||
_DP_memstat= kvm
|
||||
_DP_magic= z
|
||||
_DP_mt= bsdxml
|
||||
_DP_ldns= crypto
|
||||
.if ${MK_OPENSSL} != "no"
|
||||
_DP_fetch= ssl crypto
|
||||
@ -259,6 +261,9 @@ LDADD_atf_cxx+= ${LDADD_atf_c}
|
||||
DPADD_ipf+= ${DPADD_kvm}
|
||||
LDADD_ipf+= ${LDADD_kvm}
|
||||
|
||||
DPADD_mt+= ${DPADD_sbuf}
|
||||
LDADD_mt+= ${LDADD_sbuf}
|
||||
|
||||
# The following depends on libraries which are using pthread
|
||||
DPADD_hdb+= ${DPADD_pthread}
|
||||
LDADD_hdb+= ${LDADD_pthread}
|
||||
|
@ -2,7 +2,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= mt
|
||||
DPADD= ${LIBMT} ${LIBSBUF} ${LIBBSDXML}
|
||||
LDADD= -lmt -lsbuf -lbsdxml
|
||||
LIBADD= mt
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user