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