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.
7 .if !target(__<bsd.init.mk>__)
8 .error bsd.libnames.mk cannot be included directly.
11 LIBCRT0?= ${DESTDIR}${LIBDIR}/crt0.o
13 LIBALIAS?= ${DESTDIR}${LIBDIR}/libalias.a
14 LIBARCHIVE?= ${DESTDIR}${LIBDIR}/libarchive.a
15 LIBASN1?= ${DESTDIR}${LIBDIR}/libasn1.a
16 LIBATM?= ${DESTDIR}${LIBDIR}/libatm.a
17 LIBBEGEMOT?= ${DESTDIR}${LIBDIR}/libbegemot.a
18 .if !defined(NO_BIND) && defined(WITH_BIND_LIBS)
19 LIBBIND?= ${DESTDIR}${LIBDIR}/libbind.a
20 LIBBIND9?= ${DESTDIR}${LIBDIR}/libbind9.a
22 LIBBLUETOOTH?= ${DESTDIR}${LIBDIR}/libbluetooth.a
23 LIBBSDXML?= ${DESTDIR}${LIBDIR}/libbsdxml.a
24 LIBBSNMP?= ${DESTDIR}${LIBDIR}/libbsnmp.a
25 LIBBZ2?= ${DESTDIR}${LIBDIR}/libbz2.a
26 LIBC?= ${DESTDIR}${LIBDIR}/libc.a
27 LIBC_PIC?= ${DESTDIR}${LIBDIR}/libc_pic.a
28 LIBC_R?= ${DESTDIR}${LIBDIR}/libc_r.a
29 LIBCALENDAR?= ${DESTDIR}${LIBDIR}/libcalendar.a
30 LIBCAM?= ${DESTDIR}${LIBDIR}/libcam.a
31 LIBCOM_ERR?= ${DESTDIR}${LIBDIR}/libcom_err.a
32 LIBCOMPAT?= ${DESTDIR}${LIBDIR}/libcompat.a
33 LIBCRYPT?= ${DESTDIR}${LIBDIR}/libcrypt.a
34 LIBCRYPTO?= ${DESTDIR}${LIBDIR}/libcrypto.a
35 LIBCURSES?= ${DESTDIR}${LIBDIR}/libcurses.a
36 LIBDEVINFO?= ${DESTDIR}${LIBDIR}/libdevinfo.a
37 LIBDEVSTAT?= ${DESTDIR}${LIBDIR}/libdevstat.a
38 LIBDIALOG?= ${DESTDIR}${LIBDIR}/libdialog.a
39 LIBDISK?= ${DESTDIR}${LIBDIR}/libdisk.a
40 LIBDNS?= ${DESTDIR}${LIBDIR}/libdns.a
41 LIBEDIT?= ${DESTDIR}${LIBDIR}/libedit.a
42 LIBFETCH?= ${DESTDIR}${LIBDIR}/libfetch.a
43 LIBFL?= "don't use LIBFL, use LIBL"
44 LIBFORM?= ${DESTDIR}${LIBDIR}/libform.a
45 LIBFTPIO?= ${DESTDIR}${LIBDIR}/libftpio.a
46 LIBG2C?= ${DESTDIR}${LIBDIR}/libg2c.a
47 LIBGCC?= ${DESTDIR}${LIBDIR}/libgcc.a
48 LIBGCC_PIC?= ${DESTDIR}${LIBDIR}/libgcc_pic.a
49 LIBGEOM?= ${DESTDIR}${LIBDIR}/libgeom.a
50 LIBGNUREGEX?= ${DESTDIR}${LIBDIR}/libgnuregex.a
51 LIBGSSAPI?= ${DESTDIR}${LIBDIR}/libgssapi.a
52 LIBHDB?= ${DESTDIR}${LIBDIR}/libhdb.a
53 LIBHISTORY?= ${DESTDIR}${LIBDIR}/libhistory.a
54 LIBIPSEC?= ${DESTDIR}${LIBDIR}/libipsec.a
55 LIBIPX?= ${DESTDIR}${LIBDIR}/libipx.a
56 .if !defined(NO_BIND) && defined(WITH_BIND_LIBS)
57 LIBISC?= ${DESTDIR}${LIBDIR}/libisc.a
58 LIBISCCC?= ${DESTDIR}${LIBDIR}/libisccc.a
59 LIBISCCFG?= ${DESTDIR}${LIBDIR}/libisccfg.a
61 LIBKADM5CLNT?= ${DESTDIR}${LIBDIR}/libkadm5clnt.a
62 LIBKADM5SRV?= ${DESTDIR}${LIBDIR}/libkadm5srv.a
63 LIBKAFS5?= ${DESTDIR}${LIBDIR}/libkafs5.a
64 LIBKEYCAP?= ${DESTDIR}${LIBDIR}/libkeycap.a
65 LIBKICONV?= ${DESTDIR}${LIBDIR}/libkiconv.a
66 LIBKRB5?= ${DESTDIR}${LIBDIR}/libkrb5.a
67 LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a
68 LIBL?= ${DESTDIR}${LIBDIR}/libl.a
69 LIBLN?= "don't use LIBLN, use LIBL"
71 LIBLWRES?= ${DESTDIR}${LIBDIR}/liblwres.a
73 LIBM?= ${DESTDIR}${LIBDIR}/libm.a
74 LIBMAGIC?= ${DESTDIR}${LIBDIR}/libmagic.a
75 LIBMD?= ${DESTDIR}${LIBDIR}/libmd.a
76 LIBMEMSTAT?= ${DESTDIR}${LIBDIR}/libmemstat.a
77 LIBMENU?= ${DESTDIR}${LIBDIR}/libmenu.a
78 .if !defined(NO_SENDMAIL)
79 LIBMILTER?= ${DESTDIR}${LIBDIR}/libmilter.a
81 LIBMP?= ${DESTDIR}${LIBDIR}/libmp.a
82 LIBMYTINFO?= "don't use LIBMYTINFO, use LIBNCURSES"
83 LIBNCP?= ${DESTDIR}${LIBDIR}/libncp.a
84 LIBNCURSES?= ${DESTDIR}${LIBDIR}/libncurses.a
85 LIBNETGRAPH?= ${DESTDIR}${LIBDIR}/libnetgraph.a
86 LIBNGATM?= ${DESTDIR}${LIBDIR}/libngatm.a
87 LIBOBJC?= ${DESTDIR}${LIBDIR}/libobjc.a
88 LIBOPIE?= ${DESTDIR}${LIBDIR}/libopie.a
90 # The static PAM library doesn't know its secondary dependencies,
91 # so we have to specify them explicitly.
92 LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a
94 .if defined(LDFLAGS) && !empty(LDFLAGS:M-static)
95 .if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
96 LIBPAM+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \
97 ${LIBROKEN} ${LIBCOM_ERR}
98 MINUSLPAM+= -lkrb5 -lasn1 -lcrypto -lcrypt -lroken -lcom_err
100 LIBPAM+= ${LIBRADIUS} ${LIBTACPLUS} ${LIBCRYPT} \
101 ${LIBUTIL} ${LIBOPIE} ${LIBMD}
102 MINUSLPAM+= -lradius -ltacplus -lcrypt \
104 .if !defined(NO_OPENSSH) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
105 LIBPAM+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT}
106 MINUSLPAM+= -lssh -lcrypto -lcrypt
109 LIBPAM+= ${LIBYPCLNT}
114 LIBPANEL?= ${DESTDIR}${LIBDIR}/libpanel.a
115 LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a
116 LIBPMC?= ${DESTDIR}${LIBDIR}/libpmc.a
117 LIBPTHREAD?= ${DESTDIR}${LIBDIR}/libpthread.a
118 LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a
119 LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a
120 LIBROKEN?= ${DESTDIR}${LIBDIR}/libroken.a
121 LIBRPCSVC?= ${DESTDIR}${LIBDIR}/librpcsvc.a
122 LIBSBUF?= ${DESTDIR}${LIBDIR}/libsbuf.a
123 LIBSDP?= ${DESTDIR}${LIBDIR}/libsdp.a
124 LIBSMB?= ${DESTDIR}${LIBDIR}/libsmb.a
125 LIBSSH?= ${DESTDIR}${LIBDIR}/libssh.a
126 LIBSSL?= ${DESTDIR}${LIBDIR}/libssl.a
127 LIBSTAND?= ${DESTDIR}${LIBDIR}/libstand.a
128 LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
129 LIBTACPLUS?= ${DESTDIR}${LIBDIR}/libtacplus.a
130 LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a
131 LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP"
132 LIBTINFO?= "don't use LIBTINFO, use LIBNCURSES"
133 LIBUFS?= ${DESTDIR}${LIBDIR}/libufs.a
134 LIBUGIDFW?= ${DESTDIR}${LIBDIR}/libugidfw.a
135 LIBUSBHID?= ${DESTDIR}${LIBDIR}/libusbhid.a
136 LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a
137 LIBVGL?= ${DESTDIR}${LIBDIR}/libvgl.a
138 LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a
139 LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a
140 LIBY?= ${DESTDIR}${LIBDIR}/liby.a
141 LIBYPCLNT?= ${DESTDIR}${LIBDIR}/libypclnt.a
142 LIBZ?= ${DESTDIR}${LIBDIR}/libz.a