lib/libc: Whitespace fix
[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|libc_r must be built before libpthread.
9 #    libprop must be built before libdevattr
10 #
11 # libcrypt must be built before libfetch, libarchive, and libradius.
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         ${_libc_r} \
25         librecrypto \
26         libressl \
27         libcrypt \
28         libbz2 \
29         liblzma \
30         libz \
31         libutil \
32         libssh \
33         libypclnt \
34         libncurses \
35         libradius \
36         libsbuf \
37         libtacplus \
38         libthread_xu \
39         libpthread \
40         libfetch \
41         libedit \
42         libcam \
43         libpcap \
44         libprop \
45         librt \
46         libusb \
47         libelf \
48         libexecinfo
49
50 SUBDIR= ${SUBDIR_ORDERED} \
51         csu \
52         i18n_module \
53         libalias \
54         libarchive \
55         libbluetooth \
56         libc \
57         libc_rtld \
58         libcalendar \
59         libcompat \
60         libdevattr \
61         libdevinfo \
62         libdevstat \
63         libdl \
64         libdm \
65         ${_libdmsg} \
66         libefivar \
67         libevtr \
68         libexpat \
69         libfsid \
70         libftpio \
71         libhammer \
72         libipfw3 \
73         libkcore \
74         libkiconv \
75         libkinfo \
76         libkvm \
77         libm \
78         libmagic \
79         ${_libnetgraph} \
80         libpam \
81         libposix1e \
82         librpcsvc \
83         libsdp \
84         ${_libsm} \
85         libsmb \
86         ${_libsmdb} \
87         ${_libsmutil} \
88         libstand \
89         libtelnet \
90         libu4bhid \
91         libvgl \
92         libwrap \
93         liby
94
95 .if make(install)
96 SUBDIR:=        libc ${SUBDIR:Nlibc}
97 .endif
98
99 _libdmsg=       libdmsg
100
101 SUBDIR+=        libldns \
102                 libtcplay
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>