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