Makefile revision 1.162 1 1.162 haad # $NetBSD: Makefile,v 1.162 2011/02/08 03:20:15 haad 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 (${MKKERBEROS} != "no")
36 1.158 plunky SUBDIR+= libcom_err
37 1.158 plunky SUBDIR+= libvers
38 1.158 plunky .endif
39 1.158 plunky
40 1.158 plunky .if (${MKSKEY} != "no")
41 1.158 plunky SUBDIR+= libskey
42 1.158 plunky .endif
43 1.60 thorpej
44 1.158 plunky .if (${MKCRYPTO} != "no")
45 1.158 plunky SUBDIR+= ../crypto/external/bsd/netpgp/libmj
46 1.158 plunky .endif
47 1.156 christos
48 1.155 plunky .if (${MKMDNS} != "no")
49 1.155 plunky SUBDIR+= ../external/apache2/mDNSResponder/lib
50 1.155 plunky .endif
51 1.155 plunky
52 1.155 plunky SUBDIR+= ../external/bsd/am-utils/lib
53 1.155 plunky
54 1.155 plunky .if (${MKATF} != "no")
55 1.155 plunky SUBDIR+= ../external/bsd/atf/lib
56 1.155 plunky .endif
57 1.155 plunky
58 1.155 plunky SUBDIR+= ../external/bsd/flex/lib
59 1.155 plunky SUBDIR+= ../external/bsd/libdwarf/lib
60 1.155 plunky SUBDIR+= ../external/bsd/libelf/lib
61 1.155 plunky SUBDIR+= ../external/bsd/libevent/lib
62 1.158 plunky SUBDIR+= ../external/bsd/libpcap/lib
63 1.155 plunky
64 1.155 plunky SUBDIR+= ../external/mit/lua/lib
65 1.155 plunky
66 1.155 plunky SUBDIR+= ../external/public-domain/xz/lib
67 1.155 plunky
68 1.155 plunky SUBDIR+= ../gnu/lib/libmalloc
69 1.155 plunky
70 1.155 plunky .if (${MKGCC} != "no")
71 1.155 plunky SUBDIR+= ../gnu/lib/libobjc4
72 1.155 plunky .endif
73 1.144 christos
74 1.89 lukem #
75 1.89 lukem # Libraries that depend upon any listed previously
76 1.93 lukem # (and those that depend upon these [and ...])
77 1.89 lukem #
78 1.97 christos #==================== 1st library dependency barrier ====================
79 1.97 christos SUBDIR+= .WAIT
80 1.97 christos
81 1.89 lukem .if (${MKKERBEROS} != "no")
82 1.158 plunky SUBDIR+= libasn1 # depends on libcom_err
83 1.158 plunky SUBDIR+= libroken # depends on libutil, libcrypt
84 1.89 lukem .endif
85 1.97 christos
86 1.158 plunky SUBDIR+= libcurses # depends on libterminfo
87 1.162 haad SUBDIR+= libdm # depends on libprop
88 1.158 plunky SUBDIR+= libedit # depends on libterminfo
89 1.113 pooka SUBDIR+= librefuse # depends on libpuffs
90 1.126 pooka SUBDIR+= librumpuser # depends on libpthread
91 1.126 pooka
92 1.161 rmind .if (${MKNPF} != "no")
93 1.161 rmind SUBDIR+= libnpf # depends on libprop
94 1.161 rmind .endif
95 1.161 rmind
96 1.148 mrg .if (${MKCRYPTO} != "no")
97 1.158 plunky SUBDIR+= ../crypto/external/bsd/openssl/lib # depends on libcrypt
98 1.148 mrg .endif
99 1.139 mrg
100 1.155 plunky SUBDIR+= ../external/bsd/file/lib # depends on libz
101 1.155 plunky
102 1.155 plunky .if (${MKISCSI} != "no")
103 1.155 plunky SUBDIR+= ../external/bsd/iscsi/lib # depends on libpthread
104 1.155 plunky .endif
105 1.155 plunky
106 1.155 plunky SUBDIR+= ../external/bsd/libarchive/lib # depends on libxz
107 1.155 plunky
108 1.155 plunky .if (${MKBINUTILS} != "no")
109 1.155 plunky SUBDIR+= ../external/gpl3/binutils/lib # libbfd depends on libz
110 1.155 plunky .endif
111 1.155 plunky
112 1.155 plunky .if (${MKGCC} != "no" && ${MKCXX} != "no")
113 1.155 plunky SUBDIR+= ../gnu/lib/libstdc++-v3_4 # depends on libm
114 1.155 plunky SUBDIR+= ../gnu/lib/libsupc++4
115 1.155 plunky .endif
116 1.155 plunky
117 1.97 christos #==================== 2nd library dependency barrier ====================
118 1.97 christos SUBDIR+= .WAIT
119 1.97 christos
120 1.158 plunky SUBDIR+= libform # depends on libcurses
121 1.158 plunky
122 1.100 christos .if (${MKKERBEROS} != "no")
123 1.158 plunky SUBDIR+= libhx509 # depends on libcrypto, libasn1, libroken
124 1.158 plunky SUBDIR+= libsl # depends on libedit, libterminfo
125 1.158 plunky SUBDIR+= libss # depends on libedit, libterminfo, ...
126 1.100 christos .endif
127 1.100 christos
128 1.158 plunky SUBDIR+= libmenu # depends on libcurses
129 1.158 plunky SUBDIR+= libradius # depends on libcrypto if (${MKCRYPTO} != "no")
130 1.126 pooka SUBDIR+= librump # depends on librumpuser
131 1.124 lukem
132 1.158 plunky .if (${MKCRYPTO} != "no")
133 1.158 plunky SUBDIR+= ../crypto/external/bsd/openssh/lib # depends on libcrypto, libz
134 1.158 plunky SUBDIR+= ../crypto/external/bsd/netpgp/lib # depends on libcrypto, ...
135 1.158 plunky .endif
136 1.158 plunky
137 1.158 plunky SUBDIR+= ../external/bsd/bind/lib # depends on libcrypto
138 1.158 plunky SUBDIR+= ../external/bsd/fetch/lib # depends on libssl
139 1.158 plunky
140 1.158 plunky .if (${MKLDAP} != "no")
141 1.158 plunky SUBDIR+= ../external/bsd/openldap/lib # depends on libcrypto, ...
142 1.158 plunky .endif
143 1.158 plunky
144 1.160 pooka SUBDIR+= librumphijack
145 1.160 pooka
146 1.124 lukem #==================== 3rd library dependency barrier ====================
147 1.124 lukem SUBDIR+= .WAIT
148 1.124 lukem
149 1.158 plunky .if (${MKKERBEROS} != "no")
150 1.158 plunky SUBDIR+= libkrb5 # depends on libhx509, libcrypto, libasn1, ...
151 1.94 he .endif
152 1.92 lukem
153 1.143 pooka SUBDIR+= librumpdev # depends on librump
154 1.128 pooka SUBDIR+= librumpnet # depends on librump
155 1.130 pooka SUBDIR+= librumpvfs # depends on librump
156 1.126 pooka
157 1.126 pooka #==================== 4th library dependency barrier ====================
158 1.126 pooka SUBDIR+= .WAIT
159 1.158 plunky
160 1.158 plunky .if (${MKKERBEROS} != "no")
161 1.158 plunky SUBDIR+= libhdb # depends on libkrb5, libasn1, libroken
162 1.158 plunky SUBDIR+= libheimntlm # depends on libkrb5, libasn1, libroken
163 1.158 plunky SUBDIR+= libkafs # depends on libkrb5, libroken
164 1.158 plunky .endif
165 1.158 plunky
166 1.158 plunky SUBDIR+= libukfs # depends on librumpvfs, librump
167 1.131 pooka
168 1.131 pooka #==================== 5th library dependency barrier ====================
169 1.131 pooka SUBDIR+= .WAIT
170 1.158 plunky
171 1.158 plunky .if (${MKKERBEROS} != "no")
172 1.158 plunky SUBDIR+= libgssapi # depends on libheimntlm
173 1.158 plunky SUBDIR+= libkadm5clnt # depends on libhdb, libkrb5, libroken
174 1.158 plunky SUBDIR+= libkadm5srv # depends on libhdb, libkrb5, libroken
175 1.158 plunky .endif
176 1.158 plunky
177 1.158 plunky SUBDIR+= libp2k # depends on libukfs, librumpvfs, libpuffs
178 1.158 plunky
179 1.158 plunky .if (${MKPAM} != "no")
180 1.158 plunky SUBDIR+= libpam # depends on libkafs, libkrb5, ...
181 1.158 plunky .endif
182 1.126 pooka
183 1.1 cgd .include <bsd.subdir.mk>
184