xref: /freebsd/share/mk/bsd.libnames.mk (revision 072b47f31c4f9b331ccc09113ea77bc2ba849c05)
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
22LIBBLUETOOTH?=	${DESTDIR}${LIBDIR}/libbluetooth.a
23LIBBSDXML?=	${DESTDIR}${LIBDIR}/libbsdxml.a
24LIBBSM?=	${DESTDIR}${LIBDIR}/libbsm.a
25LIBBSNMP?=	${DESTDIR}${LIBDIR}/libbsnmp.a
26LIBBZ2?=	${DESTDIR}${LIBDIR}/libbz2.a
27.if ${MK_LIBCPLUSPLUS} != "no"
28LIBCXXRT?=	${DESTDIR}${LIBDIR}/libcxxrt.a
29LIBCPLUSPLUS?=	${DESTDIR}${LIBDIR}/libc++.a
30.endif
31LIBC?=		${DESTDIR}${LIBDIR}/libc.a
32LIBC_PIC?=	${DESTDIR}${LIBDIR}/libc_pic.a
33LIBCALENDAR?=	${DESTDIR}${LIBDIR}/libcalendar.a
34LIBCAM?=	${DESTDIR}${LIBDIR}/libcam.a
35LIBCAPSICUM?=	${DESTDIR}${LIBDIR}/libcapsicum.a
36LIBCASPER?=	${DESTDIR}${LIBDIR}/libcasper.a
37LIBCOM_ERR?=	${DESTDIR}${LIBDIR}/libcom_err.a
38LIBCOMPAT?=	${DESTDIR}${LIBDIR}/libcompat.a
39LIBCOMPILER_RT?=${DESTDIR}${LIBDIR}/libcompiler_rt.a
40LIBCRYPT?=	${DESTDIR}${LIBDIR}/libcrypt.a
41LIBCRYPTO?=	${DESTDIR}${LIBDIR}/libcrypto.a
42LIBCTF?=	${DESTDIR}${LIBDIR}/libctf.a
43LIBCURSES?=	${DESTDIR}${LIBDIR}/libcurses.a
44LIBDEVINFO?=	${DESTDIR}${LIBDIR}/libdevinfo.a
45LIBDEVSTAT?=	${DESTDIR}${LIBDIR}/libdevstat.a
46LIBDIALOG?=	${DESTDIR}${LIBDIR}/libdialog.a
47LIBDNS?=	${DESTDIR}${LIBDIR}/libdns.a
48LIBDTRACE?=	${DESTDIR}${LIBDIR}/libdtrace.a
49LIBDWARF?=	${DESTDIR}${LIBDIR}/libdwarf.a
50LIBEDIT?=	${DESTDIR}${LIBDIR}/libedit.a
51LIBELF?=	${DESTDIR}${LIBDIR}/libelf.a
52LIBEXECINFO?=	${DESTDIR}${LIBDIR}/libexecinfo.a
53LIBFETCH?=	${DESTDIR}${LIBDIR}/libfetch.a
54LIBFL?=		"don't use LIBFL, use LIBL"
55LIBFORM?=	${DESTDIR}${LIBDIR}/libform.a
56LIBG2C?=	${DESTDIR}${LIBDIR}/libg2c.a
57LIBGEOM?=	${DESTDIR}${LIBDIR}/libgeom.a
58LIBGNUREGEX?=	${DESTDIR}${LIBDIR}/libgnuregex.a
59LIBGSSAPI?=	${DESTDIR}${LIBDIR}/libgssapi.a
60LIBGSSAPI_KRB5?= ${DESTDIR}${LIBDIR}/libgssapi_krb5.a
61LIBHDB?=	${DESTDIR}${LIBDIR}/libhdb.a
62LIBHISTORY?=	${DESTDIR}${LIBDIR}/libhistory.a
63LIBHEIMBASE?=	${DESTDIR}${LIBDIR}/libheimbase.a
64LIBHEIMIPCC?=	${DESTDIR}${LIBPRIVATEDIR}/libheimipcc.a
65LIBHEIMIPCS?=	${DESTDIR}${LIBPRIVATEDIR}/libheimipcs.a
66LIBHEIMNTLM?=	${DESTDIR}${LIBDIR}/libheimntlm.a
67LIBHEIMSQLITE?=	${DESTDIR}${LIBDIR}/libheimsqlite.a
68LIBHX509?=	${DESTDIR}${LIBDIR}/libhx509.a
69LIBIPSEC?=	${DESTDIR}${LIBDIR}/libipsec.a
70LIBJAIL?=	${DESTDIR}${LIBDIR}/libjail.a
71LIBKADM5CLNT?=	${DESTDIR}${LIBDIR}/libkadm5clnt.a
72LIBKADM5SRV?=	${DESTDIR}${LIBDIR}/libkadm5srv.a
73LIBKAFS5?=	${DESTDIR}${LIBDIR}/libkafs5.a
74LIBKDC?=	${DESTDIR}${LIBDIR}/libkdc.a
75LIBKEYCAP?=	${DESTDIR}${LIBDIR}/libkeycap.a
76LIBKICONV?=	${DESTDIR}${LIBDIR}/libkiconv.a
77LIBKRB5?=	${DESTDIR}${LIBDIR}/libkrb5.a
78LIBKVM?=	${DESTDIR}${LIBDIR}/libkvm.a
79LIBL?=		${DESTDIR}${LIBDIR}/libl.a
80.if ${MK_LDNS} != "no"
81LIBLDNS?=	${DESTDIR}${LIBPRIVATEDIR}/libldns.a
82.endif
83LIBLN?=		"don't use LIBLN, use LIBL"
84LIBLZMA?=	${DESTDIR}${LIBDIR}/liblzma.a
85LIBM?=		${DESTDIR}${LIBDIR}/libm.a
86LIBMAGIC?=	${DESTDIR}${LIBDIR}/libmagic.a
87LIBMD?=		${DESTDIR}${LIBDIR}/libmd.a
88LIBMEMSTAT?=	${DESTDIR}${LIBDIR}/libmemstat.a
89LIBMENU?=	${DESTDIR}${LIBDIR}/libmenu.a
90.if ${MK_SENDMAIL} != "no"
91LIBMILTER?=	${DESTDIR}${LIBDIR}/libmilter.a
92.endif
93LIBMP?=		${DESTDIR}${LIBDIR}/libmp.a
94LIBNCURSES?=	${DESTDIR}${LIBDIR}/libncurses.a
95LIBNCURSESW?=	${DESTDIR}${LIBDIR}/libncursesw.a
96LIBNETGRAPH?=	${DESTDIR}${LIBDIR}/libnetgraph.a
97LIBNGATM?=	${DESTDIR}${LIBDIR}/libngatm.a
98LIBNV?=		${DESTDIR}${LIBDIR}/libnv.a
99LIBNVPAIR?=	${DESTDIR}${LIBDIR}/libnvpair.a
100LIBOPIE?=	${DESTDIR}${LIBDIR}/libopie.a
101
102# The static PAM library doesn't know its secondary dependencies,
103# so we have to specify them explicitly.
104LIBPAM?=	${DESTDIR}${LIBDIR}/libpam.a
105MINUSLPAM=	-lpam
106.if defined(LDFLAGS) && !empty(LDFLAGS:M-static)
107.if ${MK_KERBEROS} != "no"
108LIBPAM+=	${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \
109		${LIBROKEN} ${LIBCOM_ERR}
110MINUSLPAM+=	-lkrb5 -lhx509 -lasn1 -lcrypto -lcrypt -lroken -lcom_err
111.endif
112LIBPAM+=	${LIBRADIUS} ${LIBTACPLUS} ${LIBCRYPT} \
113		${LIBUTIL} ${LIBOPIE} ${LIBMD}
114MINUSLPAM+=	-lradius -ltacplus -lcrypt \
115		-lutil -lopie -lmd
116.if ${MK_OPENSSH} != "no"
117LIBPAM+=	${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT}
118MINUSLPAM+=	-lssh -lcrypto -lcrypt
119.endif
120.if ${MK_NIS} != "no"
121LIBPAM+=	${LIBYPCLNT}
122MINUSLPAM+=	-lypclnt
123.endif
124.endif
125
126LIBPANEL?=	${DESTDIR}${LIBDIR}/libpanel.a
127LIBPCAP?=	${DESTDIR}${LIBDIR}/libpcap.a
128LIBPJDLOG?=	${DESTDIR}${LIBDIR}/libpjdlog.a
129LIBPMC?=	${DESTDIR}${LIBDIR}/libpmc.a
130LIBPROC?=	${DESTDIR}${LIBDIR}/libproc.a
131LIBPROCSTAT?=	${DESTDIR}${LIBDIR}/libprocstat.a
132LIBPTHREAD?=	${DESTDIR}${LIBDIR}/libpthread.a
133LIBRADIUS?=	${DESTDIR}${LIBDIR}/libradius.a
134LIBREADLINE?=	${DESTDIR}${LIBDIR}/libreadline.a
135LIBROKEN?=	${DESTDIR}${LIBDIR}/libroken.a
136LIBRPCSVC?=	${DESTDIR}${LIBDIR}/librpcsvc.a
137LIBRPCSEC_GSS?=	${DESTDIR}${LIBDIR}/librpcsec_gss.a
138LIBRT?=		${DESTDIR}${LIBDIR}/librt.a
139LIBRTLD_DB?=	${DESTDIR}${LIBDIR}/librtld_db.a
140LIBSBUF?=	${DESTDIR}${LIBDIR}/libsbuf.a
141LIBSDP?=	${DESTDIR}${LIBDIR}/libsdp.a
142LIBSMB?=	${DESTDIR}${LIBDIR}/libsmb.a
143LIBSSH?=	${DESTDIR}${LIBPRIVATEDIR}/libssh.a
144LIBSSL?=	${DESTDIR}${LIBDIR}/libssl.a
145LIBSTAND?=	${DESTDIR}${LIBDIR}/libstand.a
146LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
147LIBTACPLUS?=	${DESTDIR}${LIBDIR}/libtacplus.a
148LIBTERMCAP?=	${DESTDIR}${LIBDIR}/libtermcap.a
149LIBTERMLIB?=	"don't use LIBTERMLIB, use LIBTERMCAP"
150LIBTINFO?=	"don't use LIBTINFO, use LIBNCURSES"
151LIBUCL?=	${DESTDIR}${LIBPRIVATEDIR}/libucl.a
152LIBUFS?=	${DESTDIR}${LIBDIR}/libufs.a
153LIBUGIDFW?=	${DESTDIR}${LIBDIR}/libugidfw.a
154LIBUMEM?=	${DESTDIR}${LIBDIR}/libumem.a
155.if ${MK_UNBOUND} != "no"
156LIBUNBOUND?=	${DESTDIR}${LIBPRIVATEDIR}/libunbound.a
157.endif
158LIBUSBHID?=	${DESTDIR}${LIBDIR}/libusbhid.a
159LIBUSB?=	${DESTDIR}${LIBDIR}/libusb.a
160LIBULOG?=	${DESTDIR}${LIBDIR}/libulog.a
161LIBUTIL?=	${DESTDIR}${LIBDIR}/libutil.a
162LIBUUTIL?=	${DESTDIR}${LIBDIR}/libuutil.a
163LIBVGL?=	${DESTDIR}${LIBDIR}/libvgl.a
164LIBVMMAPI?=	${DESTDIR}${LIBDIR}/libvmmapi.a
165LIBWIND?=	${DESTDIR}${LIBDIR}/libwind.a
166LIBWRAP?=	${DESTDIR}${LIBDIR}/libwrap.a
167LIBXPG4?=	${DESTDIR}${LIBDIR}/libxpg4.a
168LIBY?=		${DESTDIR}${LIBDIR}/liby.a
169LIBYPCLNT?=	${DESTDIR}${LIBDIR}/libypclnt.a
170LIBZ?=		${DESTDIR}${LIBDIR}/libz.a
171LIBZFS?=	${DESTDIR}${LIBDIR}/libzfs.a
172LIBZFS_CORE?=	${DESTDIR}${LIBDIR}/libzfs_core.a
173LIBZPOOL?=	${DESTDIR}${LIBDIR}/libzpool.a
174