1# $FreeBSD: head/share/mk/bsd.libnames.mk 89626 2002-01-21 20:42:25Z des $
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+=
77LIBPAM+= ${LIBRADIUS} ${LIBRPCSVC} ${LIBTACPLUS} \
78 ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} \
79 ${LIBUTIL} ${LIBOPIE} ${LIBMD} ${LIBZ}
80MINUSLPAM+= -lradius -lrpcsvc -ltacplus -lssh -lcrypto -lcrypt \
81 -lutil -lopie -lmd -lz
82.endif
83
84LIBPANEL?= ${DESTDIR}${LIBDIR}/libpanel.a
85LIBPC?= ${DESTDIR}${LIBDIR}/libpc.a # XXX doesn't exist
86LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a
87LIBPERL?= ${DESTDIR}${LIBDIR}/libperl.a
88LIBPLOT?= ${DESTDIR}${LIBDIR}/libplot.a # XXX doesn't exist
89LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a
90LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a
91LIBRESOLV?= ${DESTDIR}${LIBDIR}/libresolv.a # XXX doesn't exist
92LIBROKEN?= ${DESTDIR}${LIBDIR}/libroken.a # XXX in secure dist, not base
93LIBRPCSVC?= ${DESTDIR}${LIBDIR}/librpcsvc.a
94LIBSBUF?= ${DESTDIR}${LIBDIR}/libsbuf.a
95LIBSMB?= ${DESTDIR}${LIBDIR}/libsmb.a
96LIBSSL?= ${DESTDIR}${LIBDIR}/libssl.a # XXX in secure dist, not base
97LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
98LIBTACPLUS?= ${DESTDIR}${LIBDIR}/libtacplus.a
99LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a
100LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP"
101LIBTINFO?= "don't use LIBTINFO, use LIBNCURSES"
102LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a
103LIBUSB?= ${DESTDIR}${LIBDIR}/libusb.a
104LIBVGL?= ${DESTDIR}${LIBDIR}/libvgl.a
105LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a
106LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a
107LIBY?= ${DESTDIR}${LIBDIR}/liby.a
108LIBZ?= ${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+=
77LIBPAM+= ${LIBRADIUS} ${LIBRPCSVC} ${LIBTACPLUS} \
78 ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} \
79 ${LIBUTIL} ${LIBOPIE} ${LIBMD} ${LIBZ}
80MINUSLPAM+= -lradius -lrpcsvc -ltacplus -lssh -lcrypto -lcrypt \
81 -lutil -lopie -lmd -lz
82.endif
83
84LIBPANEL?= ${DESTDIR}${LIBDIR}/libpanel.a
85LIBPC?= ${DESTDIR}${LIBDIR}/libpc.a # XXX doesn't exist
86LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a
87LIBPERL?= ${DESTDIR}${LIBDIR}/libperl.a
88LIBPLOT?= ${DESTDIR}${LIBDIR}/libplot.a # XXX doesn't exist
89LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a
90LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a
91LIBRESOLV?= ${DESTDIR}${LIBDIR}/libresolv.a # XXX doesn't exist
92LIBROKEN?= ${DESTDIR}${LIBDIR}/libroken.a # XXX in secure dist, not base
93LIBRPCSVC?= ${DESTDIR}${LIBDIR}/librpcsvc.a
94LIBSBUF?= ${DESTDIR}${LIBDIR}/libsbuf.a
95LIBSMB?= ${DESTDIR}${LIBDIR}/libsmb.a
96LIBSSL?= ${DESTDIR}${LIBDIR}/libssl.a # XXX in secure dist, not base
97LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
98LIBTACPLUS?= ${DESTDIR}${LIBDIR}/libtacplus.a
99LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a
100LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP"
101LIBTINFO?= "don't use LIBTINFO, use LIBNCURSES"
102LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a
103LIBUSB?= ${DESTDIR}${LIBDIR}/libusb.a
104LIBVGL?= ${DESTDIR}${LIBDIR}/libvgl.a
105LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a
106LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a
107LIBY?= ${DESTDIR}${LIBDIR}/liby.a
108LIBZ?= ${DESTDIR}${LIBDIR}/libz.a