Add id_t, a general identifier type, per IEEE Std 1003.1, 2004 Edition.
[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.21 2005/05/02 20:19:12 dillon Exp $
4
5 # To satisfy shared library or ELF linkage when only the libraries being
6 # built are visible:
7 #
8 # csu must be built before all shared libaries for ELF.
9 # libcom_err must be built before libkrb and libpam.
10 # libcrypt must be built before libkrb, libpam and libskey.
11 # msun must be built before libg++ and libstdc++.
12 # libmd must be built before libatm, libopie, libradius, libskey, and
13 # libtacplus.
14 # libncurses must be built before libdialog, libedit and libreadline.
15 # libradius must be built before libpam.
16 # libskey must be built before libpam.
17 # libtacplus must be built before libpam.
18 # libutil must be built before libpam.
19 # libsbuf must be built before libcam.
20 #
21 # Otherwise, the SUBDIR list should be in alphabetical order.
22
23 SUBDIR= ${_csu} csu/common libarchive libcom_err libcrypt msun libmd \
24         libncurses libradius libskey libtacplus libutil libsbuf \
25         libalias libatm ${_libbind} libbz2 libc ${_libc_r} libcalendar \
26         libcam libcompat libdevstat libdisk libedit libfetch libftpio \
27         libipsec libipx libisc libkcore libkinfo libkvm libmagic \
28         ${_libmilter} ${_libncp} libnetgraph libopie libpam \
29         libpcap libposix1e librpcsvc ${_libsm} ${_libsmb} ${_libsmdb} \
30         ${_libsmutil} libstand libtelnet libthread_xu libusbhid ${_libvgl} \
31         libwrap libxpg4 liby libz i18n_module libc_rtld
32
33 .if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
34 SUBDIR+= compat/${MACHINE_ARCH}
35 .endif
36
37 _csu=csu/${MACHINE_ARCH}
38
39 .if ${MACHINE_ARCH} == "i386"
40 .if !defined(NOLIBC_R)
41 _libc_r=        libc_r
42 .endif
43 .endif
44
45 .if !defined(NO_BIND)
46 _libbind=       libbind
47 .endif
48
49 .if !defined(NO_SENDMAIL)
50 _libmilter=     libmilter
51 _libsm=         libsm
52 _libsmdb=       libsmdb
53 _libsmutil=     libsmutil
54 .endif
55
56 .if ${MACHINE_ARCH} == "i386"
57 _libncp=        libncp
58 _libsmb=        libsmb
59 _libvgl=        libvgl
60 .endif
61
62 .include <bsd.subdir.mk>