lib: Add liblzma to the build order
[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
4 # To satisfy shared library or ELF linkage when only the libraries being
5 # built are visible:
6 #
7 # ${_libc_r} must be built before libpthread.
8 # libcrypt must be built before libpam.
9 # libmd must be built before libarchive, libopie, libradius, and libtacplus.
10 # libncurses must be built before libdialog and libedit.
11 # libradius must be built before libpam.
12 # libsbuf must be built before libcam.
13 # libtacplus must be built before libpam.
14 # libthread_xu must be built before libpthread.
15 # libutil must be built before libpam.
16 # libpthread must be built before liblmza.
17 # libelf must be built before libexecinfo
18 #
19 # Otherwise, the SUBDIR list should be in alphabetical order.
20
21 SUBDIR_ORDERED= ${_libc_r} \
22         libcrypt \
23         libmd \
24         libncurses \
25         libradius \
26         libsbuf \
27         libtacplus \
28         libthread_xu \
29         libutil \
30         libpthread \
31         liblzma \
32         libelf \
33         libexecinfo
34 SUBDIR= ${SUBDIR_ORDERED} \
35         csu \
36         i18n_module \
37         libalias \
38         libarchive \
39         libbluetooth \
40         libbz2 \
41         libc \
42         libc_rtld \
43         libcalendar \
44         libcam \
45         libcompat \
46         libdevattr \
47         libdevinfo \
48         libdevstat \
49         libdl \
50         libdm \
51         ${_libdmsg} \
52         libedit \
53         libevtr \
54         libexpat \
55         libfetch \
56         libfsid \
57         libftpio \
58         libhammer \
59         libipfw3 \
60         libipsec \
61         libkcore \
62         libkiconv \
63         libkinfo \
64         libkvm \
65         libldns \
66         libm \
67         libmagic \
68         libmandoc \
69         ${_libnetgraph} \
70         libopie \
71         libpam \
72         libpcap \
73         libposix1e \
74         libprop \
75         libpuffs \
76         librefuse \
77         librpcsvc \
78         librt \
79         libsdp \
80         ${_libsm} \
81         libsmb \
82         ${_libsmdb} \
83         ${_libsmutil} \
84         libstand \
85         libtcplay \
86         libtelnet \
87         libusb \
88         libu4bhid \
89         libvgl \
90         libwrap \
91         liby \
92         libypclnt \
93         libz \
94         pam_module
95
96 .if make(install)
97 SUBDIR:=        libc ${SUBDIR:Nlibc}
98 .endif
99
100 .if defined(WANT_HAMMER2)
101 _libdmsg=       libdmsg
102 .endif
103
104 .if !defined(NO_LIBC_R)
105 _libc_r=        libc_r
106 .endif
107
108 .if defined(WANT_NETGRAPH7) 
109 _libnetgraph=   libnetgraph7
110 .else
111 _libnetgraph=   libnetgraph
112 .endif
113
114 .include <bsd.subdir.mk>