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 17LIBAVL?= ${DESTDIR}${LIBDIR}/libavl.a 18LIBBEGEMOT?= ${DESTDIR}${LIBDIR}/libbegemot.a 19.if ${MK_BIND_LIBS} != "no" 20LIBBIND?= ${DESTDIR}${LIBDIR}/libbind.a 21LIBBIND9?= ${DESTDIR}${LIBDIR}/libbind9.a 22.endif 23LIBBLUETOOTH?= ${DESTDIR}${LIBDIR}/libbluetooth.a 24LIBBSDXML?= ${DESTDIR}${LIBDIR}/libbsdxml.a 25LIBBSM?= ${DESTDIR}${LIBDIR}/libbsm.a 26LIBBSNMP?= ${DESTDIR}${LIBDIR}/libbsnmp.a 27LIBBZ2?= ${DESTDIR}${LIBDIR}/libbz2.a 28LIBC?= ${DESTDIR}${LIBDIR}/libc.a 29LIBC_PIC?= ${DESTDIR}${LIBDIR}/libc_pic.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 85.if ${MK_NCP} != "no" 86LIBNCP?= ${DESTDIR}${LIBDIR}/libncp.a 87.endif 88LIBNCURSES?= ${DESTDIR}${LIBDIR}/libncurses.a 89LIBNCURSESW?= ${DESTDIR}${LIBDIR}/libncursesw.a 90LIBNETGRAPH?= ${DESTDIR}${LIBDIR}/libnetgraph.a 91LIBNGATM?= ${DESTDIR}${LIBDIR}/libngatm.a 92LIBNVPAIR?= ${DESTDIR}${LIBDIR}/libnvpair.a 93LIBOBJC?= ${DESTDIR}${LIBDIR}/libobjc.a 94LIBOPIE?= ${DESTDIR}${LIBDIR}/libopie.a 95 96# The static PAM library doesn't know its secondary dependencies, 97# so we have to specify them explicitly. 98LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a 99MINUSLPAM= -lpam 100.if defined(LDFLAGS) && !empty(LDFLAGS:M-static) 101.if ${MK_KERBEROS} != "no" 102LIBPAM+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \ 103 ${LIBROKEN} ${LIBCOM_ERR} 104MINUSLPAM+= -lkrb5 -lasn1 -lcrypto -lcrypt -lroken -lcom_err 105.endif 106LIBPAM+= ${LIBRADIUS} ${LIBTACPLUS} ${LIBCRYPT} \ 107 ${LIBUTIL} ${LIBOPIE} ${LIBMD} 108MINUSLPAM+= -lradius -ltacplus -lcrypt \ 109 -lutil -lopie -lmd 110.if ${MK_OPENSSH} != "no" 111LIBPAM+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} 112MINUSLPAM+= -lssh -lcrypto -lcrypt 113.endif 114.if ${MK_NIS} != "no" 115LIBPAM+= ${LIBYPCLNT} 116MINUSLPAM+= -lypclnt 117.endif 118.endif 119 120LIBPANEL?= ${DESTDIR}${LIBDIR}/libpanel.a 121LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a 122LIBPMC?= ${DESTDIR}${LIBDIR}/libpmc.a 123LIBPTHREAD?= ${DESTDIR}${LIBDIR}/libpthread.a 124LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a 125LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a 126LIBROKEN?= ${DESTDIR}${LIBDIR}/libroken.a 127LIBRPCSVC?= ${DESTDIR}${LIBDIR}/librpcsvc.a 128LIBSBUF?= ${DESTDIR}${LIBDIR}/libsbuf.a 129LIBSDP?= ${DESTDIR}${LIBDIR}/libsdp.a 130LIBSMB?= ${DESTDIR}${LIBDIR}/libsmb.a 131LIBSSH?= ${DESTDIR}${LIBDIR}/libssh.a 132LIBSSL?= ${DESTDIR}${LIBDIR}/libssl.a 133LIBSTAND?= ${DESTDIR}${LIBDIR}/libstand.a 134LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a 135LIBTACPLUS?= ${DESTDIR}${LIBDIR}/libtacplus.a 136LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a 137LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP" 138LIBTINFO?= "don't use LIBTINFO, use LIBNCURSES" 139LIBUFS?= ${DESTDIR}${LIBDIR}/libufs.a 140LIBUGIDFW?= ${DESTDIR}${LIBDIR}/libugidfw.a 141LIBUMEM?= ${DESTDIR}${LIBDIR}/libumem.a 142LIBUSBHID?= ${DESTDIR}${LIBDIR}/libusbhid.a 143LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a 144LIBUUTIL?= ${DESTDIR}${LIBDIR}/libuutil.a 145LIBVGL?= ${DESTDIR}${LIBDIR}/libvgl.a 146LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a 147LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a 148LIBY?= ${DESTDIR}${LIBDIR}/liby.a 149LIBYPCLNT?= ${DESTDIR}${LIBDIR}/libypclnt.a 150LIBZ?= ${DESTDIR}${LIBDIR}/libz.a 151LIBZFS?= ${DESTDIR}${LIBDIR}/libzfs.a 152LIBZPOOL?= ${DESTDIR}${LIBDIR}/libzpool.a 153