bsd.libnames.mk revision 255627
1# $FreeBSD: head/share/mk/bsd.libnames.mk 255627 2013-09-17 07:41:08Z des $
2
3# The include file <bsd.libnames.mk> define library names.
4# Other include files (e.g. bsd.prog.mk, bsd.lib.mk) include this
5# file where necessary.
6
7.if !target(__<bsd.init.mk>__)
8.error bsd.libnames.mk cannot be included directly.
9.endif
10
11LIBCRT0?=	${DESTDIR}${LIBDIR}/crt0.o
12
13LIBALIAS?=	${DESTDIR}${LIBDIR}/libalias.a
14LIBARCHIVE?=	${DESTDIR}${LIBDIR}/libarchive.a
15LIBASN1?=	${DESTDIR}${LIBDIR}/libasn1.a
16LIBATF_C?=	${DESTDIR}${LIBDIR}/libatf-c.a
17LIBATF_CXX?=	${DESTDIR}${LIBDIR}/libatf-c++.a
18LIBATM?=	${DESTDIR}${LIBDIR}/libatm.a
19LIBAUDITD?=	${DESTDIR}${LIBDIR}/libauditd.a
20LIBAVL?=	${DESTDIR}${LIBDIR}/libavl.a
21LIBBEGEMOT?=	${DESTDIR}${LIBDIR}/libbegemot.a
22.if ${MK_BIND_LIBS} != "no"
23LIBBIND?=	${DESTDIR}${LIBDIR}/libbind.a
24LIBBIND9?=	${DESTDIR}${LIBDIR}/libbind9.a
25.endif
26LIBBLUETOOTH?=	${DESTDIR}${LIBDIR}/libbluetooth.a
27LIBBSDXML?=	${DESTDIR}${LIBDIR}/libbsdxml.a
28LIBBSDYML?=	${DESTDIR}${LIBDIR}/libbsdyml.a
29LIBBSM?=	${DESTDIR}${LIBDIR}/libbsm.a
30LIBBSNMP?=	${DESTDIR}${LIBDIR}/libbsnmp.a
31LIBBZ2?=	${DESTDIR}${LIBDIR}/libbz2.a
32.if ${MK_LIBCPLUSPLUS} != "no"
33LIBCXXRT?=	${DESTDIR}${LIBDIR}/libcxxrt.a
34LIBCPLUSPLUS?=	${DESTDIR}${LIBDIR}/libc++.a
35.endif
36LIBC?=		${DESTDIR}${LIBDIR}/libc.a
37LIBC_PIC?=	${DESTDIR}${LIBDIR}/libc_pic.a
38LIBCALENDAR?=	${DESTDIR}${LIBDIR}/libcalendar.a
39LIBCAM?=	${DESTDIR}${LIBDIR}/libcam.a
40LIBCOM_ERR?=	${DESTDIR}${LIBDIR}/libcom_err.a
41LIBCOMPAT?=	${DESTDIR}${LIBDIR}/libcompat.a
42LIBCRYPT?=	${DESTDIR}${LIBDIR}/libcrypt.a
43LIBCRYPTO?=	${DESTDIR}${LIBDIR}/libcrypto.a
44LIBCTF?=	${DESTDIR}${LIBDIR}/libctf.a
45LIBCURSES?=	${DESTDIR}${LIBDIR}/libcurses.a
46LIBDEVINFO?=	${DESTDIR}${LIBDIR}/libdevinfo.a
47LIBDEVSTAT?=	${DESTDIR}${LIBDIR}/libdevstat.a
48LIBDIALOG?=	${DESTDIR}${LIBDIR}/libdialog.a
49LIBDNS?=	${DESTDIR}${LIBDIR}/libdns.a
50LIBDTRACE?=	${DESTDIR}${LIBDIR}/libdtrace.a
51LIBDWARF?=	${DESTDIR}${LIBDIR}/libdwarf.a
52LIBEDIT?=	${DESTDIR}${LIBDIR}/libedit.a
53LIBELF?=	${DESTDIR}${LIBDIR}/libelf.a
54LIBEXECINFO?=	${DESTDIR}${LIBDIR}/libexecinfo.a
55LIBFETCH?=	${DESTDIR}${LIBDIR}/libfetch.a
56LIBFL?=		"don't use LIBFL, use LIBL"
57LIBFORM?=	${DESTDIR}${LIBDIR}/libform.a
58LIBG2C?=	${DESTDIR}${LIBDIR}/libg2c.a
59LIBGCC?=	${DESTDIR}${LIBDIR}/libgcc.a
60LIBGCC_PIC?=	${DESTDIR}${LIBDIR}/libgcc_pic.a
61LIBGEOM?=	${DESTDIR}${LIBDIR}/libgeom.a
62LIBGNUREGEX?=	${DESTDIR}${LIBDIR}/libgnuregex.a
63LIBGSSAPI?=	${DESTDIR}${LIBDIR}/libgssapi.a
64LIBGSSAPI_KRB5?= ${DESTDIR}${LIBDIR}/libgssapi_krb5.a
65LIBHDB?=	${DESTDIR}${LIBDIR}/libhdb.a
66LIBHISTORY?=	${DESTDIR}${LIBDIR}/libhistory.a
67LIBHEIMBASE?=	${DESTDIR}${LIBDIR}/libheimbase.a
68LIBHEIMIPCC?=	${DESTDIR}${LIBPRIVATEDIR}/libheimipcc.a
69LIBHEIMIPCS?=	${DESTDIR}${LIBPRIVATEDIR}/libheimipcs.a
70LIBHEIMNTLM?=	${DESTDIR}${LIBDIR}/libheimntlm.a
71LIBHEIMSQLITE?=	${DESTDIR}${LIBDIR}/libheimsqlite.a
72LIBHX509?=	${DESTDIR}${LIBDIR}/libhx509.a
73LIBIPSEC?=	${DESTDIR}${LIBDIR}/libipsec.a
74.if ${MK_IPX} != "no"
75LIBIPX?=	${DESTDIR}${LIBDIR}/libipx.a
76.endif
77.if ${MK_BIND_LIBS} != "no"
78LIBISC?=	${DESTDIR}${LIBDIR}/libisc.a
79LIBISCCC?=	${DESTDIR}${LIBDIR}/libisccc.a
80LIBISCCFG?=	${DESTDIR}${LIBDIR}/libisccfg.a
81.endif
82LIBJAIL?=	${DESTDIR}${LIBDIR}/libjail.a
83LIBKADM5CLNT?=	${DESTDIR}${LIBDIR}/libkadm5clnt.a
84LIBKADM5SRV?=	${DESTDIR}${LIBDIR}/libkadm5srv.a
85LIBKAFS5?=	${DESTDIR}${LIBDIR}/libkafs5.a
86LIBKDC?=	${DESTDIR}${LIBDIR}/libkdc.a
87LIBKEYCAP?=	${DESTDIR}${LIBDIR}/libkeycap.a
88LIBKICONV?=	${DESTDIR}${LIBDIR}/libkiconv.a
89LIBKRB5?=	${DESTDIR}${LIBDIR}/libkrb5.a
90LIBKVM?=	${DESTDIR}${LIBDIR}/libkvm.a
91LIBL?=		${DESTDIR}${LIBDIR}/libl.a
92.if ${MK_LDNS} != "no"
93LIBLDNS?=	${DESTDIR}${LIBPRIVATEDIR}/libldns.a
94.endif
95LIBLN?=		"don't use LIBLN, use LIBL"
96.if ${MK_BIND} != "no"
97LIBLWRES?=	${DESTDIR}${LIBDIR}/liblwres.a
98.endif
99LIBLZMA?=	${DESTDIR}${LIBDIR}/liblzma.a
100LIBM?=		${DESTDIR}${LIBDIR}/libm.a
101LIBMAGIC?=	${DESTDIR}${LIBDIR}/libmagic.a
102LIBMD?=		${DESTDIR}${LIBDIR}/libmd.a
103LIBMEMSTAT?=	${DESTDIR}${LIBDIR}/libmemstat.a
104LIBMENU?=	${DESTDIR}${LIBDIR}/libmenu.a
105.if ${MK_SENDMAIL} != "no"
106LIBMILTER?=	${DESTDIR}${LIBDIR}/libmilter.a
107.endif
108LIBMP?=		${DESTDIR}${LIBDIR}/libmp.a
109LIBNCURSES?=	${DESTDIR}${LIBDIR}/libncurses.a
110LIBNCURSESW?=	${DESTDIR}${LIBDIR}/libncursesw.a
111LIBNETGRAPH?=	${DESTDIR}${LIBDIR}/libnetgraph.a
112LIBNGATM?=	${DESTDIR}${LIBDIR}/libngatm.a
113LIBNVPAIR?=	${DESTDIR}${LIBDIR}/libnvpair.a
114LIBOPIE?=	${DESTDIR}${LIBDIR}/libopie.a
115
116# The static PAM library doesn't know its secondary dependencies,
117# so we have to specify them explicitly.
118LIBPAM?=	${DESTDIR}${LIBDIR}/libpam.a
119MINUSLPAM=	-lpam
120.if defined(LDFLAGS) && !empty(LDFLAGS:M-static)
121.if ${MK_KERBEROS} != "no"
122LIBPAM+=	${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \
123		${LIBROKEN} ${LIBCOM_ERR}
124MINUSLPAM+=	-lkrb5 -lhx509 -lasn1 -lcrypto -lcrypt -lroken -lcom_err
125.endif
126LIBPAM+=	${LIBRADIUS} ${LIBTACPLUS} ${LIBCRYPT} \
127		${LIBUTIL} ${LIBOPIE} ${LIBMD}
128MINUSLPAM+=	-lradius -ltacplus -lcrypt \
129		-lutil -lopie -lmd
130.if ${MK_OPENSSH} != "no"
131LIBPAM+=	${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT}
132MINUSLPAM+=	-lssh -lcrypto -lcrypt
133.endif
134.if ${MK_NIS} != "no"
135LIBPAM+=	${LIBYPCLNT}
136MINUSLPAM+=	-lypclnt
137.endif
138.endif
139
140LIBPANEL?=	${DESTDIR}${LIBDIR}/libpanel.a
141LIBPCAP?=	${DESTDIR}${LIBDIR}/libpcap.a
142LIBPMC?=	${DESTDIR}${LIBDIR}/libpmc.a
143LIBPROC?=	${DESTDIR}${LIBDIR}/libproc.a
144LIBPROCSTAT?=	${DESTDIR}${LIBDIR}/libprocstat.a
145LIBPTHREAD?=	${DESTDIR}${LIBDIR}/libpthread.a
146LIBRADIUS?=	${DESTDIR}${LIBDIR}/libradius.a
147LIBREADLINE?=	${DESTDIR}${LIBDIR}/libreadline.a
148LIBROKEN?=	${DESTDIR}${LIBDIR}/libroken.a
149LIBRPCSVC?=	${DESTDIR}${LIBDIR}/librpcsvc.a
150LIBRPCSEC_GSS?=	${DESTDIR}${LIBDIR}/librpcsec_gss.a
151LIBRT?=		${DESTDIR}${LIBDIR}/librt.a
152LIBRTLD_DB?=	${DESTDIR}${LIBDIR}/librtld_db.a
153LIBSBUF?=	${DESTDIR}${LIBDIR}/libsbuf.a
154LIBSDP?=	${DESTDIR}${LIBDIR}/libsdp.a
155LIBSMB?=	${DESTDIR}${LIBDIR}/libsmb.a
156LIBSSH?=	${DESTDIR}${LIBPRIVATEDIR}/libssh.a
157LIBSSL?=	${DESTDIR}${LIBDIR}/libssl.a
158LIBSTAND?=	${DESTDIR}${LIBDIR}/libstand.a
159LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
160LIBTACPLUS?=	${DESTDIR}${LIBDIR}/libtacplus.a
161LIBTERMCAP?=	${DESTDIR}${LIBDIR}/libtermcap.a
162LIBTERMLIB?=	"don't use LIBTERMLIB, use LIBTERMCAP"
163LIBTINFO?=	"don't use LIBTINFO, use LIBNCURSES"
164LIBUFS?=	${DESTDIR}${LIBDIR}/libufs.a
165LIBUGIDFW?=	${DESTDIR}${LIBDIR}/libugidfw.a
166LIBUMEM?=	${DESTDIR}${LIBDIR}/libumem.a
167.if ${MK_UNBOUND} != "no"
168LIBUNBOUND?=	${DESTDIR}${LIBPRIVATEDIR}/libunbound.a
169.endif
170LIBUSBHID?=	${DESTDIR}${LIBDIR}/libusbhid.a
171LIBUSB?=	${DESTDIR}${LIBDIR}/libusb.a
172LIBULOG?=	${DESTDIR}${LIBDIR}/libulog.a
173LIBUTIL?=	${DESTDIR}${LIBDIR}/libutil.a
174LIBUUTIL?=	${DESTDIR}${LIBDIR}/libuutil.a
175LIBVGL?=	${DESTDIR}${LIBDIR}/libvgl.a
176LIBVMMAPI?=	${DESTDIR}${LIBDIR}/libvmmapi.a
177LIBWIND?=	${DESTDIR}${LIBDIR}/libwind.a
178LIBWRAP?=	${DESTDIR}${LIBDIR}/libwrap.a
179LIBXPG4?=	${DESTDIR}${LIBDIR}/libxpg4.a
180LIBY?=		${DESTDIR}${LIBDIR}/liby.a
181LIBYPCLNT?=	${DESTDIR}${LIBDIR}/libypclnt.a
182LIBZ?=		${DESTDIR}${LIBDIR}/libz.a
183LIBZFS?=	${DESTDIR}${LIBDIR}/libzfs.a
184LIBZFS_CORE?=	${DESTDIR}${LIBDIR}/libzfs_core.a
185LIBZPOOL?=	${DESTDIR}${LIBDIR}/libzpool.a
186