inpcb: Don't choose lport which could render same addr/port pair
[dragonfly.git] / lib / Makefile
blob1f1eafef4ba463a0bfcfc4d49b77b7dd5aea7bab
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 $
5 # To satisfy shared library or ELF linkage when only the libraries being
6 # built are visible:
8 # ${_libc_r} must be built before libpthread.
9 # libcom_err must be built before libpam.
10 # libcrypt must be built before libpam.
11 # libmd must be built before libarchive, libatm, libopie, libradius, and libtacplus.
12 # libncurses must be built before libdialog and libedit.
13 # libradius must be built before libpam.
14 # libsbuf must be built before libcam.
15 # libtacplus must be built before libpam.
16 # libthread_xu must be built before libpthread.
17 # libutil must be built before libpam.
18 # libpthread must be built before libprop.
20 # Otherwise, the SUBDIR list should be in alphabetical order.
22 SUBDIR_ORDERED= ${_libc_r} \
23 libcom_err \
24 libcrypt \
25 libmd \
26 libncurses \
27 libradius \
28 libsbuf \
29 libtacplus \
30 libthread_xu \
31 libutil \
32 libpthread
33 SUBDIR= ${SUBDIR_ORDERED} \
34 csu \
35 i18n_module \
36 libalias \
37 libarchive \
38 libatm \
39 libbluetooth \
40 libbz2 \
41 libc \
42 libc_rtld \
43 libcalendar \
44 libcam \
45 libcompat \
46 libdevattr \
47 libdevinfo \
48 libdevstat \
49 libdm \
50 libedit \
51 libevtr \
52 libexpat \
53 libfetch \
54 libfsid \
55 libftpio \
56 libipsec \
57 libipx \
58 libkcore \
59 libkiconv \
60 libkinfo \
61 libkvm \
62 libldns \
63 liblzma \
64 libm \
65 libmagic \
66 ${_libmilter} \
67 libncp \
68 libnetgraph \
69 libopie \
70 libpam \
71 libpcap \
72 libposix1e \
73 libprop \
74 librpcsvc \
75 librt \
76 libsctp \
77 libsdp \
78 ${_libsm} \
79 libsmb \
80 ${_libsmdb} \
81 ${_libsmutil} \
82 libstand \
83 libtcplay \
84 libtelnet \
85 libusbhid \
86 libvgl \
87 libwrap \
88 libxpg4 \
89 liby \
90 libypclnt \
91 libz \
92 pam_module
94 .if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
95 SUBDIR+= compat/${MACHINE_ARCH}
96 .endif
98 .if !defined(NO_LIBC_R)
99 _libc_r= libc_r
100 .endif
102 .if !defined(NO_SENDMAIL)
103 _libmilter= libmilter
104 _libsm= libsm
105 _libsmdb= libsmdb
106 _libsmutil= libsmutil
107 .endif
109 .include <bsd.subdir.mk>