1# $FreeBSD: head/share/mk/bsd.libnames.mk 74504 2001-03-20 02:52:56Z jedgar $
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
31LIBFL?= "don't use LIBFL, use LIBL"
32LIBFORMS?= ${DESTDIR}${LIBDIR}/libforms.a
33LIBFTPIO?= ${DESTDIR}${LIBDIR}/libftpio.a
34LIBGPLUSPLUS?= ${DESTDIR}${LIBDIR}/libg++.a
35LIBGCC?= ${DESTDIR}${LIBDIR}/libgcc.a
36LIBGCC_PIC?= ${DESTDIR}${LIBDIR}/libgcc_pic.a
37LIBGMP?= ${DESTDIR}${LIBDIR}/libgmp.a
38LIBGNUREGEX?= ${DESTDIR}${LIBDIR}/libgnuregex.a
39LIBHISTORY?= ${DESTDIR}${LIBDIR}/libhistory.a
40LIBIPSEC?= ${DESTDIR}${LIBDIR}/libipsec.a
41LIBIPX?= ${DESTDIR}${LIBDIR}/libipx.a
42LIBISC?= ${DESTDIR}${LIBDIR}/libisc.a
43LIBKDB?= ${DESTDIR}${LIBDIR}/libkdb.a # XXX in secure dist, not base
44LIBKRB?= ${DESTDIR}${LIBDIR}/libkrb.a # XXX in secure dist, not base
45LIBKEYCAP?= ${DESTDIR}${LIBDIR}/libkeycap.a
46LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a
47LIBL?= ${DESTDIR}${LIBDIR}/libl.a
48LIBLN?= "don't use LIBLN, use LIBL"
49LIBM?= ${DESTDIR}${LIBDIR}/libm.a
50LIBMD?= ${DESTDIR}${LIBDIR}/libmd.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.ifdef MAKE_KERBEROS4
65LIBPAM+= ${LIBKRB} ${LIBCRYPTO} ${LIBCOM_ERR}
66MINUSLPAM+= -lkrb -lcrypto -lcom_err
67.endif
68LIBPAM+= ${LIBRADIUS} ${LIBTACPLUS} ${LIBSKEY} ${LIBCRYPT} ${LIBMD} \
69 ${LIBUTIL} ${LIBOPIE}
70MINUSLPAM+= -lradius -ltacplus -lskey -lcrypt -lmd -lutil -lopie
71.endif
72
73LIBPC?= ${DESTDIR}${LIBDIR}/libpc.a # XXX doesn't exist
74LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a
75LIBPERL?= ${DESTDIR}${LIBDIR}/libperl.a
76LIBPLOT?= ${DESTDIR}${LIBDIR}/libplot.a # XXX doesn't exist
77LIBPOSIX1E?= ${DESTDIR}${LIBDIR}/libposix1e.a
78LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a
79LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a
80LIBRESOLV?= ${DESTDIR}${LIBDIR}/libresolv.a # XXX doesn't exist
81LIBRPCSVC?= ${DESTDIR}${LIBDIR}/librpcsvc.a
82LIBSCRYPT?= "don't use LIBSCRYPT, use LIBCRYPT"
83LIBDESCRYPT?= "don't use LIBDESCRYPT, use LIBCRYPT"
84LIBSCSI?= ${DESTDIR}${LIBDIR}/libscsi.a
85LIBSKEY?= ${DESTDIR}${LIBDIR}/libskey.a
86LIBSS?= ${DESTDIR}${LIBDIR}/libss.a
87LIBSSL?= ${DESTDIR}${LIBDIR}/libssl.a # XXX in secure dist, not base
88LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
89LIBTACPLUS?= ${DESTDIR}${LIBDIR}/libtacplus.a
90LIBTELNET?= ${DESTDIR}${LIBDIR}/libtelnet.a
91LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a
92LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP"
93LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a
94LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a
95LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a
96LIBY?= ${DESTDIR}${LIBDIR}/liby.a
97LIBZ?= ${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
31LIBFL?= "don't use LIBFL, use LIBL"
32LIBFORMS?= ${DESTDIR}${LIBDIR}/libforms.a
33LIBFTPIO?= ${DESTDIR}${LIBDIR}/libftpio.a
34LIBGPLUSPLUS?= ${DESTDIR}${LIBDIR}/libg++.a
35LIBGCC?= ${DESTDIR}${LIBDIR}/libgcc.a
36LIBGCC_PIC?= ${DESTDIR}${LIBDIR}/libgcc_pic.a
37LIBGMP?= ${DESTDIR}${LIBDIR}/libgmp.a
38LIBGNUREGEX?= ${DESTDIR}${LIBDIR}/libgnuregex.a
39LIBHISTORY?= ${DESTDIR}${LIBDIR}/libhistory.a
40LIBIPSEC?= ${DESTDIR}${LIBDIR}/libipsec.a
41LIBIPX?= ${DESTDIR}${LIBDIR}/libipx.a
42LIBISC?= ${DESTDIR}${LIBDIR}/libisc.a
43LIBKDB?= ${DESTDIR}${LIBDIR}/libkdb.a # XXX in secure dist, not base
44LIBKRB?= ${DESTDIR}${LIBDIR}/libkrb.a # XXX in secure dist, not base
45LIBKEYCAP?= ${DESTDIR}${LIBDIR}/libkeycap.a
46LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a
47LIBL?= ${DESTDIR}${LIBDIR}/libl.a
48LIBLN?= "don't use LIBLN, use LIBL"
49LIBM?= ${DESTDIR}${LIBDIR}/libm.a
50LIBMD?= ${DESTDIR}${LIBDIR}/libmd.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.ifdef MAKE_KERBEROS4
65LIBPAM+= ${LIBKRB} ${LIBCRYPTO} ${LIBCOM_ERR}
66MINUSLPAM+= -lkrb -lcrypto -lcom_err
67.endif
68LIBPAM+= ${LIBRADIUS} ${LIBTACPLUS} ${LIBSKEY} ${LIBCRYPT} ${LIBMD} \
69 ${LIBUTIL} ${LIBOPIE}
70MINUSLPAM+= -lradius -ltacplus -lskey -lcrypt -lmd -lutil -lopie
71.endif
72
73LIBPC?= ${DESTDIR}${LIBDIR}/libpc.a # XXX doesn't exist
74LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a
75LIBPERL?= ${DESTDIR}${LIBDIR}/libperl.a
76LIBPLOT?= ${DESTDIR}${LIBDIR}/libplot.a # XXX doesn't exist
77LIBPOSIX1E?= ${DESTDIR}${LIBDIR}/libposix1e.a
78LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a
79LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a
80LIBRESOLV?= ${DESTDIR}${LIBDIR}/libresolv.a # XXX doesn't exist
81LIBRPCSVC?= ${DESTDIR}${LIBDIR}/librpcsvc.a
82LIBSCRYPT?= "don't use LIBSCRYPT, use LIBCRYPT"
83LIBDESCRYPT?= "don't use LIBDESCRYPT, use LIBCRYPT"
84LIBSCSI?= ${DESTDIR}${LIBDIR}/libscsi.a
85LIBSKEY?= ${DESTDIR}${LIBDIR}/libskey.a
86LIBSS?= ${DESTDIR}${LIBDIR}/libss.a
87LIBSSL?= ${DESTDIR}${LIBDIR}/libssl.a # XXX in secure dist, not base
88LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
89LIBTACPLUS?= ${DESTDIR}${LIBDIR}/libtacplus.a
90LIBTELNET?= ${DESTDIR}${LIBDIR}/libtelnet.a
91LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a
92LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP"
93LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a
94LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a
95LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a
96LIBY?= ${DESTDIR}${LIBDIR}/liby.a
97LIBZ?= ${DESTDIR}${LIBDIR}/libz.a