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