Bring in the "Port PUFFS from NetBSD/FreeBSD" GSoC 2011 project results.
[dragonfly.git] / lib / Makefile
CommitLineData
984263bc
MD
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
4# To satisfy shared library or ELF linkage when only the libraries being
5# built are visible:
6#
8396b091
PA
7# ${_libc_r} must be built before libpthread.
8# libcom_err must be built before libpam.
9# libcrypt must be built before libpam.
50ef37d2 10# libmd must be built before libarchive, libatm, libopie, libradius, and libtacplus.
8396b091 11# libncurses must be built before libdialog and libedit.
984263bc 12# libradius must be built before libpam.
984263bc 13# libsbuf must be built before libcam.
8396b091 14# libtacplus must be built before libpam.
26c2c67b 15# libthread_xu must be built before libpthread.
8396b091 16# libutil must be built before libpam.
9f95f3e0 17# libpthread must be built before libprop.
984263bc
MD
18#
19# Otherwise, the SUBDIR list should be in alphabetical order.
20
8396b091
PA
21SUBDIR_ORDERED= ${_libc_r} \
22 libcom_err \
23 libcrypt \
24 libmd \
25 libncurses \
26 libradius \
27 libsbuf \
28 libtacplus \
29 libthread_xu \
30 libutil \
31 libpthread
32SUBDIR= ${SUBDIR_ORDERED} \
33 csu \
34 i18n_module \
35 libalias \
36 libarchive \
37 libatm \
38 libbluetooth \
39 libbz2 \
40 libc \
41 libc_rtld \
42 libcalendar \
43 libcam \
44 libcompat \
45 libdevattr \
46 libdevinfo \
47 libdevstat \
2f60b541 48 libdl \
157ae757 49 libdm \
8396b091
PA
50 libedit \
51 libevtr \
52 libexpat \
53 libfetch \
54 libfsid \
55 libftpio \
fb464fc9 56 libhammer \
8396b091
PA
57 libipsec \
58 libipx \
59 libkcore \
60 libkiconv \
61 libkinfo \
62 libkvm \
63 libldns \
10cbe914 64 liblzma \
8396b091
PA
65 libm \
66 libmagic \
67 ${_libmilter} \
68 libncp \
0b2472ed 69 ${_libnetgraph} \
8396b091
PA
70 libopie \
71 libpam \
72 libpcap \
73 libposix1e \
74 libprop \
ab5617b3
SW
75 libpuffs \
76 librefuse \
8396b091
PA
77 librpcsvc \
78 librt \
79 libsctp \
80 libsdp \
81 ${_libsm} \
82 libsmb \
83 ${_libsmdb} \
84 ${_libsmutil} \
85 libstand \
0d9ba1e1 86 libtcplay \
8396b091
PA
87 libtelnet \
88 libusbhid \
89 libvgl \
90 libwrap \
91 libxpg4 \
92 liby \
93 libypclnt \
94 libz \
95 pam_module
984263bc 96
d63c503b
MD
97.if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
98SUBDIR+= compat/${MACHINE_ARCH}
99.endif
100
cecff5c1 101.if !defined(NO_LIBC_R)
984263bc
MD
102_libc_r= libc_r
103.endif
104
984263bc
MD
105.if !defined(NO_SENDMAIL)
106_libmilter= libmilter
107_libsm= libsm
108_libsmdb= libsmdb
109_libsmutil= libsmutil
110.endif
111
0b2472ed
NA
112.if defined(WANT_NETGRAPH7)
113_libnetgraph= libnetgraph7
114.else
115_libnetgraph= libnetgraph
116.endif
117
984263bc 118.include <bsd.subdir.mk>