ftp: NetBSD uses __dead, and we use __dead2.
[dragonfly.git] / lib / Makefile
CommitLineData
984263bc
MD
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 $
0010e23a 3# $DragonFly: src/lib/Makefile,v 1.35 2008/09/30 12:20:29 hasso Exp $
984263bc
MD
4
5# To satisfy shared library or ELF linkage when only the libraries being
6# built are visible:
7#
8396b091
PA
8# ${_libc_r} must be built before libpthread.
9# libcom_err must be built before libpam.
10# libcrypt must be built before libpam.
50ef37d2 11# libmd must be built before libarchive, libatm, libopie, libradius, and libtacplus.
8396b091 12# libncurses must be built before libdialog and libedit.
984263bc 13# libradius must be built before libpam.
984263bc 14# libsbuf must be built before libcam.
8396b091 15# libtacplus must be built before libpam.
26c2c67b 16# libthread_xu must be built before libpthread.
8396b091 17# libutil must be built before libpam.
9f95f3e0 18# libpthread must be built before libprop.
984263bc
MD
19#
20# Otherwise, the SUBDIR list should be in alphabetical order.
21
8396b091
PA
22SUBDIR_ORDERED= ${_libc_r} \
23 libcom_err \
24 libcrypt \
25 libmd \
26 libncurses \
27 libradius \
28 libsbuf \
29 libtacplus \
30 libthread_xu \
31 libutil \
32 libpthread
33SUBDIR= ${SUBDIR_ORDERED} \
34 csu \
35 i18n_module \
36 libalias \
37 libarchive \
38 libatm \
39 libbluetooth \
40 libbz2 \
41 libc \
42 libc_rtld \
43 libcalendar \
44 libcam \
45 libcompat \
46 libdevattr \
47 libdevinfo \
48 libdevstat \
2f60b541 49 libdl \
157ae757 50 libdm \
8396b091
PA
51 libedit \
52 libevtr \
53 libexpat \
54 libfetch \
55 libfsid \
56 libftpio \
fb464fc9 57 libhammer \
8396b091
PA
58 libipsec \
59 libipx \
60 libkcore \
61 libkiconv \
62 libkinfo \
63 libkvm \
64 libldns \
10cbe914 65 liblzma \
8396b091
PA
66 libm \
67 libmagic \
68 ${_libmilter} \
69 libncp \
70 libnetgraph \
71 libopie \
72 libpam \
73 libpcap \
74 libposix1e \
75 libprop \
76 librpcsvc \
77 librt \
78 libsctp \
79 libsdp \
80 ${_libsm} \
81 libsmb \
82 ${_libsmdb} \
83 ${_libsmutil} \
84 libstand \
0d9ba1e1 85 libtcplay \
8396b091
PA
86 libtelnet \
87 libusbhid \
88 libvgl \
89 libwrap \
90 libxpg4 \
91 liby \
92 libypclnt \
93 libz \
94 pam_module
984263bc 95
d63c503b
MD
96.if exists(${.CURDIR}/compat/${MACHINE_ARCH}/Makefile)
97SUBDIR+= compat/${MACHINE_ARCH}
98.endif
99
cecff5c1 100.if !defined(NO_LIBC_R)
984263bc
MD
101_libc_r= libc_r
102.endif
103
984263bc
MD
104.if !defined(NO_SENDMAIL)
105_libmilter= libmilter
106_libsm= libsm
107_libsmdb= libsmdb
108_libsmutil= libsmutil
109.endif
110
984263bc 111.include <bsd.subdir.mk>