xref: /freebsd/share/mk/bsd.libnames.mk (revision 12f110aa1ad3c9d0ead55bf80f2f994b4b845ffb)
1# $FreeBSD$
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
28LIBBSM?=	${DESTDIR}${LIBDIR}/libbsm.a
29LIBBSNMP?=	${DESTDIR}${LIBDIR}/libbsnmp.a
30LIBBZ2?=	${DESTDIR}${LIBDIR}/libbz2.a
31.if ${MK_LIBCPLUSPLUS} != "no"
32LIBCXXRT?=	${DESTDIR}${LIBDIR}/libcxxrt.a
33LIBCPLUSPLUS?=	${DESTDIR}${LIBDIR}/libc++.a
34.endif
35LIBC?=		${DESTDIR}${LIBDIR}/libc.a
36LIBC_PIC?=	${DESTDIR}${LIBDIR}/libc_pic.a
37LIBCALENDAR?=	${DESTDIR}${LIBDIR}/libcalendar.a
38LIBCAM?=	${DESTDIR}${LIBDIR}/libcam.a
39LIBCOM_ERR?=	${DESTDIR}${LIBDIR}/libcom_err.a
40LIBCOMPAT?=	${DESTDIR}${LIBDIR}/libcompat.a
41LIBCRYPT?=	${DESTDIR}${LIBDIR}/libcrypt.a
42LIBCRYPTO?=	${DESTDIR}${LIBDIR}/libcrypto.a
43LIBCTF?=	${DESTDIR}${LIBDIR}/libctf.a
44LIBCURSES?=	${DESTDIR}${LIBDIR}/libcurses.a
45LIBDEVINFO?=	${DESTDIR}${LIBDIR}/libdevinfo.a
46LIBDEVSTAT?=	${DESTDIR}${LIBDIR}/libdevstat.a
47LIBDIALOG?=	${DESTDIR}${LIBDIR}/libdialog.a
48LIBDISK?=	${DESTDIR}${LIBDIR}/libdisk.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
54LIBFETCH?=	${DESTDIR}${LIBDIR}/libfetch.a
55LIBFL?=		"don't use LIBFL, use LIBL"
56LIBFORM?=	${DESTDIR}${LIBDIR}/libform.a
57LIBFTPIO?=	${DESTDIR}${LIBDIR}/libftpio.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
68LIBHEIMNTLM?=	${DESTDIR}${LIBDIR}/libheimntlm.a
69LIBHEIMSQLITE?=	${DESTDIR}${LIBDIR}/libheimsqlite.a
70LIBHX509?=	${DESTDIR}${LIBDIR}/libhx509.a
71LIBIPSEC?=	${DESTDIR}${LIBDIR}/libipsec.a
72.if ${MK_IPX} != "no"
73LIBIPX?=	${DESTDIR}${LIBDIR}/libipx.a
74.endif
75.if ${MK_BIND_LIBS} != "no"
76LIBISC?=	${DESTDIR}${LIBDIR}/libisc.a
77LIBISCCC?=	${DESTDIR}${LIBDIR}/libisccc.a
78LIBISCCFG?=	${DESTDIR}${LIBDIR}/libisccfg.a
79.endif
80LIBJAIL?=	${DESTDIR}${LIBDIR}/libjail.a
81LIBKADM5CLNT?=	${DESTDIR}${LIBDIR}/libkadm5clnt.a
82LIBKADM5SRV?=	${DESTDIR}${LIBDIR}/libkadm5srv.a
83LIBKAFS5?=	${DESTDIR}${LIBDIR}/libkafs5.a
84LIBKDC?=	${DESTDIR}${LIBDIR}/libkdc.a
85LIBKEYCAP?=	${DESTDIR}${LIBDIR}/libkeycap.a
86LIBKICONV?=	${DESTDIR}${LIBDIR}/libkiconv.a
87LIBKRB5?=	${DESTDIR}${LIBDIR}/libkrb5.a
88LIBKVM?=	${DESTDIR}${LIBDIR}/libkvm.a
89LIBL?=		${DESTDIR}${LIBDIR}/libl.a
90LIBLN?=		"don't use LIBLN, use LIBL"
91.if ${MK_BIND} != "no"
92LIBLWRES?=	${DESTDIR}${LIBDIR}/liblwres.a
93.endif
94LIBLZMA?=	${DESTDIR}${LIBDIR}/liblzma.a
95LIBM?=		${DESTDIR}${LIBDIR}/libm.a
96LIBMAGIC?=	${DESTDIR}${LIBDIR}/libmagic.a
97LIBMD?=		${DESTDIR}${LIBDIR}/libmd.a
98LIBMEMSTAT?=	${DESTDIR}${LIBDIR}/libmemstat.a
99LIBMENU?=	${DESTDIR}${LIBDIR}/libmenu.a
100.if ${MK_SENDMAIL} != "no"
101LIBMILTER?=	${DESTDIR}${LIBDIR}/libmilter.a
102.endif
103LIBMP?=		${DESTDIR}${LIBDIR}/libmp.a
104LIBNCURSES?=	${DESTDIR}${LIBDIR}/libncurses.a
105LIBNCURSESW?=	${DESTDIR}${LIBDIR}/libncursesw.a
106LIBNETGRAPH?=	${DESTDIR}${LIBDIR}/libnetgraph.a
107LIBNGATM?=	${DESTDIR}${LIBDIR}/libngatm.a
108LIBNVPAIR?=	${DESTDIR}${LIBDIR}/libnvpair.a
109LIBOPIE?=	${DESTDIR}${LIBDIR}/libopie.a
110
111# The static PAM library doesn't know its secondary dependencies,
112# so we have to specify them explicitly.
113LIBPAM?=	${DESTDIR}${LIBDIR}/libpam.a
114MINUSLPAM=	-lpam
115.if defined(LDFLAGS) && !empty(LDFLAGS:M-static)
116.if ${MK_KERBEROS} != "no"
117LIBPAM+=	${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \
118		${LIBROKEN} ${LIBCOM_ERR}
119MINUSLPAM+=	-lkrb5 -lhx509 -lasn1 -lcrypto -lcrypt -lroken -lcom_err
120.endif
121LIBPAM+=	${LIBRADIUS} ${LIBTACPLUS} ${LIBCRYPT} \
122		${LIBUTIL} ${LIBOPIE} ${LIBMD}
123MINUSLPAM+=	-lradius -ltacplus -lcrypt \
124		-lutil -lopie -lmd
125.if ${MK_OPENSSH} != "no"
126LIBPAM+=	${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT}
127MINUSLPAM+=	-lssh -lcrypto -lcrypt
128.endif
129.if ${MK_NIS} != "no"
130LIBPAM+=	${LIBYPCLNT}
131MINUSLPAM+=	-lypclnt
132.endif
133.endif
134
135LIBPANEL?=	${DESTDIR}${LIBDIR}/libpanel.a
136LIBPCAP?=	${DESTDIR}${LIBDIR}/libpcap.a
137LIBPMC?=	${DESTDIR}${LIBDIR}/libpmc.a
138LIBPROC?=	${DESTDIR}${LIBDIR}/libproc.a
139LIBPROCSTAT?=	${DESTDIR}${LIBDIR}/libprocstat.a
140LIBPTHREAD?=	${DESTDIR}${LIBDIR}/libpthread.a
141LIBRADIUS?=	${DESTDIR}${LIBDIR}/libradius.a
142LIBREADLINE?=	${DESTDIR}${LIBDIR}/libreadline.a
143LIBROKEN?=	${DESTDIR}${LIBDIR}/libroken.a
144LIBRPCSVC?=	${DESTDIR}${LIBDIR}/librpcsvc.a
145LIBRPCSEC_GSS?=	${DESTDIR}${LIBDIR}/librpcsec_gss.a
146LIBRT?=		${DESTDIR}${LIBDIR}/librt.a
147LIBRTLD_DB?=	${DESTDIR}${LIBDIR}/librtld_db.a
148LIBSBUF?=	${DESTDIR}${LIBDIR}/libsbuf.a
149LIBSDP?=	${DESTDIR}${LIBDIR}/libsdp.a
150LIBSSH?=	${DESTDIR}${LIBDIR}/libssh.a
151LIBSSL?=	${DESTDIR}${LIBDIR}/libssl.a
152LIBSTAND?=	${DESTDIR}${LIBDIR}/libstand.a
153LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
154LIBTACPLUS?=	${DESTDIR}${LIBDIR}/libtacplus.a
155LIBTERMCAP?=	${DESTDIR}${LIBDIR}/libtermcap.a
156LIBTERMLIB?=	"don't use LIBTERMLIB, use LIBTERMCAP"
157LIBTINFO?=	"don't use LIBTINFO, use LIBNCURSES"
158LIBUFS?=	${DESTDIR}${LIBDIR}/libufs.a
159LIBUGIDFW?=	${DESTDIR}${LIBDIR}/libugidfw.a
160LIBUMEM?=	${DESTDIR}${LIBDIR}/libumem.a
161LIBUSBHID?=	${DESTDIR}${LIBDIR}/libusbhid.a
162LIBUSB?=	${DESTDIR}${LIBDIR}/libusb.a
163LIBULOG?=	${DESTDIR}${LIBDIR}/libulog.a
164LIBUTIL?=	${DESTDIR}${LIBDIR}/libutil.a
165LIBUUTIL?=	${DESTDIR}${LIBDIR}/libuutil.a
166LIBVGL?=	${DESTDIR}${LIBDIR}/libvgl.a
167LIBWIND?=	${DESTDIR}${LIBDIR}/libwind.a
168LIBWRAP?=	${DESTDIR}${LIBDIR}/libwrap.a
169LIBXPG4?=	${DESTDIR}${LIBDIR}/libxpg4.a
170LIBY?=		${DESTDIR}${LIBDIR}/liby.a
171LIBYPCLNT?=	${DESTDIR}${LIBDIR}/libypclnt.a
172LIBZ?=		${DESTDIR}${LIBDIR}/libz.a
173LIBZFS?=	${DESTDIR}${LIBDIR}/libzfs.a
174LIBZPOOL?=	${DESTDIR}${LIBDIR}/libzpool.a
175