Remove the old libc_r.
[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 # [Handled by /usr/src/Makefile.inc1, before this Makefile triggers]
8 #    libthread_xu must be built before libpthread.
9 #    libprop must be built before libdevattr
10 #
11 # libcrypt must be built before libfetch, libarchive.
12 # libz must be built before libarchive, libmagic.
13 # libbz2 must be built before libarchive
14 # liblmza must be built before libarchive.
15 # libncurses must be built before libedit.
16 # libsbuf must be built before libcam.
17 # libpcap must be built before libipfw3.
18 # libpthread must be built before librt, and libusb.
19 # libelf must be built before libexecinfo.
20 #
21 # Otherwise, the SUBDIR list should be in alphabetical order.
22
23 SUBDIR_ORDERED= \
24         librecrypto \
25         libressl \
26         libcrypt \
27         libbz2 \
28         liblzma \
29         libz \
30         libutil \
31         libypclnt \
32         libncurses \
33         libsbuf \
34         libthread_xu \
35         libpthread \
36         libfetch \
37         libedit \
38         libcam \
39         libpcap \
40         libprop \
41         librt \
42         libusb \
43         libelf \
44         libexecinfo
45
46 SUBDIR= ${SUBDIR_ORDERED} \
47         csu \
48         i18n_module \
49         libalias \
50         libarchive \
51         libbluetooth \
52         libc \
53         libc_rtld \
54         libcalendar \
55         libcompat \
56         libdevattr \
57         libdevinfo \
58         libdevstat \
59         libdl \
60         libdm \
61         ${_libdmsg} \
62         libefivar \
63         libevtr \
64         libexpat \
65         libfsid \
66         libftpio \
67         libhammer \
68         libipfw3 \
69         libkcore \
70         libkiconv \
71         libkinfo \
72         libkvm \
73         libm \
74         libmagic \
75         ${_libnetgraph} \
76         libpam \
77         libposix1e \
78         librpcsvc \
79         libsdp \
80         ${_libsm} \
81         libsmb \
82         ${_libsmdb} \
83         ${_libsmutil} \
84         libssh \
85         libstand \
86         libtelnet \
87         libu4bhid \
88         libvgl \
89         libwrap \
90         liby
91
92 .if make(install)
93 SUBDIR:=        libc ${SUBDIR:Nlibc}
94 .endif
95
96 _libdmsg=       libdmsg
97
98 SUBDIR+=        libldns \
99                 libtcplay
100
101 .if defined(WANT_NETGRAPH7) 
102 _libnetgraph=   libnetgraph7
103 .else
104 _libnetgraph=   libnetgraph
105 .endif
106
107 .include <bsd.subdir.mk>