libldns: Import alternative DNS Library into base
[dragonfly.git] / lib / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/4/93
2 # $FreeBSD: src/lib/Makefile,v 1.107.2.16 2002/10/10 19:24:35 kbyanc Exp $
3 # $DragonFly: src/lib/Makefile,v 1.35 2008/09/30 12:20:29 hasso Exp $
4
5 # To satisfy shared library or ELF linkage when only the libraries being
6 # built are visible:
7 #
8 # libcom_err must be built before libkrb and libpam.
9 # libcrypt must be built before libkrb and libpam.
10 # libmd must be built before libarchive, libatm, libopie, libradius, and libtacplus.
11 # libncurses must be built before libdialog, libedit and libreadline.
12 # libradius must be built before libpam.
13 # libtacplus must be built before libpam.
14 # libutil must be built before libpam.
15 # libsbuf must be built before libcam.
16 # libthread_xu must be built before libpthread.
17 # ${_libc_r} must be built before libpthread.
18 # libpthread must be built before libprop.
19 #
20 # Otherwise, the SUBDIR list should be in alphabetical order.
21
22 SUBDIR= csu \
23         libbluetooth libcom_err libcrypt libm libmd libarchive \
24         libncurses libradius librt libtacplus libutil libsbuf \
25         libalias libatm libbz2 libc ${_libc_r} \
26         libcalendar libcam libcompat libdevinfo libdevstat libedit \
27         libevent libexpat libfetch \
28         libftpio libipsec libipx libldns libkcore libkiconv libkinfo \
29         libkvm libmagic \
30         ${_libmilter} ${_libncp} libnetgraph libopie libpam \
31         libpcap libposix1e libsdp libthread_xu libpthread libprop \
32         librpcsvc ${_libsm} \
33         ${_libsmb} ${_libsmdb} ${_libsmutil} libstand libtelnet libusbhid \
34         ${_libvgl} libwrap libxpg4 liby libypclnt libz i18n_module pam_module \
35         libc_rtld libsctp libevtr
36
37 .if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
38 SUBDIR+= compat/${MACHINE_ARCH}
39 .endif
40
41 .if !defined(NO_LIBC_R)
42 _libc_r=        libc_r
43 .endif
44
45 .if !defined(NO_SENDMAIL)
46 _libmilter=     libmilter
47 _libsm=         libsm
48 _libsmdb=       libsmdb
49 _libsmutil=     libsmutil
50 .endif
51
52 _libncp=        libncp
53 _libsmb=        libsmb
54 _libvgl=        libvgl
55
56 .include <bsd.subdir.mk>