xref: /freebsd/share/mk/bsd.libnames.mk (revision e14ddd1f16e7e5788392c50de21ea7c927e0690c)
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
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
54LIBFETCH?=	${DESTDIR}${LIBDIR}/libfetch.a
55LIBFL?=		"don't use LIBFL, use LIBL"
56LIBFORM?=	${DESTDIR}${LIBDIR}/libform.a
57LIBG2C?=	${DESTDIR}${LIBDIR}/libg2c.a
58LIBGCC?=	${DESTDIR}${LIBDIR}/libgcc.a
59LIBGCC_PIC?=	${DESTDIR}${LIBDIR}/libgcc_pic.a
60LIBGEOM?=	${DESTDIR}${LIBDIR}/libgeom.a
61LIBGNUREGEX?=	${DESTDIR}${LIBDIR}/libgnuregex.a
62LIBGSSAPI?=	${DESTDIR}${LIBDIR}/libgssapi.a
63LIBGSSAPI_KRB5?= ${DESTDIR}${LIBDIR}/libgssapi_krb5.a
64LIBHDB?=	${DESTDIR}${LIBDIR}/libhdb.a
65LIBHISTORY?=	${DESTDIR}${LIBDIR}/libhistory.a
66LIBHEIMBASE?=	${DESTDIR}${LIBDIR}/libheimbase.a
67LIBHEIMNTLM?=	${DESTDIR}${LIBDIR}/libheimntlm.a
68LIBHEIMSQLITE?=	${DESTDIR}${LIBDIR}/libheimsqlite.a
69LIBHX509?=	${DESTDIR}${LIBDIR}/libhx509.a
70LIBIPSEC?=	${DESTDIR}${LIBDIR}/libipsec.a
71.if ${MK_IPX} != "no"
72LIBIPX?=	${DESTDIR}${LIBDIR}/libipx.a
73.endif
74.if ${MK_BIND_LIBS} != "no"
75LIBISC?=	${DESTDIR}${LIBDIR}/libisc.a
76LIBISCCC?=	${DESTDIR}${LIBDIR}/libisccc.a
77LIBISCCFG?=	${DESTDIR}${LIBDIR}/libisccfg.a
78.endif
79LIBJAIL?=	${DESTDIR}${LIBDIR}/libjail.a
80LIBKADM5CLNT?=	${DESTDIR}${LIBDIR}/libkadm5clnt.a
81LIBKADM5SRV?=	${DESTDIR}${LIBDIR}/libkadm5srv.a
82LIBKAFS5?=	${DESTDIR}${LIBDIR}/libkafs5.a
83LIBKDC?=	${DESTDIR}${LIBDIR}/libkdc.a
84LIBKEYCAP?=	${DESTDIR}${LIBDIR}/libkeycap.a
85LIBKICONV?=	${DESTDIR}${LIBDIR}/libkiconv.a
86LIBKRB5?=	${DESTDIR}${LIBDIR}/libkrb5.a
87LIBKVM?=	${DESTDIR}${LIBDIR}/libkvm.a
88LIBL?=		${DESTDIR}${LIBDIR}/libl.a
89.if ${MK_LDNS} != "no"
90LIBLDNS?=	${DESTDIR}${LIBDIR}/libldns.a
91.endif
92LIBLN?=		"don't use LIBLN, use LIBL"
93.if ${MK_BIND} != "no"
94LIBLWRES?=	${DESTDIR}${LIBDIR}/liblwres.a
95.endif
96LIBLZMA?=	${DESTDIR}${LIBDIR}/liblzma.a
97LIBM?=		${DESTDIR}${LIBDIR}/libm.a
98LIBMAGIC?=	${DESTDIR}${LIBDIR}/libmagic.a
99LIBMD?=		${DESTDIR}${LIBDIR}/libmd.a
100LIBMEMSTAT?=	${DESTDIR}${LIBDIR}/libmemstat.a
101LIBMENU?=	${DESTDIR}${LIBDIR}/libmenu.a
102.if ${MK_SENDMAIL} != "no"
103LIBMILTER?=	${DESTDIR}${LIBDIR}/libmilter.a
104.endif
105LIBMP?=		${DESTDIR}${LIBDIR}/libmp.a
106LIBNCURSES?=	${DESTDIR}${LIBDIR}/libncurses.a
107LIBNCURSESW?=	${DESTDIR}${LIBDIR}/libncursesw.a
108LIBNETGRAPH?=	${DESTDIR}${LIBDIR}/libnetgraph.a
109LIBNGATM?=	${DESTDIR}${LIBDIR}/libngatm.a
110LIBNVPAIR?=	${DESTDIR}${LIBDIR}/libnvpair.a
111LIBOPIE?=	${DESTDIR}${LIBDIR}/libopie.a
112
113# The static PAM library doesn't know its secondary dependencies,
114# so we have to specify them explicitly.
115LIBPAM?=	${DESTDIR}${LIBDIR}/libpam.a
116MINUSLPAM=	-lpam
117.if defined(LDFLAGS) && !empty(LDFLAGS:M-static)
118.if ${MK_KERBEROS} != "no"
119LIBPAM+=	${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \
120		${LIBROKEN} ${LIBCOM_ERR}
121MINUSLPAM+=	-lkrb5 -lhx509 -lasn1 -lcrypto -lcrypt -lroken -lcom_err
122.endif
123LIBPAM+=	${LIBRADIUS} ${LIBTACPLUS} ${LIBCRYPT} \
124		${LIBUTIL} ${LIBOPIE} ${LIBMD}
125MINUSLPAM+=	-lradius -ltacplus -lcrypt \
126		-lutil -lopie -lmd
127.if ${MK_OPENSSH} != "no"
128LIBPAM+=	${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT}
129MINUSLPAM+=	-lssh -lcrypto -lcrypt
130.endif
131.if ${MK_NIS} != "no"
132LIBPAM+=	${LIBYPCLNT}
133MINUSLPAM+=	-lypclnt
134.endif
135.endif
136
137LIBPANEL?=	${DESTDIR}${LIBDIR}/libpanel.a
138LIBPCAP?=	${DESTDIR}${LIBDIR}/libpcap.a
139LIBPMC?=	${DESTDIR}${LIBDIR}/libpmc.a
140LIBPROC?=	${DESTDIR}${LIBDIR}/libproc.a
141LIBPROCSTAT?=	${DESTDIR}${LIBDIR}/libprocstat.a
142LIBPTHREAD?=	${DESTDIR}${LIBDIR}/libpthread.a
143LIBRADIUS?=	${DESTDIR}${LIBDIR}/libradius.a
144LIBREADLINE?=	${DESTDIR}${LIBDIR}/libreadline.a
145LIBROKEN?=	${DESTDIR}${LIBDIR}/libroken.a
146LIBRPCSVC?=	${DESTDIR}${LIBDIR}/librpcsvc.a
147LIBRPCSEC_GSS?=	${DESTDIR}${LIBDIR}/librpcsec_gss.a
148LIBRT?=		${DESTDIR}${LIBDIR}/librt.a
149LIBRTLD_DB?=	${DESTDIR}${LIBDIR}/librtld_db.a
150LIBSBUF?=	${DESTDIR}${LIBDIR}/libsbuf.a
151LIBSDP?=	${DESTDIR}${LIBDIR}/libsdp.a
152LIBSSH?=	${DESTDIR}${LIBDIR}/libssh.a
153LIBSSL?=	${DESTDIR}${LIBDIR}/libssl.a
154LIBSTAND?=	${DESTDIR}${LIBDIR}/libstand.a
155LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
156LIBTACPLUS?=	${DESTDIR}${LIBDIR}/libtacplus.a
157LIBTERMCAP?=	${DESTDIR}${LIBDIR}/libtermcap.a
158LIBTERMLIB?=	"don't use LIBTERMLIB, use LIBTERMCAP"
159LIBTINFO?=	"don't use LIBTINFO, use LIBNCURSES"
160LIBUFS?=	${DESTDIR}${LIBDIR}/libufs.a
161LIBUGIDFW?=	${DESTDIR}${LIBDIR}/libugidfw.a
162LIBUMEM?=	${DESTDIR}${LIBDIR}/libumem.a
163LIBUSBHID?=	${DESTDIR}${LIBDIR}/libusbhid.a
164LIBUSB?=	${DESTDIR}${LIBDIR}/libusb.a
165LIBULOG?=	${DESTDIR}${LIBDIR}/libulog.a
166LIBUTIL?=	${DESTDIR}${LIBDIR}/libutil.a
167LIBUUTIL?=	${DESTDIR}${LIBDIR}/libuutil.a
168LIBVGL?=	${DESTDIR}${LIBDIR}/libvgl.a
169LIBVMMAPI?=	${DESTDIR}${LIBDIR}/libvmmapi.a
170LIBWIND?=	${DESTDIR}${LIBDIR}/libwind.a
171LIBWRAP?=	${DESTDIR}${LIBDIR}/libwrap.a
172LIBXPG4?=	${DESTDIR}${LIBDIR}/libxpg4.a
173LIBY?=		${DESTDIR}${LIBDIR}/liby.a
174LIBYPCLNT?=	${DESTDIR}${LIBDIR}/libypclnt.a
175LIBZ?=		${DESTDIR}${LIBDIR}/libz.a
176LIBZFS?=	${DESTDIR}${LIBDIR}/libzfs.a
177LIBZFS_CORE?=	${DESTDIR}${LIBDIR}/libzfs_core.a
178LIBZPOOL?=	${DESTDIR}${LIBDIR}/libzpool.a
179