1# $FreeBSD: head/share/mk/bsd.libnames.mk 89705 2002-01-23 15:54:17Z ru $
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
7LIBCRT0?= ${DESTDIR}${LIBDIR}/crt0.o
8
9LIBALIAS?= ${DESTDIR}${LIBDIR}/libalias.a
10LIBASN1?= ${DESTDIR}${LIBDIR}/libasn1.a # XXX in secure dist, not base
11LIBATM?= ${DESTDIR}${LIBDIR}/libatm.a
12LIBBZ2?= ${DESTDIR}${LIBDIR}/libbz2.a
13LIBC?= ${DESTDIR}${LIBDIR}/libc.a
14LIBC_PIC?= ${DESTDIR}${LIBDIR}/libc_pic.a
15LIBC_R?= ${DESTDIR}${LIBDIR}/libc_r.a
16LIBCALENDAR?= ${DESTDIR}${LIBDIR}/libcalendar.a
17LIBCAM?= ${DESTDIR}${LIBDIR}/libcam.a
18LIBCIPHER?= ${DESTDIR}${LIBDIR}/libcipher.a # XXX in secure dist, not base
19LIBCOM_ERR?= ${DESTDIR}${LIBDIR}/libcom_err.a
20LIBCOMPAT?= ${DESTDIR}${LIBDIR}/libcompat.a
21LIBCRYPT?= ${DESTDIR}${LIBDIR}/libcrypt.a
22LIBCRYPTO?= ${DESTDIR}${LIBDIR}/libcrypto.a # XXX in secure dist, not base
23LIBCURSES?= ${DESTDIR}${LIBDIR}/libcurses.a
24LIBDES?= ${DESTDIR}${LIBDIR}/libdes.a # XXX in secure dist, not base
25LIBDEVINFO?= ${DESTDIR}${LIBDIR}/libdevinfo.a
26LIBDEVSTAT?= ${DESTDIR}${LIBDIR}/libdevstat.a
27LIBDIALOG?= ${DESTDIR}${LIBDIR}/libdialog.a
28LIBDISK?= ${DESTDIR}${LIBDIR}/libdisk.a
29LIBEDIT?= ${DESTDIR}${LIBDIR}/libedit.a
30LIBFETCH?= ${DESTDIR}${LIBDIR}/libfetch.a
31LIBFL?= "don't use LIBFL, use LIBL"
32LIBFORM?= ${DESTDIR}${LIBDIR}/libform.a
33LIBFTPIO?= ${DESTDIR}${LIBDIR}/libftpio.a
34LIBG2C?= ${DESTDIR}${LIBDIR}/libg2c.a
35LIBGCC?= ${DESTDIR}${LIBDIR}/libgcc.a
36LIBGNUREGEX?= ${DESTDIR}${LIBDIR}/libgnuregex.a
37LIBHISTORY?= ${DESTDIR}${LIBDIR}/libhistory.a
38LIBIPSEC?= ${DESTDIR}${LIBDIR}/libipsec.a
39LIBIPX?= ${DESTDIR}${LIBDIR}/libipx.a
40LIBISC?= ${DESTDIR}${LIBDIR}/libisc.a
41LIBKDB?= ${DESTDIR}${LIBDIR}/libkdb.a # XXX in secure dist, not base
42LIBKRB?= ${DESTDIR}${LIBDIR}/libkrb.a # XXX in secure dist, not base
43LIBKRB5?= ${DESTDIR}${LIBDIR}/libkrb5.a # XXX in secure dist, not base
44LIBKEYCAP?= ${DESTDIR}${LIBDIR}/libkeycap.a
45LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a
46LIBL?= ${DESTDIR}${LIBDIR}/libl.a
47LIBLN?= "don't use LIBLN, use LIBL"
48LIBM?= ${DESTDIR}${LIBDIR}/libm.a
49LIBMD?= ${DESTDIR}${LIBDIR}/libmd.a
50LIBMENU?= ${DESTDIR}${LIBDIR}/libmenu.a
51LIBMP?= ${DESTDIR}${LIBDIR}/libmp.a
52LIBMYTINFO?= "don't use LIBMYTINFO, use LIBNCURSES"
53LIBNCP?= ${DESTDIR}${LIBDIR}/libncp.a
54LIBNCURSES?= ${DESTDIR}${LIBDIR}/libncurses.a
55LIBNETGRAPH?= ${DESTDIR}${LIBDIR}/libnetgraph.a
56LIBOBJC?= ${DESTDIR}${LIBDIR}/libobjc.a
57LIBOPIE?= ${DESTDIR}${LIBDIR}/libopie.a
58
59# The static PAM library doesn't know its secondary dependencies,
60# so we have to specify them explictly.
61LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a
62MINUSLPAM?= -lpam
63.if defined(NOSHARED) && ${NOSHARED} != "no" && ${NOSHARED} != "NO"
64.if defined(MAKE_KERBEROS4) || defined(MAKE_KERBEROS5)
65.ifdef MAKE_KERBEROS4
66LIBPAM+= ${LIBKRB}
67MINUSLPAM+= -lkrb
68.endif
69.ifdef MAKE_KERBEROS5
70LIBPAM+= ${LIBKRB5} ${LIBASN1} ${LIBROKEN}
71MINUSLPAM+= -lkrb5 -lasn1 -lroken
72.endif
73LIBPAM+= ${LIBCOM_ERR}
74MINUSLPAM+= -lcom_err
75.endif
76LIBPAM+= ${LIBRADIUS} ${LIBRPCSVC} ${LIBTACPLUS} ${LIBCRYPT} \
77 ${LIBUTIL} ${LIBOPIE} ${LIBMD}
78MINUSLPAM+= -lradius -lrpcsvc -ltacplus -lcrypt \
79 -lutil -lopie -lmd
80.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(NO_OPENSSH)
81LIBPAM+= ${LIBSSH} ${LIBCRYPTO}
82MINUSLPAM+= -lssh -lcrypto
83.endif
84.endif
85
86LIBPANEL?= ${DESTDIR}${LIBDIR}/libpanel.a
87LIBPC?= ${DESTDIR}${LIBDIR}/libpc.a # XXX doesn't exist
88LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a
89LIBPERL?= ${DESTDIR}${LIBDIR}/libperl.a
90LIBPLOT?= ${DESTDIR}${LIBDIR}/libplot.a # XXX doesn't exist
91LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a
92LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a
93LIBRESOLV?= ${DESTDIR}${LIBDIR}/libresolv.a # XXX doesn't exist
94LIBROKEN?= ${DESTDIR}${LIBDIR}/libroken.a # XXX in secure dist, not base
95LIBRPCSVC?= ${DESTDIR}${LIBDIR}/librpcsvc.a
96LIBSBUF?= ${DESTDIR}${LIBDIR}/libsbuf.a
97LIBSMB?= ${DESTDIR}${LIBDIR}/libsmb.a
98LIBSSH?= ${DESTDIR}${LIBDIR}/libssh.a # XXX in secure dist, not base
99LIBSSL?= ${DESTDIR}${LIBDIR}/libssl.a # XXX in secure dist, not base
100LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
101LIBTACPLUS?= ${DESTDIR}${LIBDIR}/libtacplus.a
102LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a
103LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP"
104LIBTINFO?= "don't use LIBTINFO, use LIBNCURSES"
105LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a
106LIBUSB?= ${DESTDIR}${LIBDIR}/libusb.a
107LIBVGL?= ${DESTDIR}${LIBDIR}/libvgl.a
108LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a
109LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a
110LIBY?= ${DESTDIR}${LIBDIR}/liby.a
111LIBZ?= ${DESTDIR}${LIBDIR}/libz.a
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
7LIBCRT0?= ${DESTDIR}${LIBDIR}/crt0.o
8
9LIBALIAS?= ${DESTDIR}${LIBDIR}/libalias.a
10LIBASN1?= ${DESTDIR}${LIBDIR}/libasn1.a # XXX in secure dist, not base
11LIBATM?= ${DESTDIR}${LIBDIR}/libatm.a
12LIBBZ2?= ${DESTDIR}${LIBDIR}/libbz2.a
13LIBC?= ${DESTDIR}${LIBDIR}/libc.a
14LIBC_PIC?= ${DESTDIR}${LIBDIR}/libc_pic.a
15LIBC_R?= ${DESTDIR}${LIBDIR}/libc_r.a
16LIBCALENDAR?= ${DESTDIR}${LIBDIR}/libcalendar.a
17LIBCAM?= ${DESTDIR}${LIBDIR}/libcam.a
18LIBCIPHER?= ${DESTDIR}${LIBDIR}/libcipher.a # XXX in secure dist, not base
19LIBCOM_ERR?= ${DESTDIR}${LIBDIR}/libcom_err.a
20LIBCOMPAT?= ${DESTDIR}${LIBDIR}/libcompat.a
21LIBCRYPT?= ${DESTDIR}${LIBDIR}/libcrypt.a
22LIBCRYPTO?= ${DESTDIR}${LIBDIR}/libcrypto.a # XXX in secure dist, not base
23LIBCURSES?= ${DESTDIR}${LIBDIR}/libcurses.a
24LIBDES?= ${DESTDIR}${LIBDIR}/libdes.a # XXX in secure dist, not base
25LIBDEVINFO?= ${DESTDIR}${LIBDIR}/libdevinfo.a
26LIBDEVSTAT?= ${DESTDIR}${LIBDIR}/libdevstat.a
27LIBDIALOG?= ${DESTDIR}${LIBDIR}/libdialog.a
28LIBDISK?= ${DESTDIR}${LIBDIR}/libdisk.a
29LIBEDIT?= ${DESTDIR}${LIBDIR}/libedit.a
30LIBFETCH?= ${DESTDIR}${LIBDIR}/libfetch.a
31LIBFL?= "don't use LIBFL, use LIBL"
32LIBFORM?= ${DESTDIR}${LIBDIR}/libform.a
33LIBFTPIO?= ${DESTDIR}${LIBDIR}/libftpio.a
34LIBG2C?= ${DESTDIR}${LIBDIR}/libg2c.a
35LIBGCC?= ${DESTDIR}${LIBDIR}/libgcc.a
36LIBGNUREGEX?= ${DESTDIR}${LIBDIR}/libgnuregex.a
37LIBHISTORY?= ${DESTDIR}${LIBDIR}/libhistory.a
38LIBIPSEC?= ${DESTDIR}${LIBDIR}/libipsec.a
39LIBIPX?= ${DESTDIR}${LIBDIR}/libipx.a
40LIBISC?= ${DESTDIR}${LIBDIR}/libisc.a
41LIBKDB?= ${DESTDIR}${LIBDIR}/libkdb.a # XXX in secure dist, not base
42LIBKRB?= ${DESTDIR}${LIBDIR}/libkrb.a # XXX in secure dist, not base
43LIBKRB5?= ${DESTDIR}${LIBDIR}/libkrb5.a # XXX in secure dist, not base
44LIBKEYCAP?= ${DESTDIR}${LIBDIR}/libkeycap.a
45LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a
46LIBL?= ${DESTDIR}${LIBDIR}/libl.a
47LIBLN?= "don't use LIBLN, use LIBL"
48LIBM?= ${DESTDIR}${LIBDIR}/libm.a
49LIBMD?= ${DESTDIR}${LIBDIR}/libmd.a
50LIBMENU?= ${DESTDIR}${LIBDIR}/libmenu.a
51LIBMP?= ${DESTDIR}${LIBDIR}/libmp.a
52LIBMYTINFO?= "don't use LIBMYTINFO, use LIBNCURSES"
53LIBNCP?= ${DESTDIR}${LIBDIR}/libncp.a
54LIBNCURSES?= ${DESTDIR}${LIBDIR}/libncurses.a
55LIBNETGRAPH?= ${DESTDIR}${LIBDIR}/libnetgraph.a
56LIBOBJC?= ${DESTDIR}${LIBDIR}/libobjc.a
57LIBOPIE?= ${DESTDIR}${LIBDIR}/libopie.a
58
59# The static PAM library doesn't know its secondary dependencies,
60# so we have to specify them explictly.
61LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a
62MINUSLPAM?= -lpam
63.if defined(NOSHARED) && ${NOSHARED} != "no" && ${NOSHARED} != "NO"
64.if defined(MAKE_KERBEROS4) || defined(MAKE_KERBEROS5)
65.ifdef MAKE_KERBEROS4
66LIBPAM+= ${LIBKRB}
67MINUSLPAM+= -lkrb
68.endif
69.ifdef MAKE_KERBEROS5
70LIBPAM+= ${LIBKRB5} ${LIBASN1} ${LIBROKEN}
71MINUSLPAM+= -lkrb5 -lasn1 -lroken
72.endif
73LIBPAM+= ${LIBCOM_ERR}
74MINUSLPAM+= -lcom_err
75.endif
76LIBPAM+= ${LIBRADIUS} ${LIBRPCSVC} ${LIBTACPLUS} ${LIBCRYPT} \
77 ${LIBUTIL} ${LIBOPIE} ${LIBMD}
78MINUSLPAM+= -lradius -lrpcsvc -ltacplus -lcrypt \
79 -lutil -lopie -lmd
80.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(NO_OPENSSH)
81LIBPAM+= ${LIBSSH} ${LIBCRYPTO}
82MINUSLPAM+= -lssh -lcrypto
83.endif
84.endif
85
86LIBPANEL?= ${DESTDIR}${LIBDIR}/libpanel.a
87LIBPC?= ${DESTDIR}${LIBDIR}/libpc.a # XXX doesn't exist
88LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a
89LIBPERL?= ${DESTDIR}${LIBDIR}/libperl.a
90LIBPLOT?= ${DESTDIR}${LIBDIR}/libplot.a # XXX doesn't exist
91LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a
92LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a
93LIBRESOLV?= ${DESTDIR}${LIBDIR}/libresolv.a # XXX doesn't exist
94LIBROKEN?= ${DESTDIR}${LIBDIR}/libroken.a # XXX in secure dist, not base
95LIBRPCSVC?= ${DESTDIR}${LIBDIR}/librpcsvc.a
96LIBSBUF?= ${DESTDIR}${LIBDIR}/libsbuf.a
97LIBSMB?= ${DESTDIR}${LIBDIR}/libsmb.a
98LIBSSH?= ${DESTDIR}${LIBDIR}/libssh.a # XXX in secure dist, not base
99LIBSSL?= ${DESTDIR}${LIBDIR}/libssl.a # XXX in secure dist, not base
100LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
101LIBTACPLUS?= ${DESTDIR}${LIBDIR}/libtacplus.a
102LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a
103LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP"
104LIBTINFO?= "don't use LIBTINFO, use LIBNCURSES"
105LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a
106LIBUSB?= ${DESTDIR}${LIBDIR}/libusb.a
107LIBVGL?= ${DESTDIR}${LIBDIR}/libvgl.a
108LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a
109LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a
110LIBY?= ${DESTDIR}${LIBDIR}/liby.a
111LIBZ?= ${DESTDIR}${LIBDIR}/libz.a