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 14LIBARCHIVE?= ${DESTDIR}${LIBDIR}/libarchive.a 15LIBASN1?= ${DESTDIR}${LIBDIR}/libasn1.a 16LIBATM?= ${DESTDIR}${LIBDIR}/libatm.a 17LIBBEGEMOT?= ${DESTDIR}${LIBDIR}/libbegemot.a 18.if ${MK_BIND_LIBS} != "no" 19LIBBIND?= ${DESTDIR}${LIBDIR}/libbind.a 20LIBBIND9?= ${DESTDIR}${LIBDIR}/libbind9.a 21.endif 22LIBBLUETOOTH?= ${DESTDIR}${LIBDIR}/libbluetooth.a 23LIBBSDXML?= ${DESTDIR}${LIBDIR}/libbsdxml.a 24LIBBSM?= ${DESTDIR}${LIBDIR}/libbsm.a 25LIBBSNMP?= ${DESTDIR}${LIBDIR}/libbsnmp.a 26LIBBZ2?= ${DESTDIR}${LIBDIR}/libbz2.a 27LIBC?= ${DESTDIR}${LIBDIR}/libc.a 28LIBC_PIC?= ${DESTDIR}${LIBDIR}/libc_pic.a 29LIBC_R?= ${DESTDIR}${LIBDIR}/libc_r.a 30LIBCALENDAR?= ${DESTDIR}${LIBDIR}/libcalendar.a 31LIBCAM?= ${DESTDIR}${LIBDIR}/libcam.a 32LIBCOM_ERR?= ${DESTDIR}${LIBDIR}/libcom_err.a 33LIBCOMPAT?= ${DESTDIR}${LIBDIR}/libcompat.a 34LIBCRYPT?= ${DESTDIR}${LIBDIR}/libcrypt.a 35LIBCRYPTO?= ${DESTDIR}${LIBDIR}/libcrypto.a 36LIBCURSES?= ${DESTDIR}${LIBDIR}/libcurses.a 37LIBDEVINFO?= ${DESTDIR}${LIBDIR}/libdevinfo.a 38LIBDEVSTAT?= ${DESTDIR}${LIBDIR}/libdevstat.a 39LIBDIALOG?= ${DESTDIR}${LIBDIR}/libdialog.a 40LIBDISK?= ${DESTDIR}${LIBDIR}/libdisk.a 41LIBDNS?= ${DESTDIR}${LIBDIR}/libdns.a 42LIBEDIT?= ${DESTDIR}${LIBDIR}/libedit.a 43LIBFETCH?= ${DESTDIR}${LIBDIR}/libfetch.a 44LIBFL?= "don't use LIBFL, use LIBL" 45LIBFORM?= ${DESTDIR}${LIBDIR}/libform.a 46LIBFTPIO?= ${DESTDIR}${LIBDIR}/libftpio.a 47LIBG2C?= ${DESTDIR}${LIBDIR}/libg2c.a 48LIBGCC?= ${DESTDIR}${LIBDIR}/libgcc.a 49LIBGCC_PIC?= ${DESTDIR}${LIBDIR}/libgcc_pic.a 50LIBGEOM?= ${DESTDIR}${LIBDIR}/libgeom.a 51LIBGNUREGEX?= ${DESTDIR}${LIBDIR}/libgnuregex.a 52LIBGSSAPI?= ${DESTDIR}${LIBDIR}/libgssapi.a 53LIBHDB?= ${DESTDIR}${LIBDIR}/libhdb.a 54LIBHISTORY?= ${DESTDIR}${LIBDIR}/libhistory.a 55LIBIPSEC?= ${DESTDIR}${LIBDIR}/libipsec.a 56.if ${MK_IPX} != "no" 57LIBIPX?= ${DESTDIR}${LIBDIR}/libipx.a 58.endif 59.if ${MK_BIND_LIBS} != "no" 60LIBISC?= ${DESTDIR}${LIBDIR}/libisc.a 61LIBISCCC?= ${DESTDIR}${LIBDIR}/libisccc.a 62LIBISCCFG?= ${DESTDIR}${LIBDIR}/libisccfg.a 63.endif 64LIBKADM5CLNT?= ${DESTDIR}${LIBDIR}/libkadm5clnt.a 65LIBKADM5SRV?= ${DESTDIR}${LIBDIR}/libkadm5srv.a 66LIBKAFS5?= ${DESTDIR}${LIBDIR}/libkafs5.a 67LIBKEYCAP?= ${DESTDIR}${LIBDIR}/libkeycap.a 68LIBKICONV?= ${DESTDIR}${LIBDIR}/libkiconv.a 69LIBKRB5?= ${DESTDIR}${LIBDIR}/libkrb5.a 70LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a 71LIBL?= ${DESTDIR}${LIBDIR}/libl.a 72LIBLN?= "don't use LIBLN, use LIBL" 73.if ${MK_BIND} != "no" 74LIBLWRES?= ${DESTDIR}${LIBDIR}/liblwres.a 75.endif 76LIBM?= ${DESTDIR}${LIBDIR}/libm.a 77LIBMAGIC?= ${DESTDIR}${LIBDIR}/libmagic.a 78LIBMD?= ${DESTDIR}${LIBDIR}/libmd.a 79LIBMEMSTAT?= ${DESTDIR}${LIBDIR}/libmemstat.a 80LIBMENU?= ${DESTDIR}${LIBDIR}/libmenu.a 81.if ${MK_SENDMAIL} != "no" 82LIBMILTER?= ${DESTDIR}${LIBDIR}/libmilter.a 83.endif 84LIBMP?= ${DESTDIR}${LIBDIR}/libmp.a 85LIBMYTINFO?= "don't use LIBMYTINFO, use LIBNCURSES" 86.if ${MK_NCP} != "no" 87LIBNCP?= ${DESTDIR}${LIBDIR}/libncp.a 88.endif 89LIBNCURSES?= ${DESTDIR}${LIBDIR}/libncurses.a 90LIBNETGRAPH?= ${DESTDIR}${LIBDIR}/libnetgraph.a 91LIBNGATM?= ${DESTDIR}${LIBDIR}/libngatm.a 92LIBOBJC?= ${DESTDIR}${LIBDIR}/libobjc.a 93LIBOPIE?= ${DESTDIR}${LIBDIR}/libopie.a 94 95# The static PAM library doesn't know its secondary dependencies, 96# so we have to specify them explicitly. 97LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a 98MINUSLPAM= -lpam 99.if defined(LDFLAGS) && !empty(LDFLAGS:M-static) 100.if ${MK_KERBEROS} != "no" 101LIBPAM+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \ 102 ${LIBROKEN} ${LIBCOM_ERR} 103MINUSLPAM+= -lkrb5 -lasn1 -lcrypto -lcrypt -lroken -lcom_err 104.endif 105LIBPAM+= ${LIBRADIUS} ${LIBTACPLUS} ${LIBCRYPT} \ 106 ${LIBUTIL} ${LIBOPIE} ${LIBMD} 107MINUSLPAM+= -lradius -ltacplus -lcrypt \ 108 -lutil -lopie -lmd 109.if ${MK_OPENSSH} != "no" 110LIBPAM+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} 111MINUSLPAM+= -lssh -lcrypto -lcrypt 112.endif 113.if ${MK_NIS} != "no" 114LIBPAM+= ${LIBYPCLNT} 115MINUSLPAM+= -lypclnt 116.endif 117.endif 118 119LIBPANEL?= ${DESTDIR}${LIBDIR}/libpanel.a 120LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a 121LIBPMC?= ${DESTDIR}${LIBDIR}/libpmc.a 122LIBPTHREAD?= ${DESTDIR}${LIBDIR}/libpthread.a 123LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a 124LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a 125LIBROKEN?= ${DESTDIR}${LIBDIR}/libroken.a 126LIBRPCSVC?= ${DESTDIR}${LIBDIR}/librpcsvc.a 127LIBSBUF?= ${DESTDIR}${LIBDIR}/libsbuf.a 128LIBSDP?= ${DESTDIR}${LIBDIR}/libsdp.a 129LIBSMB?= ${DESTDIR}${LIBDIR}/libsmb.a 130LIBSSH?= ${DESTDIR}${LIBDIR}/libssh.a 131LIBSSL?= ${DESTDIR}${LIBDIR}/libssl.a 132LIBSTAND?= ${DESTDIR}${LIBDIR}/libstand.a 133LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a 134LIBTACPLUS?= ${DESTDIR}${LIBDIR}/libtacplus.a 135LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a 136LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP" 137LIBTINFO?= "don't use LIBTINFO, use LIBNCURSES" 138LIBUFS?= ${DESTDIR}${LIBDIR}/libufs.a 139LIBUGIDFW?= ${DESTDIR}${LIBDIR}/libugidfw.a 140LIBUSBHID?= ${DESTDIR}${LIBDIR}/libusbhid.a 141LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a 142LIBVGL?= ${DESTDIR}${LIBDIR}/libvgl.a 143LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a 144LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a 145LIBY?= ${DESTDIR}${LIBDIR}/liby.a 146LIBYPCLNT?= ${DESTDIR}${LIBDIR}/libypclnt.a 147LIBZ?= ${DESTDIR}${LIBDIR}/libz.a 148