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 16LIBATF_C?= ${DESTDIR}${LIBDIR}/libatf-c.a 17LIBATF_CXX?= ${DESTDIR}${LIBDIR}/libatf-c++.a 18LIBATM?= ${DESTDIR}${LIBDIR}/libatm.a 19LIBAUDITD?= ${DESTDIR}${LIBDIR}/libauditd.a 20LIBAVL?= ${DESTDIR}${LIBDIR}/libavl.a 21LIBBEGEMOT?= ${DESTDIR}${LIBDIR}/libbegemot.a 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 27LIBCXXRT?= ${DESTDIR}${LIBDIR}/libcxxrt.a 28LIBCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libc++.a 29LIBC?= ${DESTDIR}${LIBDIR}/libc.a 30LIBC_PIC?= ${DESTDIR}${LIBDIR}/libc_pic.a 31LIBCALENDAR?= ${DESTDIR}${LIBDIR}/libcalendar.a 32LIBCAM?= ${DESTDIR}${LIBDIR}/libcam.a 33LIBCAPSICUM?= ${DESTDIR}${LIBDIR}/libcapsicum.a 34LIBCASPER?= ${DESTDIR}${LIBDIR}/libcasper.a 35LIBCOM_ERR?= ${DESTDIR}${LIBDIR}/libcom_err.a 36LIBCOMPAT?= ${DESTDIR}${LIBDIR}/libcompat.a 37LIBCOMPILER_RT?=${DESTDIR}${LIBDIR}/libcompiler_rt.a 38LIBCRYPT?= ${DESTDIR}${LIBDIR}/libcrypt.a 39LIBCRYPTO?= ${DESTDIR}${LIBDIR}/libcrypto.a 40LIBCTF?= ${DESTDIR}${LIBDIR}/libctf.a 41LIBCURSES?= ${DESTDIR}${LIBDIR}/libcurses.a 42LIBDEVINFO?= ${DESTDIR}${LIBDIR}/libdevinfo.a 43LIBDEVSTAT?= ${DESTDIR}${LIBDIR}/libdevstat.a 44LIBDIALOG?= ${DESTDIR}${LIBDIR}/libdialog.a 45LIBDNS?= ${DESTDIR}${LIBDIR}/libdns.a 46LIBDTRACE?= ${DESTDIR}${LIBDIR}/libdtrace.a 47LIBDWARF?= ${DESTDIR}${LIBDIR}/libdwarf.a 48LIBEDIT?= ${DESTDIR}${LIBDIR}/libedit.a 49LIBELF?= ${DESTDIR}${LIBDIR}/libelf.a 50LIBEXECINFO?= ${DESTDIR}${LIBDIR}/libexecinfo.a 51LIBFETCH?= ${DESTDIR}${LIBDIR}/libfetch.a 52LIBFL?= "don't use LIBFL, use LIBL" 53LIBFORM?= ${DESTDIR}${LIBDIR}/libform.a 54LIBG2C?= ${DESTDIR}${LIBDIR}/libg2c.a 55LIBGEOM?= ${DESTDIR}${LIBDIR}/libgeom.a 56LIBGNUREGEX?= ${DESTDIR}${LIBDIR}/libgnuregex.a 57LIBGSSAPI?= ${DESTDIR}${LIBDIR}/libgssapi.a 58LIBGSSAPI_KRB5?= ${DESTDIR}${LIBDIR}/libgssapi_krb5.a 59LIBHDB?= ${DESTDIR}${LIBDIR}/libhdb.a 60LIBHISTORY?= ${DESTDIR}${LIBDIR}/libhistory.a 61LIBHEIMBASE?= ${DESTDIR}${LIBDIR}/libheimbase.a 62LIBHEIMIPCC?= ${DESTDIR}${LIBPRIVATEDIR}/libheimipcc.a 63LIBHEIMIPCS?= ${DESTDIR}${LIBPRIVATEDIR}/libheimipcs.a 64LIBHEIMNTLM?= ${DESTDIR}${LIBDIR}/libheimntlm.a 65LIBHEIMSQLITE?= ${DESTDIR}${LIBDIR}/libheimsqlite.a 66LIBHX509?= ${DESTDIR}${LIBDIR}/libhx509.a 67LIBIPSEC?= ${DESTDIR}${LIBDIR}/libipsec.a 68LIBJAIL?= ${DESTDIR}${LIBDIR}/libjail.a 69LIBKADM5CLNT?= ${DESTDIR}${LIBDIR}/libkadm5clnt.a 70LIBKADM5SRV?= ${DESTDIR}${LIBDIR}/libkadm5srv.a 71LIBKAFS5?= ${DESTDIR}${LIBDIR}/libkafs5.a 72LIBKDC?= ${DESTDIR}${LIBDIR}/libkdc.a 73LIBKEYCAP?= ${DESTDIR}${LIBDIR}/libkeycap.a 74LIBKICONV?= ${DESTDIR}${LIBDIR}/libkiconv.a 75LIBKRB5?= ${DESTDIR}${LIBDIR}/libkrb5.a 76LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a 77LIBL?= ${DESTDIR}${LIBDIR}/libl.a 78LIBLDNS?= ${DESTDIR}${LIBPRIVATEDIR}/libldns.a 79LIBLN?= "don't use LIBLN, use LIBL" 80LIBLZMA?= ${DESTDIR}${LIBDIR}/liblzma.a 81LIBM?= ${DESTDIR}${LIBDIR}/libm.a 82LIBMAGIC?= ${DESTDIR}${LIBDIR}/libmagic.a 83LIBMD?= ${DESTDIR}${LIBDIR}/libmd.a 84LIBMEMSTAT?= ${DESTDIR}${LIBDIR}/libmemstat.a 85LIBMENU?= ${DESTDIR}${LIBDIR}/libmenu.a 86LIBMILTER?= ${DESTDIR}${LIBDIR}/libmilter.a 87LIBMP?= ${DESTDIR}${LIBDIR}/libmp.a 88LIBNCURSES?= ${DESTDIR}${LIBDIR}/libncurses.a 89LIBNCURSESW?= ${DESTDIR}${LIBDIR}/libncursesw.a 90LIBNETGRAPH?= ${DESTDIR}${LIBDIR}/libnetgraph.a 91LIBNGATM?= ${DESTDIR}${LIBDIR}/libngatm.a 92LIBNV?= ${DESTDIR}${LIBDIR}/libnv.a 93LIBNVPAIR?= ${DESTDIR}${LIBDIR}/libnvpair.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. Ths is an unfortunate, 98# but necessary departure from testing MK_ flags to define 99# values here. 100LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a 101MINUSLPAM= -lpam 102.if defined(LDFLAGS) && !empty(LDFLAGS:M-static) 103.if ${MK_KERBEROS} != "no" 104LIBPAM+= ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \ 105 ${LIBROKEN} ${LIBCOM_ERR} 106MINUSLPAM+= -lkrb5 -lhx509 -lasn1 -lcrypto -lcrypt -lroken -lcom_err 107.endif 108LIBPAM+= ${LIBRADIUS} ${LIBTACPLUS} ${LIBCRYPT} \ 109 ${LIBUTIL} ${LIBOPIE} ${LIBMD} 110MINUSLPAM+= -lradius -ltacplus -lcrypt \ 111 -lutil -lopie -lmd 112.if ${MK_OPENSSH} != "no" 113LIBPAM+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} 114MINUSLPAM+= -lssh -lcrypto -lcrypt 115.endif 116.if ${MK_NIS} != "no" 117LIBPAM+= ${LIBYPCLNT} 118MINUSLPAM+= -lypclnt 119.endif 120.endif 121 122LIBPANEL?= ${DESTDIR}${LIBDIR}/libpanel.a 123LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a 124LIBPJDLOG?= ${DESTDIR}${LIBDIR}/libpjdlog.a 125LIBPMC?= ${DESTDIR}${LIBDIR}/libpmc.a 126LIBPROC?= ${DESTDIR}${LIBDIR}/libproc.a 127LIBPROCSTAT?= ${DESTDIR}${LIBDIR}/libprocstat.a 128LIBPTHREAD?= ${DESTDIR}${LIBDIR}/libpthread.a 129LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a 130LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a 131LIBROKEN?= ${DESTDIR}${LIBDIR}/libroken.a 132LIBRPCSVC?= ${DESTDIR}${LIBDIR}/librpcsvc.a 133LIBRPCSEC_GSS?= ${DESTDIR}${LIBDIR}/librpcsec_gss.a 134LIBRT?= ${DESTDIR}${LIBDIR}/librt.a 135LIBRTLD_DB?= ${DESTDIR}${LIBDIR}/librtld_db.a 136LIBSBUF?= ${DESTDIR}${LIBDIR}/libsbuf.a 137LIBSDP?= ${DESTDIR}${LIBDIR}/libsdp.a 138LIBSMB?= ${DESTDIR}${LIBDIR}/libsmb.a 139LIBSSH?= ${DESTDIR}${LIBPRIVATEDIR}/libssh.a 140LIBSSL?= ${DESTDIR}${LIBDIR}/libssl.a 141LIBSTAND?= ${DESTDIR}${LIBDIR}/libstand.a 142LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a 143LIBTACPLUS?= ${DESTDIR}${LIBDIR}/libtacplus.a 144LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a 145LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP" 146LIBTINFO?= "don't use LIBTINFO, use LIBNCURSES" 147LIBUCL?= ${DESTDIR}${LIBPRIVATEDIR}/libucl.a 148LIBUFS?= ${DESTDIR}${LIBDIR}/libufs.a 149LIBUGIDFW?= ${DESTDIR}${LIBDIR}/libugidfw.a 150LIBUMEM?= ${DESTDIR}${LIBDIR}/libumem.a 151LIBUNBOUND?= ${DESTDIR}${LIBPRIVATEDIR}/libunbound.a 152LIBUSBHID?= ${DESTDIR}${LIBDIR}/libusbhid.a 153LIBUSB?= ${DESTDIR}${LIBDIR}/libusb.a 154LIBULOG?= ${DESTDIR}${LIBDIR}/libulog.a 155LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a 156LIBUUTIL?= ${DESTDIR}${LIBDIR}/libuutil.a 157LIBVGL?= ${DESTDIR}${LIBDIR}/libvgl.a 158LIBVMMAPI?= ${DESTDIR}${LIBDIR}/libvmmapi.a 159LIBWIND?= ${DESTDIR}${LIBDIR}/libwind.a 160LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a 161LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a 162LIBY?= ${DESTDIR}${LIBDIR}/liby.a 163LIBYPCLNT?= ${DESTDIR}${LIBDIR}/libypclnt.a 164LIBZ?= ${DESTDIR}${LIBDIR}/libz.a 165LIBZFS?= ${DESTDIR}${LIBDIR}/libzfs.a 166LIBZFS_CORE?= ${DESTDIR}${LIBDIR}/libzfs_core.a 167LIBZPOOL?= ${DESTDIR}${LIBDIR}/libzpool.a 168