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