Makefile revision 1.167 1 1.167 manu # $NetBSD: Makefile,v 1.167 2011/05/09 08:51:18 manu Exp $
2 1.8 mycroft # from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
3 1.21 cgd
4 1.62 thorpej .include <bsd.own.mk>
5 1.62 thorpej
6 1.155 plunky SUBDIR= csu
7 1.155 plunky
8 1.155 plunky .if (${MKGCC} != "no")
9 1.155 plunky .if (${USE_COMPILERCRTSTUFF} == "yes")
10 1.155 plunky SUBDIR+= ../gnu/lib/crtstuff4
11 1.155 plunky .endif
12 1.155 plunky SUBDIR+= ../gnu/lib/libgcc4
13 1.155 plunky .endif
14 1.155 plunky
15 1.155 plunky SUBDIR+= libc
16 1.155 plunky SUBDIR+= .WAIT
17 1.155 plunky
18 1.155 plunky #
19 1.155 plunky # The SUBDIRs above are included here for completeness but should be built
20 1.155 plunky # and installed prior to make(dependall) in this file, as libraries listed
21 1.155 plunky # below will depend on versions from DESTDIR only.
22 1.155 plunky #
23 1.155 plunky
24 1.158 plunky SUBDIR+= i18n_module
25 1.158 plunky
26 1.158 plunky SUBDIR+= libarch \
27 1.158 plunky libbluetooth libbsdmalloc libbz2 \
28 1.158 plunky libcompat libcrypt \
29 1.159 agc libintl libipsec libisns libkvm libm \
30 1.158 plunky libossaudio libpci libpmc libposix libprop libpthread \
31 1.158 plunky libpthread_dbg libpuffs libresolv librmt librpcsvc librt \
32 1.158 plunky librumpclient libtelnet libterminfo \
33 1.158 plunky libusbhid libutil libwrap liby libz
34 1.158 plunky
35 1.158 plunky .if (${MKSKEY} != "no")
36 1.158 plunky SUBDIR+= libskey
37 1.158 plunky .endif
38 1.60 thorpej
39 1.158 plunky .if (${MKCRYPTO} != "no")
40 1.158 plunky SUBDIR+= ../crypto/external/bsd/netpgp/libmj
41 1.158 plunky .endif
42 1.156 christos
43 1.155 plunky .if (${MKMDNS} != "no")
44 1.155 plunky SUBDIR+= ../external/apache2/mDNSResponder/lib
45 1.155 plunky .endif
46 1.155 plunky
47 1.155 plunky SUBDIR+= ../external/bsd/am-utils/lib
48 1.155 plunky
49 1.155 plunky .if (${MKATF} != "no")
50 1.155 plunky SUBDIR+= ../external/bsd/atf/lib
51 1.155 plunky .endif
52 1.155 plunky
53 1.155 plunky SUBDIR+= ../external/bsd/flex/lib
54 1.155 plunky SUBDIR+= ../external/bsd/libdwarf/lib
55 1.155 plunky SUBDIR+= ../external/bsd/libelf/lib
56 1.155 plunky SUBDIR+= ../external/bsd/libevent/lib
57 1.163 matt SUBDIR+= ../external/bsd/liblzf/lib
58 1.158 plunky SUBDIR+= ../external/bsd/libpcap/lib
59 1.155 plunky
60 1.155 plunky SUBDIR+= ../external/mit/lua/lib
61 1.155 plunky
62 1.155 plunky SUBDIR+= ../external/public-domain/xz/lib
63 1.155 plunky
64 1.155 plunky SUBDIR+= ../gnu/lib/libmalloc
65 1.155 plunky
66 1.155 plunky .if (${MKGCC} != "no")
67 1.155 plunky SUBDIR+= ../gnu/lib/libobjc4
68 1.155 plunky .endif
69 1.144 christos
70 1.89 lukem #
71 1.89 lukem # Libraries that depend upon any listed previously
72 1.93 lukem # (and those that depend upon these [and ...])
73 1.89 lukem #
74 1.97 christos #==================== 1st library dependency barrier ====================
75 1.97 christos SUBDIR+= .WAIT
76 1.97 christos
77 1.158 plunky SUBDIR+= libcurses # depends on libterminfo
78 1.162 haad SUBDIR+= libdm # depends on libprop
79 1.158 plunky SUBDIR+= libedit # depends on libterminfo
80 1.165 bouyer SUBDIR+= libquota # depends on libprop and librpcsvc
81 1.113 pooka SUBDIR+= librefuse # depends on libpuffs
82 1.167 manu SUBDIR+= libperfuse # depends on libpuffs
83 1.126 pooka SUBDIR+= librumpuser # depends on libpthread
84 1.126 pooka
85 1.161 rmind .if (${MKNPF} != "no")
86 1.161 rmind SUBDIR+= libnpf # depends on libprop
87 1.161 rmind .endif
88 1.161 rmind
89 1.148 mrg .if (${MKCRYPTO} != "no")
90 1.158 plunky SUBDIR+= ../crypto/external/bsd/openssl/lib # depends on libcrypt
91 1.148 mrg .endif
92 1.139 mrg
93 1.155 plunky SUBDIR+= ../external/bsd/file/lib # depends on libz
94 1.155 plunky
95 1.155 plunky .if (${MKISCSI} != "no")
96 1.155 plunky SUBDIR+= ../external/bsd/iscsi/lib # depends on libpthread
97 1.155 plunky .endif
98 1.155 plunky
99 1.155 plunky SUBDIR+= ../external/bsd/libarchive/lib # depends on libxz
100 1.155 plunky
101 1.163 matt .if (${MKLVM} != "no")
102 1.163 matt SUBDIR+= ../external/gpl2/lvm2/lib # depends on libprop
103 1.163 matt .endif
104 1.163 matt
105 1.155 plunky .if (${MKBINUTILS} != "no")
106 1.155 plunky SUBDIR+= ../external/gpl3/binutils/lib # libbfd depends on libz
107 1.155 plunky .endif
108 1.155 plunky
109 1.155 plunky .if (${MKGCC} != "no" && ${MKCXX} != "no")
110 1.155 plunky SUBDIR+= ../gnu/lib/libstdc++-v3_4 # depends on libm
111 1.155 plunky SUBDIR+= ../gnu/lib/libsupc++4
112 1.155 plunky .endif
113 1.155 plunky
114 1.97 christos #==================== 2nd library dependency barrier ====================
115 1.97 christos SUBDIR+= .WAIT
116 1.97 christos
117 1.158 plunky SUBDIR+= libform # depends on libcurses
118 1.158 plunky
119 1.100 christos .if (${MKKERBEROS} != "no")
120 1.166 elric SUBDIR+= ../crypto/external/bsd/heimdal/lib # depends on libcrypto
121 1.166 elric # libedit, libterminfo,
122 1.100 christos .endif
123 1.100 christos
124 1.158 plunky SUBDIR+= libmenu # depends on libcurses
125 1.158 plunky SUBDIR+= libradius # depends on libcrypto if (${MKCRYPTO} != "no")
126 1.126 pooka SUBDIR+= librump # depends on librumpuser
127 1.124 lukem
128 1.158 plunky .if (${MKCRYPTO} != "no")
129 1.158 plunky SUBDIR+= ../crypto/external/bsd/openssh/lib # depends on libcrypto, libz
130 1.158 plunky SUBDIR+= ../crypto/external/bsd/netpgp/lib # depends on libcrypto, ...
131 1.158 plunky .endif
132 1.158 plunky
133 1.158 plunky SUBDIR+= ../external/bsd/bind/lib # depends on libcrypto
134 1.158 plunky SUBDIR+= ../external/bsd/fetch/lib # depends on libssl
135 1.158 plunky
136 1.158 plunky .if (${MKLDAP} != "no")
137 1.158 plunky SUBDIR+= ../external/bsd/openldap/lib # depends on libcrypto, ...
138 1.158 plunky .endif
139 1.158 plunky
140 1.160 pooka SUBDIR+= librumphijack
141 1.160 pooka
142 1.124 lukem #==================== 3rd library dependency barrier ====================
143 1.124 lukem SUBDIR+= .WAIT
144 1.124 lukem
145 1.143 pooka SUBDIR+= librumpdev # depends on librump
146 1.128 pooka SUBDIR+= librumpnet # depends on librump
147 1.130 pooka SUBDIR+= librumpvfs # depends on librump
148 1.126 pooka
149 1.126 pooka #==================== 4th library dependency barrier ====================
150 1.126 pooka SUBDIR+= .WAIT
151 1.158 plunky
152 1.158 plunky SUBDIR+= libukfs # depends on librumpvfs, librump
153 1.131 pooka
154 1.131 pooka #==================== 5th library dependency barrier ====================
155 1.131 pooka SUBDIR+= .WAIT
156 1.158 plunky
157 1.158 plunky SUBDIR+= libp2k # depends on libukfs, librumpvfs, libpuffs
158 1.158 plunky
159 1.158 plunky .if (${MKPAM} != "no")
160 1.158 plunky SUBDIR+= libpam # depends on libkafs, libkrb5, ...
161 1.158 plunky .endif
162 1.126 pooka
163 1.164 matt #==================== 6th library dependency barrier ====================
164 1.164 matt SUBDIR+= .WAIT
165 1.164 matt
166 1.164 matt .if (${MKCRYPTO} != "no")
167 1.164 matt SUBDIR+= ../crypto/external/bsd/libsaslc # depends on gssapi
168 1.164 matt .endif
169 1.164 matt
170 1.1 cgd .include <bsd.subdir.mk>
171