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