1# $FreeBSD: head/share/mk/bsd.libnames.mk 74535 2001-03-20 20:21:08Z 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
7
8LIBCRT0?= ${DESTDIR}${LIBDIR}/crt0.o
9LIBKZHEAD?= ${DESTDIR}${LIBDIR}/kzhead.o
10LIBKZTAIL?= ${DESTDIR}${LIBDIR}/kztail.o
11
12LIBALIAS?= ${DESTDIR}${LIBDIR}/libalias.a
13LIBATM?= ${DESTDIR}${LIBDIR}/libatm.a
14LIBC?= ${DESTDIR}${LIBDIR}/libc.a
15LIBC_R?= ${DESTDIR}${LIBDIR}/libc_r.a
16LIBC_PIC= ${DESTDIR}${LIBDIR}/libc_pic.a
17LIBCALENDAR?= ${DESTDIR}${LIBDIR}/libcalendar.a
18LIBCAM?= ${DESTDIR}${LIBDIR}/libcam.a
19LIBCIPHER?= ${DESTDIR}${LIBDIR}/libcipher.a # XXX in secure dist, not base
20LIBCOM_ERR= ${DESTDIR}${LIBDIR}/libcom_err.a
21LIBCOMPAT?= ${DESTDIR}${LIBDIR}/libcompat.a
22LIBCRYPT?= ${DESTDIR}${LIBDIR}/libcrypt.a
23LIBCRYPTO?= ${DESTDIR}${LIBDIR}/libcrypto.a # XXX in secure dist, not base
24LIBCURSES?= ${DESTDIR}${LIBDIR}/libcurses.a
25LIBDES?= ${DESTDIR}${LIBDIR}/libdes.a # XXX in secure dist, not base
26LIBDEVSTAT?= ${DESTDIR}${LIBDIR}/libdevstat.a
27LIBDIALOG?= ${DESTDIR}${LIBDIR}/libdialog.a
28LIBDISK?= ${DESTDIR}${LIBDIR}/libdisk.a
29LIBEDIT?= ${DESTDIR}${LIBDIR}/libedit.a
30LIBF2C?= ${DESTDIR}${LIBDIR}/libf2c.a
31LIBFETCH?= ${DESTDIR}${LIBDIR}/libfetch.a
32LIBFL?= "don't use LIBFL, use LIBL"
33LIBFORMS?= ${DESTDIR}${LIBDIR}/libforms.a
34LIBFTPIO?= ${DESTDIR}${LIBDIR}/libftpio.a
35LIBGPLUSPLUS?= ${DESTDIR}${LIBDIR}/libg++.a
36LIBGCC?= ${DESTDIR}${LIBDIR}/libgcc.a
37LIBGCC_PIC?= ${DESTDIR}${LIBDIR}/libgcc_pic.a
38LIBGMP?= ${DESTDIR}${LIBDIR}/libgmp.a
39LIBGNUREGEX?= ${DESTDIR}${LIBDIR}/libgnuregex.a
40LIBHISTORY?= ${DESTDIR}${LIBDIR}/libhistory.a
41LIBIPSEC?= ${DESTDIR}${LIBDIR}/libipsec.a
42LIBIPX?= ${DESTDIR}${LIBDIR}/libipx.a
43LIBISC?= ${DESTDIR}${LIBDIR}/libisc.a
44LIBKDB?= ${DESTDIR}${LIBDIR}/libkdb.a # XXX in secure dist, not base
45LIBKRB?= ${DESTDIR}${LIBDIR}/libkrb.a # XXX in secure dist, not base
46LIBKEYCAP?= ${DESTDIR}${LIBDIR}/libkeycap.a
47LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a
48LIBL?= ${DESTDIR}${LIBDIR}/libl.a
49LIBLN?= "don't use LIBLN, use LIBL"
50LIBM?= ${DESTDIR}${LIBDIR}/libm.a
51LIBMD?= ${DESTDIR}${LIBDIR}/libmd.a
52LIBMP?= ${DESTDIR}${LIBDIR}/libmp.a
53LIBMYTINFO?= "don't use LIBMYTINFO, use LIBNCURSES"
54LIBNCP?= ${DESTDIR}${LIBDIR}/libncp.a
55LIBNCURSES?= ${DESTDIR}${LIBDIR}/libncurses.a
56LIBNETGRAPH?= ${DESTDIR}${LIBDIR}/libnetgraph.a
57LIBOBJC?= ${DESTDIR}${LIBDIR}/libobjc.a
58LIBOPIE?= ${DESTDIR}${LIBDIR}/libopie.a
59
60# The static PAM library doesn't know its secondary dependencies,
61# so we have to specify them explictly.
62LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a
63MINUSLPAM?= -lpam
64.if defined(NOSHARED) && ${NOSHARED} != "no" && ${NOSHARED} != "NO"
65.ifdef MAKE_KERBEROS4
66LIBPAM+= ${LIBKRB} ${LIBCRYPTO} ${LIBCOM_ERR}
67MINUSLPAM+= -lkrb -lcrypto -lcom_err
68.endif
69LIBPAM+= ${LIBRADIUS} ${LIBTACPLUS} ${LIBSKEY} ${LIBCRYPT} ${LIBMD} \
70 ${LIBUTIL} ${LIBOPIE}
71MINUSLPAM+= -lradius -ltacplus -lskey -lcrypt -lmd -lutil -lopie
72.endif
73
74LIBPC?= ${DESTDIR}${LIBDIR}/libpc.a # XXX doesn't exist
75LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a
76LIBPERL?= ${DESTDIR}${LIBDIR}/libperl.a
77LIBPLOT?= ${DESTDIR}${LIBDIR}/libplot.a # XXX doesn't exist
78LIBPOSIX1E?= ${DESTDIR}${LIBDIR}/libposix1e.a
79LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a
80LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a
81LIBRESOLV?= ${DESTDIR}${LIBDIR}/libresolv.a # XXX doesn't exist
82LIBRPCSVC?= ${DESTDIR}${LIBDIR}/librpcsvc.a
83LIBSCRYPT?= "don't use LIBSCRYPT, use LIBCRYPT"
84LIBDESCRYPT?= "don't use LIBDESCRYPT, use LIBCRYPT"
85LIBSCSI?= ${DESTDIR}${LIBDIR}/libscsi.a
86LIBSKEY?= ${DESTDIR}${LIBDIR}/libskey.a
87LIBSS?= ${DESTDIR}${LIBDIR}/libss.a
88LIBSSL?= ${DESTDIR}${LIBDIR}/libssl.a # XXX in secure dist, not base
89LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
90LIBTACPLUS?= ${DESTDIR}${LIBDIR}/libtacplus.a
91LIBTELNET?= ${DESTDIR}${LIBDIR}/libtelnet.a
92LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a
93LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP"
94LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a
95LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a
96LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a
97LIBY?= ${DESTDIR}${LIBDIR}/liby.a
98LIBZ?= ${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
7
8LIBCRT0?= ${DESTDIR}${LIBDIR}/crt0.o
9LIBKZHEAD?= ${DESTDIR}${LIBDIR}/kzhead.o
10LIBKZTAIL?= ${DESTDIR}${LIBDIR}/kztail.o
11
12LIBALIAS?= ${DESTDIR}${LIBDIR}/libalias.a
13LIBATM?= ${DESTDIR}${LIBDIR}/libatm.a
14LIBC?= ${DESTDIR}${LIBDIR}/libc.a
15LIBC_R?= ${DESTDIR}${LIBDIR}/libc_r.a
16LIBC_PIC= ${DESTDIR}${LIBDIR}/libc_pic.a
17LIBCALENDAR?= ${DESTDIR}${LIBDIR}/libcalendar.a
18LIBCAM?= ${DESTDIR}${LIBDIR}/libcam.a
19LIBCIPHER?= ${DESTDIR}${LIBDIR}/libcipher.a # XXX in secure dist, not base
20LIBCOM_ERR= ${DESTDIR}${LIBDIR}/libcom_err.a
21LIBCOMPAT?= ${DESTDIR}${LIBDIR}/libcompat.a
22LIBCRYPT?= ${DESTDIR}${LIBDIR}/libcrypt.a
23LIBCRYPTO?= ${DESTDIR}${LIBDIR}/libcrypto.a # XXX in secure dist, not base
24LIBCURSES?= ${DESTDIR}${LIBDIR}/libcurses.a
25LIBDES?= ${DESTDIR}${LIBDIR}/libdes.a # XXX in secure dist, not base
26LIBDEVSTAT?= ${DESTDIR}${LIBDIR}/libdevstat.a
27LIBDIALOG?= ${DESTDIR}${LIBDIR}/libdialog.a
28LIBDISK?= ${DESTDIR}${LIBDIR}/libdisk.a
29LIBEDIT?= ${DESTDIR}${LIBDIR}/libedit.a
30LIBF2C?= ${DESTDIR}${LIBDIR}/libf2c.a
31LIBFETCH?= ${DESTDIR}${LIBDIR}/libfetch.a
32LIBFL?= "don't use LIBFL, use LIBL"
33LIBFORMS?= ${DESTDIR}${LIBDIR}/libforms.a
34LIBFTPIO?= ${DESTDIR}${LIBDIR}/libftpio.a
35LIBGPLUSPLUS?= ${DESTDIR}${LIBDIR}/libg++.a
36LIBGCC?= ${DESTDIR}${LIBDIR}/libgcc.a
37LIBGCC_PIC?= ${DESTDIR}${LIBDIR}/libgcc_pic.a
38LIBGMP?= ${DESTDIR}${LIBDIR}/libgmp.a
39LIBGNUREGEX?= ${DESTDIR}${LIBDIR}/libgnuregex.a
40LIBHISTORY?= ${DESTDIR}${LIBDIR}/libhistory.a
41LIBIPSEC?= ${DESTDIR}${LIBDIR}/libipsec.a
42LIBIPX?= ${DESTDIR}${LIBDIR}/libipx.a
43LIBISC?= ${DESTDIR}${LIBDIR}/libisc.a
44LIBKDB?= ${DESTDIR}${LIBDIR}/libkdb.a # XXX in secure dist, not base
45LIBKRB?= ${DESTDIR}${LIBDIR}/libkrb.a # XXX in secure dist, not base
46LIBKEYCAP?= ${DESTDIR}${LIBDIR}/libkeycap.a
47LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a
48LIBL?= ${DESTDIR}${LIBDIR}/libl.a
49LIBLN?= "don't use LIBLN, use LIBL"
50LIBM?= ${DESTDIR}${LIBDIR}/libm.a
51LIBMD?= ${DESTDIR}${LIBDIR}/libmd.a
52LIBMP?= ${DESTDIR}${LIBDIR}/libmp.a
53LIBMYTINFO?= "don't use LIBMYTINFO, use LIBNCURSES"
54LIBNCP?= ${DESTDIR}${LIBDIR}/libncp.a
55LIBNCURSES?= ${DESTDIR}${LIBDIR}/libncurses.a
56LIBNETGRAPH?= ${DESTDIR}${LIBDIR}/libnetgraph.a
57LIBOBJC?= ${DESTDIR}${LIBDIR}/libobjc.a
58LIBOPIE?= ${DESTDIR}${LIBDIR}/libopie.a
59
60# The static PAM library doesn't know its secondary dependencies,
61# so we have to specify them explictly.
62LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a
63MINUSLPAM?= -lpam
64.if defined(NOSHARED) && ${NOSHARED} != "no" && ${NOSHARED} != "NO"
65.ifdef MAKE_KERBEROS4
66LIBPAM+= ${LIBKRB} ${LIBCRYPTO} ${LIBCOM_ERR}
67MINUSLPAM+= -lkrb -lcrypto -lcom_err
68.endif
69LIBPAM+= ${LIBRADIUS} ${LIBTACPLUS} ${LIBSKEY} ${LIBCRYPT} ${LIBMD} \
70 ${LIBUTIL} ${LIBOPIE}
71MINUSLPAM+= -lradius -ltacplus -lskey -lcrypt -lmd -lutil -lopie
72.endif
73
74LIBPC?= ${DESTDIR}${LIBDIR}/libpc.a # XXX doesn't exist
75LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a
76LIBPERL?= ${DESTDIR}${LIBDIR}/libperl.a
77LIBPLOT?= ${DESTDIR}${LIBDIR}/libplot.a # XXX doesn't exist
78LIBPOSIX1E?= ${DESTDIR}${LIBDIR}/libposix1e.a
79LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a
80LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a
81LIBRESOLV?= ${DESTDIR}${LIBDIR}/libresolv.a # XXX doesn't exist
82LIBRPCSVC?= ${DESTDIR}${LIBDIR}/librpcsvc.a
83LIBSCRYPT?= "don't use LIBSCRYPT, use LIBCRYPT"
84LIBDESCRYPT?= "don't use LIBDESCRYPT, use LIBCRYPT"
85LIBSCSI?= ${DESTDIR}${LIBDIR}/libscsi.a
86LIBSKEY?= ${DESTDIR}${LIBDIR}/libskey.a
87LIBSS?= ${DESTDIR}${LIBDIR}/libss.a
88LIBSSL?= ${DESTDIR}${LIBDIR}/libssl.a # XXX in secure dist, not base
89LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
90LIBTACPLUS?= ${DESTDIR}${LIBDIR}/libtacplus.a
91LIBTELNET?= ${DESTDIR}${LIBDIR}/libtelnet.a
92LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a
93LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP"
94LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a
95LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a
96LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a
97LIBY?= ${DESTDIR}${LIBDIR}/liby.a
98LIBZ?= ${DESTDIR}${LIBDIR}/libz.a