xref: /freebsd/share/mk/bsd.libnames.mk (revision 81ad83880dcc267b198c781929dd9a009f98c5f7)
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
16LIBATM?=	${DESTDIR}${LIBDIR}/libatm.a
17LIBAUDITD?=	${DESTDIR}${LIBDIR}/libauditd.a
18LIBAVL?=	${DESTDIR}${LIBDIR}/libavl.a
19LIBBEGEMOT?=	${DESTDIR}${LIBDIR}/libbegemot.a
20.if ${MK_BIND_LIBS} != "no"
21LIBBIND?=	${DESTDIR}${LIBDIR}/libbind.a
22LIBBIND9?=	${DESTDIR}${LIBDIR}/libbind9.a
23.endif
24LIBBLUETOOTH?=	${DESTDIR}${LIBDIR}/libbluetooth.a
25LIBBSDXML?=	${DESTDIR}${LIBDIR}/libbsdxml.a
26LIBBSM?=	${DESTDIR}${LIBDIR}/libbsm.a
27LIBBSNMP?=	${DESTDIR}${LIBDIR}/libbsnmp.a
28LIBBZ2?=	${DESTDIR}${LIBDIR}/libbz2.a
29LIBC?=		${DESTDIR}${LIBDIR}/libc.a
30LIBC_PIC?=	${DESTDIR}${LIBDIR}/libc_pic.a
31LIBCALENDAR?=	${DESTDIR}${LIBDIR}/libcalendar.a
32LIBCAM?=	${DESTDIR}${LIBDIR}/libcam.a
33LIBCOM_ERR?=	${DESTDIR}${LIBDIR}/libcom_err.a
34LIBCOMPAT?=	${DESTDIR}${LIBDIR}/libcompat.a
35LIBCRYPT?=	${DESTDIR}${LIBDIR}/libcrypt.a
36LIBCRYPTO?=	${DESTDIR}${LIBDIR}/libcrypto.a
37LIBCTF?=	${DESTDIR}${LIBDIR}/libctf.a
38LIBCURSES?=	${DESTDIR}${LIBDIR}/libcurses.a
39LIBDEVINFO?=	${DESTDIR}${LIBDIR}/libdevinfo.a
40LIBDEVSTAT?=	${DESTDIR}${LIBDIR}/libdevstat.a
41LIBDIALOG?=	${DESTDIR}${LIBDIR}/libdialog.a
42LIBDISK?=	${DESTDIR}${LIBDIR}/libdisk.a
43LIBDNS?=	${DESTDIR}${LIBDIR}/libdns.a
44LIBDTRACE?=	${DESTDIR}${LIBDIR}/libdtrace.a
45LIBDWARF?=	${DESTDIR}${LIBDIR}/libdwarf.a
46LIBEDIT?=	${DESTDIR}${LIBDIR}/libedit.a
47LIBELF?=	${DESTDIR}${LIBDIR}/libelf.a
48LIBFETCH?=	${DESTDIR}${LIBDIR}/libfetch.a
49LIBFL?=		"don't use LIBFL, use LIBL"
50LIBFORM?=	${DESTDIR}${LIBDIR}/libform.a
51LIBFTPIO?=	${DESTDIR}${LIBDIR}/libftpio.a
52LIBG2C?=	${DESTDIR}${LIBDIR}/libg2c.a
53LIBGCC?=	${DESTDIR}${LIBDIR}/libgcc.a
54LIBGCC_PIC?=	${DESTDIR}${LIBDIR}/libgcc_pic.a
55LIBGEOM?=	${DESTDIR}${LIBDIR}/libgeom.a
56LIBGNUREGEX?=	${DESTDIR}${LIBDIR}/libgnuregex.a
57LIBGSSAPI?=	${DESTDIR}${LIBDIR}/libgssapi.a
58LIBGSSAPI_KRB5?= ${DESTDIR}${LIBDIR}/libgssapi_krb5.a
59LIBHDB?=	${DESTDIR}${LIBDIR}/libhdb.a
60LIBHISTORY?=	${DESTDIR}${LIBDIR}/libhistory.a
61LIBHEIMNTLM?=	${DESTDIR}${LIBDIR}/libheimntlm.a
62LIBHX509?=	${DESTDIR}${LIBDIR}/libhx509.a
63LIBIPSEC?=	${DESTDIR}${LIBDIR}/libipsec.a
64.if ${MK_IPX} != "no"
65LIBIPX?=	${DESTDIR}${LIBDIR}/libipx.a
66.endif
67.if ${MK_BIND_LIBS} != "no"
68LIBISC?=	${DESTDIR}${LIBDIR}/libisc.a
69LIBISCCC?=	${DESTDIR}${LIBDIR}/libisccc.a
70LIBISCCFG?=	${DESTDIR}${LIBDIR}/libisccfg.a
71.endif
72LIBJAIL?=	${DESTDIR}${LIBDIR}/libjail.a
73LIBKADM5CLNT?=	${DESTDIR}${LIBDIR}/libkadm5clnt.a
74LIBKADM5SRV?=	${DESTDIR}${LIBDIR}/libkadm5srv.a
75LIBKAFS5?=	${DESTDIR}${LIBDIR}/libkafs5.a
76LIBKEYCAP?=	${DESTDIR}${LIBDIR}/libkeycap.a
77LIBKICONV?=	${DESTDIR}${LIBDIR}/libkiconv.a
78LIBKRB5?=	${DESTDIR}${LIBDIR}/libkrb5.a
79LIBKVM?=	${DESTDIR}${LIBDIR}/libkvm.a
80LIBL?=		${DESTDIR}${LIBDIR}/libl.a
81LIBLN?=		"don't use LIBLN, use LIBL"
82.if ${MK_BIND} != "no"
83LIBLWRES?=	${DESTDIR}${LIBDIR}/liblwres.a
84.endif
85LIBLZMA?=	${DESTDIR}${LIBDIR}/liblzma.a
86LIBM?=		${DESTDIR}${LIBDIR}/libm.a
87LIBMAGIC?=	${DESTDIR}${LIBDIR}/libmagic.a
88LIBMD?=		${DESTDIR}${LIBDIR}/libmd.a
89LIBMEMSTAT?=	${DESTDIR}${LIBDIR}/libmemstat.a
90LIBMENU?=	${DESTDIR}${LIBDIR}/libmenu.a
91.if ${MK_SENDMAIL} != "no"
92LIBMILTER?=	${DESTDIR}${LIBDIR}/libmilter.a
93.endif
94LIBMP?=		${DESTDIR}${LIBDIR}/libmp.a
95.if ${MK_NCP} != "no"
96LIBNCP?=	${DESTDIR}${LIBDIR}/libncp.a
97.endif
98LIBNCURSES?=	${DESTDIR}${LIBDIR}/libncurses.a
99LIBNCURSESW?=	${DESTDIR}${LIBDIR}/libncursesw.a
100LIBNETGRAPH?=	${DESTDIR}${LIBDIR}/libnetgraph.a
101LIBNGATM?=	${DESTDIR}${LIBDIR}/libngatm.a
102LIBNVPAIR?=	${DESTDIR}${LIBDIR}/libnvpair.a
103LIBOBJC?=	${DESTDIR}${LIBDIR}/libobjc.a
104LIBOPIE?=	${DESTDIR}${LIBDIR}/libopie.a
105
106# The static PAM library doesn't know its secondary dependencies,
107# so we have to specify them explicitly.
108LIBPAM?=	${DESTDIR}${LIBDIR}/libpam.a
109MINUSLPAM=	-lpam
110.if defined(LDFLAGS) && !empty(LDFLAGS:M-static)
111.if ${MK_KERBEROS} != "no"
112LIBPAM+=	${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \
113		${LIBROKEN} ${LIBCOM_ERR}
114MINUSLPAM+=	-lkrb5 -lhx509 -lasn1 -lcrypto -lcrypt -lroken -lcom_err
115.endif
116LIBPAM+=	${LIBRADIUS} ${LIBTACPLUS} ${LIBCRYPT} \
117		${LIBUTIL} ${LIBOPIE} ${LIBMD}
118MINUSLPAM+=	-lradius -ltacplus -lcrypt \
119		-lutil -lopie -lmd
120.if ${MK_OPENSSH} != "no"
121LIBPAM+=	${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT}
122MINUSLPAM+=	-lssh -lcrypto -lcrypt
123.endif
124.if ${MK_NIS} != "no"
125LIBPAM+=	${LIBYPCLNT}
126MINUSLPAM+=	-lypclnt
127.endif
128.endif
129
130LIBPANEL?=	${DESTDIR}${LIBDIR}/libpanel.a
131LIBPCAP?=	${DESTDIR}${LIBDIR}/libpcap.a
132LIBPKG?=	${DESTDIR}${LIBDIR}/libpkg.a
133LIBPMC?=	${DESTDIR}${LIBDIR}/libpmc.a
134LIBPROC?=	${DESTDIR}${LIBDIR}/libproc.a
135LIBPTHREAD?=	${DESTDIR}${LIBDIR}/libpthread.a
136LIBRADIUS?=	${DESTDIR}${LIBDIR}/libradius.a
137LIBREADLINE?=	${DESTDIR}${LIBDIR}/libreadline.a
138LIBROKEN?=	${DESTDIR}${LIBDIR}/libroken.a
139LIBRPCSVC?=	${DESTDIR}${LIBDIR}/librpcsvc.a
140LIBRPCSEC_GSS?=	${DESTDIR}${LIBDIR}/librpcsec_gss.a
141LIBRT?=		${DESTDIR}${LIBDIR}/librt.a
142LIBSBUF?=	${DESTDIR}${LIBDIR}/libsbuf.a
143LIBSDP?=	${DESTDIR}${LIBDIR}/libsdp.a
144LIBSMB?=	${DESTDIR}${LIBDIR}/libsmb.a
145LIBSSH?=	${DESTDIR}${LIBDIR}/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
156LIBUSBHID?=	${DESTDIR}${LIBDIR}/libusbhid.a
157LIBUSB?=	${DESTDIR}${LIBDIR}/libusb.a
158LIBULOG?=	${DESTDIR}${LIBDIR}/libulog.a
159LIBUTIL?=	${DESTDIR}${LIBDIR}/libutil.a
160LIBUUTIL?=	${DESTDIR}${LIBDIR}/libuutil.a
161LIBVGL?=	${DESTDIR}${LIBDIR}/libvgl.a
162LIBWRAP?=	${DESTDIR}${LIBDIR}/libwrap.a
163LIBXPG4?=	${DESTDIR}${LIBDIR}/libxpg4.a
164LIBY?=		${DESTDIR}${LIBDIR}/liby.a
165LIBYPCLNT?=	${DESTDIR}${LIBDIR}/libypclnt.a
166LIBZ?=		${DESTDIR}${LIBDIR}/libz.a
167LIBZFS?=	${DESTDIR}${LIBDIR}/libzfs.a
168LIBZPOOL?=	${DESTDIR}${LIBDIR}/libzpool.a
169