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