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