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 LIBMENU?= ${DESTDIR}${LIBDIR}/libmenu.a
77 .if !defined(NO_SENDMAIL)
78 LIBMILTER?= ${DESTDIR}${LIBDIR}/libmilter.a
80 LIBMP?= ${DESTDIR}${LIBDIR}/libmp.a
81 LIBMYTINFO?= "don't use LIBMYTINFO, use LIBNCURSES"
82 LIBNCP?= ${DESTDIR}${LIBDIR}/libncp.a
83 LIBNCURSES?= ${DESTDIR}${LIBDIR}/libncurses.a
84 LIBNETGRAPH?= ${DESTDIR}${LIBDIR}/libnetgraph.a
85 LIBNGATM?= ${DESTDIR}${LIBDIR}/libngatm.a
86 LIBOBJC?= ${DESTDIR}${LIBDIR}/libobjc.a
87 LIBOPIE?= ${DESTDIR}${LIBDIR}/libopie.a
89 # The static PAM library doesn't know its secondary dependencies,
90 # so we have to specify them explicitly.
91 LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a
93 .if defined(LDFLAGS) && !empty(LDFLAGS:M-static)
94 .if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
95 LIBPAM+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \
96 ${LIBROKEN} ${LIBCOM_ERR}
97 MINUSLPAM+= -lkrb5 -lasn1 -lcrypto -lcrypt -lroken -lcom_err
99 LIBPAM+= ${LIBRADIUS} ${LIBTACPLUS} ${LIBCRYPT} \
100 ${LIBUTIL} ${LIBOPIE} ${LIBMD}
101 MINUSLPAM+= -lradius -ltacplus -lcrypt \
103 .if !defined(NO_OPENSSH) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
104 LIBPAM+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT}
105 MINUSLPAM+= -lssh -lcrypto -lcrypt
108 LIBPAM+= ${LIBYPCLNT}
113 LIBPANEL?= ${DESTDIR}${LIBDIR}/libpanel.a
114 LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a
115 LIBPMC?= ${DESTDIR}${LIBDIR}/libpmc.a
116 LIBPTHREAD?= ${DESTDIR}${LIBDIR}/libpthread.a
117 LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a
118 LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a
119 LIBROKEN?= ${DESTDIR}${LIBDIR}/libroken.a
120 LIBRPCSVC?= ${DESTDIR}${LIBDIR}/librpcsvc.a
121 LIBSBUF?= ${DESTDIR}${LIBDIR}/libsbuf.a
122 LIBSDP?= ${DESTDIR}${LIBDIR}/libsdp.a
123 LIBSMB?= ${DESTDIR}${LIBDIR}/libsmb.a
124 LIBSSH?= ${DESTDIR}${LIBDIR}/libssh.a
125 LIBSSL?= ${DESTDIR}${LIBDIR}/libssl.a
126 LIBSTAND?= ${DESTDIR}${LIBDIR}/libstand.a
127 LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
128 LIBTACPLUS?= ${DESTDIR}${LIBDIR}/libtacplus.a
129 LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a
130 LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP"
131 LIBTINFO?= "don't use LIBTINFO, use LIBNCURSES"
132 LIBUFS?= ${DESTDIR}${LIBDIR}/libufs.a
133 LIBUGIDFW?= ${DESTDIR}${LIBDIR}/libugidfw.a
134 LIBUSBHID?= ${DESTDIR}${LIBDIR}/libusbhid.a
135 LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a
136 LIBVGL?= ${DESTDIR}${LIBDIR}/libvgl.a
137 LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a
138 LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a
139 LIBY?= ${DESTDIR}${LIBDIR}/liby.a
140 LIBYPCLNT?= ${DESTDIR}${LIBDIR}/libypclnt.a
141 LIBZ?= ${DESTDIR}${LIBDIR}/libz.a