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