Merge branch 'vendor/EXPAT'
[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 #
19 # Otherwise, the SUBDIR list should be in alphabetical order.
20
21 SUBDIR= csu \
22         libbluetooth libcom_err libcrypt libm libmd libarchive \
23         libncurses libradius librt libtacplus libutil libsbuf \
24         libalias libatm ${_libbind} ${_libbind9} libbz2 libc ${_libc_r} \
25         libcalendar libcam libcompat libdevinfo libdevstat libedit libevent libfetch \
26         libftpio libipsec libipx libisc libkcore libkiconv libkinfo libkvm libmagic \
27         ${_libmilter} ${_libncp} libnetgraph libopie libpam \
28         libpcap libposix1e libsdp libthread_xu libpthread librpcsvc ${_libsm} \
29         ${_libsmb} ${_libsmdb} ${_libsmutil} libstand libtelnet libusbhid \
30         ${_libvgl} libwrap libxpg4 liby libypclnt libz i18n_module pam_module \
31         libc_rtld libsctp
32
33 .if ${MACHINE_ARCH} == "i386"
34 SUBDIR+= libevtr
35 .endif
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_BIND)
46 _libbind=       libbind
47 _libbind9=      libbind9
48 .endif
49
50 .if !defined(NO_SENDMAIL)
51 _libmilter=     libmilter
52 _libsm=         libsm
53 _libsmdb=       libsmdb
54 _libsmutil=     libsmutil
55 .endif
56
57 _libncp=        libncp
58 _libsmb=        libsmb
59 _libvgl=        libvgl
60
61 .include <bsd.subdir.mk>