Use variables for et files too.
[kai/samba-autobuild/.git] / source4 / heimdal_build / config.mk
1 heimdalbuildsrcdir = $(heimdalsrcdir)/../heimdal_build
2
3 #######################
4 # Start SUBSYSTEM HEIMDAL_KDC
5 [SUBSYSTEM::HEIMDAL_KDC]
6 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/kdc
7 PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_KRB5 HEIMDAL_HDB HEIMDAL_HEIM_ASN1 HEIMDAL_DIGEST_ASN1 HEIMDAL_KX509_ASN1
8 PUBLIC_DEPENDENCIES = HEIMDAL_NTLM HEIMDAL_HCRYPTO
9 # End SUBSYSTEM HEIMDAL_KDC
10 #######################
11
12
13 HEIMDAL_KDC_OBJ_FILES = \
14         $(heimdalsrcdir)/kdc/default_config.o \
15         $(heimdalsrcdir)/kdc/kerberos5.o \
16         $(heimdalsrcdir)/kdc/krb5tgs.o \
17         $(heimdalsrcdir)/kdc/pkinit.o \
18         $(heimdalsrcdir)/kdc/log.o \
19         $(heimdalsrcdir)/kdc/misc.o \
20         $(heimdalsrcdir)/kdc/524.o \
21         $(heimdalsrcdir)/kdc/kerberos4.o \
22         $(heimdalsrcdir)/kdc/kaserver.o \
23         $(heimdalsrcdir)/kdc/digest.o \
24         $(heimdalsrcdir)/kdc/process.o \
25         $(heimdalsrcdir)/kdc/windc.o \
26         $(heimdalsrcdir)/kdc/kx509.o
27
28 [SUBSYSTEM::HEIMDAL_NTLM]
29 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/ntlm
30 PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_HCRYPTO HEIMDAL_KRB5
31
32 HEIMDAL_NTLM_OBJ_FILES = \
33         $(heimdalsrcdir)/lib/ntlm/ntlm.o
34
35 [SUBSYSTEM::HEIMDAL_HDB_KEYS]
36 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/hdb
37 PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_HCRYPTO HEIMDAL_KRB5 \
38                                            HEIMDAL_HDB_ASN1
39
40 HEIMDAL_HDB_KEYS_OBJ_FILES = $(heimdalsrcdir)/lib/hdb/keys.o
41
42 #######################
43 # Start SUBSYSTEM HEIMDAL_HDB
44 [SUBSYSTEM::HEIMDAL_HDB]
45 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/hdb
46 PRIVATE_DEPENDENCIES = HDB_LDB HEIMDAL_KRB5 HEIMDAL_HDB_KEYS HEIMDAL_ROKEN HEIMDAL_HCRYPTO HEIMDAL_COM_ERR HEIMDAL_HDB_ASN1
47 # End SUBSYSTEM HEIMDAL_HDB
48 #######################
49
50 HEIMDAL_HDB_OBJ_FILES = \
51         $(heimdalsrcdir)/lib/hdb/db.o \
52         $(heimdalsrcdir)/lib/hdb/dbinfo.o \
53         $(heimdalsrcdir)/lib/hdb/hdb.o \
54         $(heimdalsrcdir)/lib/hdb/ext.o \
55         $(heimdalsrcdir)/lib/hdb/keytab.o \
56         $(heimdalsrcdir)/lib/hdb/mkey.o \
57         $(heimdalsrcdir)/lib/hdb/ndbm.o \
58         $(heimdalsrcdir)/lib/hdb/hdb_err.o
59
60 #######################
61 # Start SUBSYSTEM HEIMDAL_GSSAPI
62 [SUBSYSTEM::HEIMDAL_GSSAPI]
63 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/gssapi -I$(heimdalsrcdir)/lib/gssapi/gssapi -I$(heimdalsrcdir)/lib/gssapi/spnego -I$(heimdalsrcdir)/lib/gssapi/krb5 -I$(heimdalsrcdir)/lib/gssapi/mech
64 PRIVATE_DEPENDENCIES = HEIMDAL_HCRYPTO HEIMDAL_HEIM_ASN1 HEIMDAL_SPNEGO_ASN1
65 PUBLIC_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_KRB5
66 # End SUBSYSTEM HEIMDAL_GSSAPI
67 #######################
68
69 HEIMDAL_GSSAPI_OBJ_FILES = \
70         $(heimdalsrcdir)/lib/gssapi/mech/context.o \
71         $(heimdalsrcdir)/lib/gssapi/mech/gss_krb5.o \
72         $(heimdalsrcdir)/lib/gssapi/mech/gss_mech_switch.o \
73         $(heimdalsrcdir)/lib/gssapi/mech/gss_process_context_token.o \
74         $(heimdalsrcdir)/lib/gssapi/mech/gss_buffer_set.o \
75         $(heimdalsrcdir)/lib/gssapi/mech/gss_add_cred.o \
76         $(heimdalsrcdir)/lib/gssapi/mech/gss_add_oid_set_member.o \
77         $(heimdalsrcdir)/lib/gssapi/mech/gss_compare_name.o \
78         $(heimdalsrcdir)/lib/gssapi/mech/gss_release_oid_set.o \
79         $(heimdalsrcdir)/lib/gssapi/mech/gss_create_empty_oid_set.o \
80         $(heimdalsrcdir)/lib/gssapi/mech/gss_decapsulate_token.o \
81         $(heimdalsrcdir)/lib/gssapi/mech/gss_inquire_cred_by_oid.o \
82         $(heimdalsrcdir)/lib/gssapi/mech/gss_canonicalize_name.o \
83         $(heimdalsrcdir)/lib/gssapi/mech/gss_inquire_sec_context_by_oid.o \
84         $(heimdalsrcdir)/lib/gssapi/mech/gss_inquire_names_for_mech.o \
85         $(heimdalsrcdir)/lib/gssapi/mech/gss_inquire_mechs_for_name.o \
86         $(heimdalsrcdir)/lib/gssapi/mech/gss_wrap_size_limit.o \
87         $(heimdalsrcdir)/lib/gssapi/mech/gss_names.o \
88         $(heimdalsrcdir)/lib/gssapi/mech/gss_verify.o \
89         $(heimdalsrcdir)/lib/gssapi/mech/gss_display_name.o \
90         $(heimdalsrcdir)/lib/gssapi/mech/gss_duplicate_oid.o \
91         $(heimdalsrcdir)/lib/gssapi/mech/gss_display_status.o \
92         $(heimdalsrcdir)/lib/gssapi/mech/gss_release_buffer.o \
93         $(heimdalsrcdir)/lib/gssapi/mech/gss_release_oid.o \
94         $(heimdalsrcdir)/lib/gssapi/mech/gss_test_oid_set_member.o \
95         $(heimdalsrcdir)/lib/gssapi/mech/gss_release_cred.o \
96         $(heimdalsrcdir)/lib/gssapi/mech/gss_set_sec_context_option.o \
97         $(heimdalsrcdir)/lib/gssapi/mech/gss_export_name.o \
98         $(heimdalsrcdir)/lib/gssapi/mech/gss_seal.o \
99         $(heimdalsrcdir)/lib/gssapi/mech/gss_acquire_cred.o \
100         $(heimdalsrcdir)/lib/gssapi/mech/gss_unseal.o \
101         $(heimdalsrcdir)/lib/gssapi/mech/gss_verify_mic.o \
102         $(heimdalsrcdir)/lib/gssapi/mech/gss_accept_sec_context.o \
103         $(heimdalsrcdir)/lib/gssapi/mech/gss_inquire_cred_by_mech.o \
104         $(heimdalsrcdir)/lib/gssapi/mech/gss_indicate_mechs.o \
105         $(heimdalsrcdir)/lib/gssapi/mech/gss_delete_sec_context.o \
106         $(heimdalsrcdir)/lib/gssapi/mech/gss_sign.o \
107         $(heimdalsrcdir)/lib/gssapi/mech/gss_utils.o \
108         $(heimdalsrcdir)/lib/gssapi/mech/gss_init_sec_context.o \
109         $(heimdalsrcdir)/lib/gssapi/mech/gss_oid_equal.o \
110         $(heimdalsrcdir)/lib/gssapi/mech/gss_oid_to_str.o \
111         $(heimdalsrcdir)/lib/gssapi/mech/gss_context_time.o \
112         $(heimdalsrcdir)/lib/gssapi/mech/gss_encapsulate_token.o \
113         $(heimdalsrcdir)/lib/gssapi/mech/gss_get_mic.o \
114         $(heimdalsrcdir)/lib/gssapi/mech/gss_import_sec_context.o \
115         $(heimdalsrcdir)/lib/gssapi/mech/gss_inquire_cred.o \
116         $(heimdalsrcdir)/lib/gssapi/mech/gss_wrap.o \
117         $(heimdalsrcdir)/lib/gssapi/mech/gss_import_name.o \
118         $(heimdalsrcdir)/lib/gssapi/mech/gss_duplicate_name.o \
119         $(heimdalsrcdir)/lib/gssapi/mech/gss_unwrap.o \
120         $(heimdalsrcdir)/lib/gssapi/mech/gss_export_sec_context.o \
121         $(heimdalsrcdir)/lib/gssapi/mech/gss_inquire_context.o \
122         $(heimdalsrcdir)/lib/gssapi/mech/gss_release_name.o \
123         $(heimdalsrcdir)/lib/gssapi/mech/gss_set_cred_option.o \
124         $(heimdalsrcdir)/lib/gssapi/asn1_GSSAPIContextToken.o \
125         $(heimdalsrcdir)/lib/gssapi/spnego/init_sec_context.o \
126         $(heimdalsrcdir)/lib/gssapi/spnego/external.o \
127         $(heimdalsrcdir)/lib/gssapi/spnego/compat.o \
128         $(heimdalsrcdir)/lib/gssapi/spnego/context_stubs.o \
129         $(heimdalsrcdir)/lib/gssapi/spnego/cred_stubs.o \
130         $(heimdalsrcdir)/lib/gssapi/spnego/accept_sec_context.o \
131         $(heimdalsrcdir)/lib/gssapi/krb5/copy_ccache.o \
132         $(heimdalsrcdir)/lib/gssapi/krb5/delete_sec_context.o \
133         $(heimdalsrcdir)/lib/gssapi/krb5/init_sec_context.o \
134         $(heimdalsrcdir)/lib/gssapi/krb5/context_time.o \
135         $(heimdalsrcdir)/lib/gssapi/krb5/init.o \
136         $(heimdalsrcdir)/lib/gssapi/krb5/address_to_krb5addr.o \
137         $(heimdalsrcdir)/lib/gssapi/krb5/get_mic.o \
138         $(heimdalsrcdir)/lib/gssapi/krb5/inquire_context.o \
139         $(heimdalsrcdir)/lib/gssapi/krb5/add_cred.o \
140         $(heimdalsrcdir)/lib/gssapi/krb5/inquire_cred.o \
141         $(heimdalsrcdir)/lib/gssapi/krb5/inquire_cred_by_oid.o \
142         $(heimdalsrcdir)/lib/gssapi/krb5/inquire_cred_by_mech.o \
143         $(heimdalsrcdir)/lib/gssapi/krb5/inquire_mechs_for_name.o \
144         $(heimdalsrcdir)/lib/gssapi/krb5/inquire_names_for_mech.o \
145         $(heimdalsrcdir)/lib/gssapi/krb5/indicate_mechs.o \
146         $(heimdalsrcdir)/lib/gssapi/krb5/inquire_sec_context_by_oid.o \
147         $(heimdalsrcdir)/lib/gssapi/krb5/export_sec_context.o \
148         $(heimdalsrcdir)/lib/gssapi/krb5/import_sec_context.o \
149         $(heimdalsrcdir)/lib/gssapi/krb5/duplicate_name.o \
150         $(heimdalsrcdir)/lib/gssapi/krb5/import_name.o \
151         $(heimdalsrcdir)/lib/gssapi/krb5/compare_name.o \
152         $(heimdalsrcdir)/lib/gssapi/krb5/export_name.o \
153         $(heimdalsrcdir)/lib/gssapi/krb5/canonicalize_name.o \
154         $(heimdalsrcdir)/lib/gssapi/krb5/unwrap.o \
155         $(heimdalsrcdir)/lib/gssapi/krb5/wrap.o \
156         $(heimdalsrcdir)/lib/gssapi/krb5/release_name.o \
157         $(heimdalsrcdir)/lib/gssapi/krb5/cfx.o \
158         $(heimdalsrcdir)/lib/gssapi/krb5/8003.o \
159         $(heimdalsrcdir)/lib/gssapi/krb5/arcfour.o \
160         $(heimdalsrcdir)/lib/gssapi/krb5/encapsulate.o \
161         $(heimdalsrcdir)/lib/gssapi/krb5/display_name.o \
162         $(heimdalsrcdir)/lib/gssapi/krb5/sequence.o \
163         $(heimdalsrcdir)/lib/gssapi/krb5/display_status.o \
164         $(heimdalsrcdir)/lib/gssapi/krb5/release_buffer.o \
165         $(heimdalsrcdir)/lib/gssapi/krb5/external.o \
166         $(heimdalsrcdir)/lib/gssapi/krb5/compat.o \
167         $(heimdalsrcdir)/lib/gssapi/krb5/acquire_cred.o \
168         $(heimdalsrcdir)/lib/gssapi/krb5/release_cred.o \
169         $(heimdalsrcdir)/lib/gssapi/krb5/set_cred_option.o \
170         $(heimdalsrcdir)/lib/gssapi/krb5/decapsulate.o \
171         $(heimdalsrcdir)/lib/gssapi/krb5/verify_mic.o \
172         $(heimdalsrcdir)/lib/gssapi/krb5/accept_sec_context.o \
173         $(heimdalsrcdir)/lib/gssapi/krb5/set_sec_context_option.o \
174         $(heimdalsrcdir)/lib/gssapi/krb5/process_context_token.o \
175         $(heimdalsrcdir)/lib/gssapi/krb5/prf.o
176
177
178 #######################
179 # Start SUBSYSTEM HEIMDAL_KRB5
180 [SUBSYSTEM::HEIMDAL_KRB5]
181 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/krb5 -I$(heimdalsrcdir)/lib/asn1 -I$(heimdalsrcdir)/lib/com_err 
182 PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_PKINIT_ASN1 HEIMDAL_WIND
183 PUBLIC_DEPENDENCIES = HEIMDAL_KRB5_ASN1 HEIMDAL_GLUE HEIMDAL_HX509 HEIMDAL_HCRYPTO
184 # End SUBSYSTEM HEIMDAL_KRB5
185 #######################
186
187 HEIMDAL_KRB5_OBJ_FILES = \
188         $(heimdalsrcdir)/lib/krb5/acache.o \
189         $(heimdalsrcdir)/lib/krb5/add_et_list.o \
190         $(heimdalsrcdir)/lib/krb5/addr_families.o \
191         $(heimdalsrcdir)/lib/krb5/appdefault.o \
192         $(heimdalsrcdir)/lib/krb5/asn1_glue.o \
193         $(heimdalsrcdir)/lib/krb5/auth_context.o \
194         $(heimdalsrcdir)/lib/krb5/build_ap_req.o \
195         $(heimdalsrcdir)/lib/krb5/build_auth.o \
196         $(heimdalsrcdir)/lib/krb5/cache.o \
197         $(heimdalsrcdir)/lib/krb5/changepw.o \
198         $(heimdalsrcdir)/lib/krb5/codec.o \
199         $(heimdalsrcdir)/lib/krb5/config_file.o \
200         $(heimdalsrcdir)/lib/krb5/config_file_netinfo.o \
201         $(heimdalsrcdir)/lib/krb5/constants.o \
202         $(heimdalsrcdir)/lib/krb5/context.o \
203         $(heimdalsrcdir)/lib/krb5/convert_creds.o \
204         $(heimdalsrcdir)/lib/krb5/copy_host_realm.o \
205         $(heimdalsrcdir)/lib/krb5/crc.o \
206         $(heimdalsrcdir)/lib/krb5/creds.o \
207         $(heimdalsrcdir)/lib/krb5/crypto.o \
208         $(heimdalsrcdir)/lib/krb5/data.o \
209         $(heimdalsrcdir)/lib/krb5/eai_to_heim_errno.o \
210         $(heimdalsrcdir)/lib/krb5/error_string.o \
211         $(heimdalsrcdir)/lib/krb5/expand_hostname.o \
212         $(heimdalsrcdir)/lib/krb5/fcache.o \
213         $(heimdalsrcdir)/lib/krb5/free.o \
214         $(heimdalsrcdir)/lib/krb5/free_host_realm.o \
215         $(heimdalsrcdir)/lib/krb5/generate_seq_number.o \
216         $(heimdalsrcdir)/lib/krb5/generate_subkey.o \
217         $(heimdalsrcdir)/lib/krb5/get_cred.o \
218         $(heimdalsrcdir)/lib/krb5/get_default_principal.o \
219         $(heimdalsrcdir)/lib/krb5/get_default_realm.o \
220         $(heimdalsrcdir)/lib/krb5/get_for_creds.o \
221         $(heimdalsrcdir)/lib/krb5/get_host_realm.o \
222         $(heimdalsrcdir)/lib/krb5/get_in_tkt.o \
223         $(heimdalsrcdir)/lib/krb5/get_in_tkt_with_keytab.o \
224         $(heimdalsrcdir)/lib/krb5/get_port.o \
225         $(heimdalsrcdir)/lib/krb5/init_creds.o \
226         $(heimdalsrcdir)/lib/krb5/init_creds_pw.o \
227         $(heimdalsrcdir)/lib/krb5/kcm.o \
228         $(heimdalsrcdir)/lib/krb5/keyblock.o \
229         $(heimdalsrcdir)/lib/krb5/keytab.o \
230         $(heimdalsrcdir)/lib/krb5/keytab_any.o \
231         $(heimdalsrcdir)/lib/krb5/keytab_file.o \
232         $(heimdalsrcdir)/lib/krb5/keytab_memory.o \
233         $(heimdalsrcdir)/lib/krb5/keytab_keyfile.o \
234         $(heimdalsrcdir)/lib/krb5/keytab_krb4.o \
235         $(heimdalsrcdir)/lib/krb5/krbhst.o \
236         $(heimdalsrcdir)/lib/krb5/log.o \
237         $(heimdalsrcdir)/lib/krb5/mcache.o \
238         $(heimdalsrcdir)/lib/krb5/misc.o \
239         $(heimdalsrcdir)/lib/krb5/mk_error.o \
240         $(heimdalsrcdir)/lib/krb5/mk_priv.o \
241         $(heimdalsrcdir)/lib/krb5/mk_rep.o \
242         $(heimdalsrcdir)/lib/krb5/mk_req.o \
243         $(heimdalsrcdir)/lib/krb5/mk_req_ext.o \
244         $(heimdalsrcdir)/lib/krb5/mit_glue.o \
245         $(heimdalsrcdir)/lib/krb5/n-fold.o \
246         $(heimdalsrcdir)/lib/krb5/padata.o \
247         $(heimdalsrcdir)/lib/krb5/pkinit.o \
248         $(heimdalsrcdir)/lib/krb5/plugin.o \
249         $(heimdalsrcdir)/lib/krb5/principal.o \
250         $(heimdalsrcdir)/lib/krb5/pac.o \
251         $(heimdalsrcdir)/lib/krb5/prompter_posix.o \
252         $(heimdalsrcdir)/lib/krb5/rd_cred.o \
253         $(heimdalsrcdir)/lib/krb5/rd_error.o \
254         $(heimdalsrcdir)/lib/krb5/rd_priv.o \
255         $(heimdalsrcdir)/lib/krb5/rd_rep.o \
256         $(heimdalsrcdir)/lib/krb5/rd_req.o \
257         $(heimdalsrcdir)/lib/krb5/replay.o \
258         $(heimdalsrcdir)/lib/krb5/send_to_kdc.o \
259         $(heimdalsrcdir)/lib/krb5/set_default_realm.o \
260         $(heimdalsrcdir)/lib/krb5/store.o \
261         $(heimdalsrcdir)/lib/krb5/store_emem.o \
262         $(heimdalsrcdir)/lib/krb5/store_fd.o \
263         $(heimdalsrcdir)/lib/krb5/store_mem.o \
264         $(heimdalsrcdir)/lib/krb5/ticket.o \
265         $(heimdalsrcdir)/lib/krb5/time.o \
266         $(heimdalsrcdir)/lib/krb5/transited.o \
267         $(heimdalsrcdir)/lib/krb5/v4_glue.o \
268         $(heimdalsrcdir)/lib/krb5/version.o \
269         $(heimdalsrcdir)/lib/krb5/warn.o \
270         $(heimdalsrcdir)/lib/krb5/krb5_err.o \
271         $(heimdalsrcdir)/lib/krb5/heim_err.o \
272         $(heimdalsrcdir)/lib/krb5/k524_err.o \
273         $(heimdalsrcdir)/lib/krb5/krb_err.o
274
275 #######################
276 # Start SUBSYSTEM HEIMDAL_HEIM_ASN1
277 [SUBSYSTEM::HEIMDAL_HEIM_ASN1]
278 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/asn1
279 PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_COM_ERR
280 # End SUBSYSTEM HEIMDAL_KRB5
281 #######################
282
283 HEIMDAL_HEIM_ASN1_OBJ_FILES = \
284         $(heimdalsrcdir)/lib/asn1/der_get.o \
285         $(heimdalsrcdir)/lib/asn1/der_put.o \
286         $(heimdalsrcdir)/lib/asn1/der_free.o \
287         $(heimdalsrcdir)/lib/asn1/der_format.o \
288         $(heimdalsrcdir)/lib/asn1/der_length.o \
289         $(heimdalsrcdir)/lib/asn1/der_copy.o \
290         $(heimdalsrcdir)/lib/asn1/der_cmp.o \
291         $(heimdalsrcdir)/lib/asn1/extra.o \
292         $(heimdalsrcdir)/lib/asn1/timegm.o \
293         $(heimdalsrcdir)/lib/asn1/asn1_err.o
294
295 #######################
296 # Start SUBSYSTEM HEIMDAL_HCRYPTO_IMATH
297 [SUBSYSTEM::HEIMDAL_HCRYPTO_IMATH]
298 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/hcrypto/imath 
299 PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN 
300 # End SUBSYSTEM HEIMDAL_HCRYPTO_IMATH
301 #######################
302
303 HEIMDAL_HCRYPTO_IMATH_OBJ_FILES = \
304         $(heimdalsrcdir)/lib/hcrypto/imath/imath.o \
305         $(heimdalsrcdir)/lib/hcrypto/imath/iprime.o
306
307 [SUBSYSTEM::HEIMDAL_HCRYPTO]
308 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/hcrypto -I$(heimdalsrcdir)/lib
309 PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_HEIM_ASN1 HEIMDAL_HCRYPTO_IMATH HEIMDAL_RFC2459_ASN1
310 # End SUBSYSTEM HEIMDAL_HCRYPTO
311 #######################
312
313 HEIMDAL_HCRYPTO_OBJ_FILES = \
314         $(heimdalsrcdir)/lib/hcrypto/aes.o \
315         $(heimdalsrcdir)/lib/hcrypto/bn.o \
316         $(heimdalsrcdir)/lib/hcrypto/dh.o \
317         $(heimdalsrcdir)/lib/hcrypto/dh-imath.o \
318         $(heimdalsrcdir)/lib/hcrypto/des.o \
319         $(heimdalsrcdir)/lib/hcrypto/dsa.o \
320         $(heimdalsrcdir)/lib/hcrypto/engine.o \
321         $(heimdalsrcdir)/lib/hcrypto/md2.o \
322         $(heimdalsrcdir)/lib/hcrypto/md4.o \
323         $(heimdalsrcdir)/lib/hcrypto/md5.o \
324         $(heimdalsrcdir)/lib/hcrypto/rsa.o \
325         $(heimdalsrcdir)/lib/hcrypto/rsa-imath.o \
326         $(heimdalsrcdir)/lib/hcrypto/rc2.o \
327         $(heimdalsrcdir)/lib/hcrypto/rc4.o \
328         $(heimdalsrcdir)/lib/hcrypto/rijndael-alg-fst.o \
329         $(heimdalsrcdir)/lib/hcrypto/rnd_keys.o \
330         $(heimdalsrcdir)/lib/hcrypto/sha.o \
331         $(heimdalsrcdir)/lib/hcrypto/sha256.o \
332         $(heimdalsrcdir)/lib/hcrypto/ui.o \
333         $(heimdalsrcdir)/lib/hcrypto/evp.o \
334         $(heimdalsrcdir)/lib/hcrypto/pkcs5.o \
335         $(heimdalsrcdir)/lib/hcrypto/pkcs12.o \
336         $(heimdalsrcdir)/lib/hcrypto/rand.o \
337         $(heimdalsrcdir)/lib/hcrypto/rand-egd.o \
338         $(heimdalsrcdir)/lib/hcrypto/rand-unix.o \
339         $(heimdalsrcdir)/lib/hcrypto/rand-fortuna.o \
340         $(heimdalsrcdir)/lib/hcrypto/rand-timer.o \
341         $(heimdalsrcdir)/lib/hcrypto/hmac.o \
342         $(heimdalsrcdir)/lib/hcrypto/camellia.o \
343         $(heimdalsrcdir)/lib/hcrypto/camellia-ntt.o
344
345 #######################
346 # Start SUBSYSTEM HEIMDAL_HX509
347 [SUBSYSTEM::HEIMDAL_HX509]
348 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/hx509 
349 PRIVATE_DEPENDENCIES = \
350         HEIMDAL_ROKEN HEIMDAL_COM_ERR \
351         HEIMDAL_HEIM_ASN1 HEIMDAL_HCRYPTO \
352         HEIMDAL_CMS_ASN1 HEIMDAL_RFC2459_ASN1 \
353         HEIMDAL_OCSP_ASN1 HEIMDAL_PKCS8_ASN1 \
354         HEIMDAL_PKCS9_ASN1 HEIMDAL_PKCS12_ASN1 \
355         HEIMDAL_PKINIT_ASN1 HEIMDAL_PKCS10_ASN1 \
356         HEIMDAL_WIND
357 # End SUBSYSTEM HEIMDAL_HX509
358 #######################
359
360 HEIMDAL_HX509_OBJ_FILES = \
361         $(heimdalsrcdir)/lib/hx509/ca.o \
362         $(heimdalsrcdir)/lib/hx509/cert.o \
363         $(heimdalsrcdir)/lib/hx509/cms.o \
364         $(heimdalsrcdir)/lib/hx509/collector.o \
365         $(heimdalsrcdir)/lib/hx509/crypto.o \
366         $(heimdalsrcdir)/lib/hx509/error.o \
367         $(heimdalsrcdir)/lib/hx509/env.o \
368         $(heimdalsrcdir)/lib/hx509/file.o \
369         $(heimdalsrcdir)/lib/hx509/keyset.o \
370         $(heimdalsrcdir)/lib/hx509/ks_dir.o \
371         $(heimdalsrcdir)/lib/hx509/ks_file.o \
372         $(heimdalsrcdir)/lib/hx509/ks_keychain.o \
373         $(heimdalsrcdir)/lib/hx509/ks_mem.o \
374         $(heimdalsrcdir)/lib/hx509/ks_null.o \
375         $(heimdalsrcdir)/lib/hx509/ks_p11.o \
376         $(heimdalsrcdir)/lib/hx509/ks_p12.o \
377         $(heimdalsrcdir)/lib/hx509/lock.o \
378         $(heimdalsrcdir)/lib/hx509/name.o \
379         $(heimdalsrcdir)/lib/hx509/peer.o \
380         $(heimdalsrcdir)/lib/hx509/print.o \
381         $(heimdalsrcdir)/lib/hx509/req.o \
382         $(heimdalsrcdir)/lib/hx509/revoke.o \
383         $(heimdalsrcdir)/lib/hx509/hx509_err.o
384
385 #######################
386 # Start SUBSYSTEM HEIMDAL_WIND
387 [SUBSYSTEM::HEIMDAL_WIND]
388 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/wind 
389 PRIVATE_DEPENDENCIES = \
390         HEIMDAL_ROKEN HEIMDAL_COM_ERR
391
392 HEIMDAL_WIND_OBJ_FILES = \
393         $(heimdalsrcdir)/lib/wind/wind_err.o \
394         $(heimdalsrcdir)/lib/wind/stringprep.o \
395         $(heimdalsrcdir)/lib/wind/errorlist.o \
396         $(heimdalsrcdir)/lib/wind/errorlist_table.o \
397         $(heimdalsrcdir)/lib/wind/normalize.o \
398         $(heimdalsrcdir)/lib/wind/normalize_table.o \
399         $(heimdalsrcdir)/lib/wind/combining.o \
400         $(heimdalsrcdir)/lib/wind/combining_table.o \
401         $(heimdalsrcdir)/lib/wind/utf8.o \
402         $(heimdalsrcdir)/lib/wind/bidi.o \
403         $(heimdalsrcdir)/lib/wind/bidi_table.o \
404         $(heimdalsrcdir)/lib/wind/ldap.o \
405         $(heimdalsrcdir)/lib/wind/map.o \
406         $(heimdalsrcdir)/lib/wind/map_table.o
407 # End SUBSYSTEM HEIMDAL_WIND
408 #######################
409
410 [SUBSYSTEM::HEIMDAL_ROKEN_GETPROGNAME]
411 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken  -I$(socketwrappersrcdir)
412
413 HEIMDAL_ROKEN_GETPROGNAME_OBJ_FILES = $(heimdalsrcdir)/lib/roken/getprogname.o
414
415 [SUBSYSTEM::HEIMDAL_ROKEN_CLOSEFROM] 
416 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken  -I$(socketwrappersrcdir)
417
418 HEIMDAL_ROKEN_CLOSEFROM_OBJ_FILES = $(heimdalsrcdir)/lib/roken/closefrom.o
419
420 [SUBSYSTEM::HEIMDAL_ROKEN_GETPROGNAME_H] 
421 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken  -I$(socketwrappersrcdir)
422
423 HEIMDAL_ROKEN_GETPROGNAME_H_OBJ_FILES = $(heimdalsrcdir)/lib/roken/getprogname.ho
424
425 #######################
426 # Start SUBSYSTEM HEIMDAL_ROKEN
427 [SUBSYSTEM::HEIMDAL_ROKEN]
428 CFLAGS =  -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken -I$(socketwrappersrcdir)
429 PUBLIC_DEPENDENCIES = \
430                         HEIMDAL_ROKEN_GETPROGNAME \
431                         HEIMDAL_ROKEN_CLOSEFROM \
432                         RESOLV \
433                         LIBREPLACE_NETWORK
434 # End SUBSYSTEM HEIMDAL_ROKEN
435 #######################
436
437 HEIMDAL_ROKEN_OBJ_FILES = \
438         $(heimdalsrcdir)/lib/roken/base64.o \
439         $(heimdalsrcdir)/lib/roken/hex.o \
440         $(heimdalsrcdir)/lib/roken/bswap.o \
441         $(heimdalsrcdir)/lib/roken/dumpdata.o \
442         $(heimdalsrcdir)/lib/roken/emalloc.o \
443         $(heimdalsrcdir)/lib/roken/ecalloc.o \
444         $(heimdalsrcdir)/lib/roken/get_window_size.o \
445         $(heimdalsrcdir)/lib/roken/h_errno.o \
446         $(heimdalsrcdir)/lib/roken/issuid.o \
447         $(heimdalsrcdir)/lib/roken/net_read.o \
448         $(heimdalsrcdir)/lib/roken/net_write.o \
449         $(heimdalsrcdir)/lib/roken/socket.o \
450         $(heimdalsrcdir)/lib/roken/parse_time.o \
451         $(heimdalsrcdir)/lib/roken/parse_units.o \
452         $(heimdalsrcdir)/lib/roken/resolve.o \
453         $(heimdalsrcdir)/lib/roken/roken_gethostby.o \
454         $(heimdalsrcdir)/lib/roken/signal.o \
455         $(heimdalsrcdir)/lib/roken/vis.o \
456         $(heimdalsrcdir)/lib/roken/strlwr.o \
457         $(heimdalsrcdir)/lib/roken/strsep_copy.o \
458         $(heimdalsrcdir)/lib/roken/strsep.o \
459         $(heimdalsrcdir)/lib/roken/strupr.o \
460         $(heimdalsrcdir)/lib/roken/strpool.o \
461         $(heimdalsrcdir)/lib/roken/estrdup.o \
462         $(heimdalsrcdir)/lib/roken/erealloc.o \
463         $(heimdalsrcdir)/lib/roken/simple_exec.o \
464         $(heimdalsrcdir)/lib/roken/strcollect.o \
465         $(heimdalsrcdir)/lib/roken/rtbl.o \
466         $(heimdalbuildsrcdir)/replace.o
467
468 #######################
469 # Start SUBSYSTEM HEIMDAL_GLUE
470 [SUBSYSTEM::HEIMDAL_GLUE]
471 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/krb5 -I$(heimdalsrcdir)/lib/asn1 -I$(heimdalsrcdir)/lib/com_err 
472 PUBLIC_DEPENDENCIES = LIBNETIF LIBSAMBA-HOSTCONFIG
473 # End SUBSYSTEM HEIMDAL_GLUE
474 #######################
475
476 HEIMDAL_GLUE_OBJ_FILES = heimdal_build/glue.o
477
478 #######################
479 # Start SUBSYSTEM HEIMDAL_COM_ERR
480 [SUBSYSTEM::HEIMDAL_COM_ERR]
481 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/com_err
482 PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN
483 # End SUBSYSTEM HEIMDAL_COM_ERR
484 #######################
485
486 HEIMDAL_COM_ERR_OBJ_FILES = \
487         $(heimdalsrcdir)/lib/com_err/com_err.o \
488         $(heimdalsrcdir)/lib/com_err/error.o
489
490 #######################
491 # Start SUBSYSTEM HEIMDAL_ASN1_COMPILE_LEX
492 [SUBSYSTEM::HEIMDAL_ASN1_COMPILE_LEX]
493 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/asn1 -I$(heimdalsrcdir)/lib/roken  -I$(socketwrappersrcdir)
494 # End SUBSYSTEM HEIMDAL_ASN1_COMPILE_LEX
495 #######################
496
497 HEIMDAL_ASN1_COMPILE_LEX_OBJ_FILES = $(heimdalsrcdir)/lib/asn1/lex.ho 
498
499 #######################
500 # Start BINARY asn1_compile
501 [BINARY::asn1_compile]
502 USE_HOSTCC = YES
503 PRIVATE_DEPENDENCIES = HEIMDAL_ASN1_COMPILE_LEX HEIMDAL_ROKEN_GETPROGNAME_H LIBREPLACE_NETWORK
504
505 ASN1C = $(builddir)/bin/asn1_compile
506
507 asn1_compile_OBJ_FILES = \
508         $(heimdalsrcdir)/lib/asn1/main.ho \
509         $(heimdalsrcdir)/lib/asn1/gen.ho \
510         $(heimdalsrcdir)/lib/asn1/gen_copy.ho \
511         $(heimdalsrcdir)/lib/asn1/gen_decode.ho \
512         $(heimdalsrcdir)/lib/asn1/gen_encode.ho \
513         $(heimdalsrcdir)/lib/asn1/gen_free.ho \
514         $(heimdalsrcdir)/lib/asn1/gen_glue.ho \
515         $(heimdalsrcdir)/lib/asn1/gen_length.ho \
516         $(heimdalsrcdir)/lib/asn1/gen_seq.ho \
517         $(heimdalsrcdir)/lib/asn1/hash.ho \
518         $(heimdalsrcdir)/lib/asn1/parse.ho \
519         $(heimdalsrcdir)/lib/roken/emalloc.ho \
520         $(heimdalsrcdir)/lib/roken/getarg.ho \
521         $(heimdalsrcdir)/lib/roken/setprogname.ho \
522         $(heimdalsrcdir)/lib/roken/strupr.ho \
523         $(heimdalsrcdir)/lib/roken/get_window_size.ho \
524         $(heimdalsrcdir)/lib/roken/estrdup.ho \
525         $(heimdalsrcdir)/lib/roken/ecalloc.ho \
526         $(heimdalsrcdir)/lib/asn1/symbol.ho \
527         $(heimdalsrcdir)/lib/vers/print_version.ho \
528         $(socketwrappersrcdir)/socket_wrapper.ho \
529         $(heimdalbuildsrcdir)/replace.ho
530
531 $(asn1_compile_OBJ_FILES): CFLAGS+=-I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken
532
533 # End BINARY asn1_compile
534 #######################
535
536 #######################
537 # Start SUBSYSTEM HEIMDAL_COM_ERR_COMPILE_LEX
538 [SUBSYSTEM::HEIMDAL_COM_ERR_COMPILE_LEX]
539 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/com_err -I$(heimdalsrcdir)/lib/roken  -I$(socketwrappersrcdir)
540 # End SUBSYSTEM HEIMDAL_COM_ERR_COMPILE_LEX
541 #######################
542
543 HEIMDAL_COM_ERR_COMPILE_LEX_OBJ_FILES = $(heimdalsrcdir)/lib/com_err/lex.ho 
544
545 #######################
546 # Start BINARY compile_et
547 [BINARY::compile_et]
548 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken
549 USE_HOSTCC = YES
550 PRIVATE_DEPENDENCIES = HEIMDAL_COM_ERR_COMPILE_LEX HEIMDAL_ROKEN_GETPROGNAME_H LIBREPLACE_NETWORK
551 # End BINARY compile_et
552 #######################
553
554 ET_COMPILER = $(builddir)/bin/compile_et
555
556 compile_et_OBJ_FILES = $(heimdalsrcdir)/lib/vers/print_version.ho \
557         $(heimdalsrcdir)/lib/com_err/parse.ho \
558         $(heimdalsrcdir)/lib/com_err/compile_et.ho \
559         $(heimdalsrcdir)/lib/roken/getarg.ho \
560         $(heimdalsrcdir)/lib/roken/get_window_size.ho \
561         $(heimdalsrcdir)/lib/roken/strupr.ho \
562         $(heimdalsrcdir)/lib/roken/setprogname.ho \
563         $(socketwrappersrcdir)/socket_wrapper.ho \
564         $(heimdalbuildsrcdir)/replace.ho
565
566
567 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/hdb/hdb.asn1 hdb_asn1 \$\(heimdalsrcdir\)/lib/hdb |
568 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/gssapi/spnego/spnego.asn1 spnego_asn1 \$\(heimdalsrcdir\)/lib/gssapi --sequence=MechTypeList |
569 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/gssapi/mech/gssapi.asn1 gssapi_asn1 \$\(heimdalsrcdir\)/lib/gssapi|
570 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/k5.asn1 krb5_asn1 \$\(heimdalsrcdir\)/lib/asn1 --encode-rfc1510-bit-string --sequence=KRB5SignedPathPrincipals --sequence=AuthorizationData --sequence=METHOD-DATA|
571 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/digest.asn1 digest_asn1 \$\(heimdalsrcdir\)/lib/asn1|
572 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/pkcs8.asn1 pkcs8_asn1 \$\(heimdalsrcdir\)/lib/asn1|
573 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/pkcs9.asn1 pkcs9_asn1 \$\(heimdalsrcdir\)/lib/asn1|
574 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/pkcs12.asn1 pkcs12_asn1 \$\(heimdalsrcdir\)/lib/asn1|
575 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/rfc2459.asn1 rfc2459_asn1 \$\(heimdalsrcdir\)/lib/asn1 --preserve-binary=TBSCertificate --preserve-binary=TBSCRLCertList --preserve-binary=Name --sequence=GeneralNames --sequence=Extensions --sequence=CRLDistributionPoints|
576 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/pkinit.asn1 pkinit_asn1 \$\(heimdalsrcdir\)/lib/asn1|
577 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/CMS.asn1 cms_asn1 \$\(heimdalsrcdir\)/lib/asn1|
578 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/hx509/ocsp.asn1 ocsp_asn1 \$\(heimdalsrcdir\)/lib/hx509 --preserve-binary=OCSPTBSRequest --preserve-binary=OCSPResponseData|
579 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/kx509.asn1 kx509_asn1 \$\(heimdalsrcdir\)/lib/asn1|
580 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/hx509/pkcs10.asn1 pkcs10_asn1 \$\(heimdalsrcdir\)/lib/hx509 --preserve-binary=CertificationRequestInfo|
581
582 #
583 # Ensure to update ./static_deps.mk when you add a new entry here!
584 #
585 mkinclude perl_path_wrapper.sh et_deps.pl lib/asn1/asn1_err.et \$\(heimdalsrcdir\)/lib/asn1|
586 mkinclude perl_path_wrapper.sh et_deps.pl lib/hdb/hdb_err.et \$\(heimdalsrcdir\)/lib/hdb|
587 mkinclude perl_path_wrapper.sh et_deps.pl lib/krb5/heim_err.et \$\(heimdalsrcdir\)/lib/krb5|
588 mkinclude perl_path_wrapper.sh et_deps.pl lib/krb5/k524_err.et \$\(heimdalsrcdir\)/lib/krb5|
589 mkinclude perl_path_wrapper.sh et_deps.pl lib/krb5/krb_err.et \$\(heimdalsrcdir\)/lib/krb5|
590 mkinclude perl_path_wrapper.sh et_deps.pl lib/krb5/krb5_err.et \$\(heimdalsrcdir\)/lib/krb5|
591 mkinclude perl_path_wrapper.sh et_deps.pl lib/gssapi/krb5/gkrb5_err.et \$\(heimdalsrcdir\)/lib/gssapi|
592 mkinclude perl_path_wrapper.sh et_deps.pl lib/hx509/hx509_err.et \$\(heimdalsrcdir\)/lib/hx509|
593 mkinclude perl_path_wrapper.sh et_deps.pl lib/wind/wind_err.et \$\(heimdalsrcdir\)/lib/wind|
594
595 clean:: 
596         @-rm -f bin/compile_et bin/asn1_compile
597
598 #######################
599 # Start SUBSYSTEM HEIMDAL
600 [SUBSYSTEM::HEIMDAL]
601 CFLAGS = -I$(heimdalbuildsrcdir)
602 PUBLIC_DEPENDENCIES = \
603                 HEIMDAL_GSSAPI HEIMDAL_KRB5
604 # End SUBSYSTEM HEIMDAL
605 #######################
606
607 HEIMDAL_OBJ_FILES = $(heimdalsrcdir)/lib/vers/print_version.o
608
609 #######################
610 # Start BINARY compile_et
611 [BINARY::samba4kinit]
612 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken
613 PRIVATE_DEPENDENCIES = HEIMDAL_KRB5 HEIMDAL_NTLM
614 # End BINARY compile_et
615 #######################
616
617 samba4kinit_OBJ_FILES = $(heimdalsrcdir)/kuser/kinit.o \
618         $(heimdalsrcdir)/lib/vers/print_version.o \
619         $(heimdalsrcdir)/lib/roken/setprogname.o \
620         $(heimdalsrcdir)/lib/roken/getarg.o 
621
622 dist:: $(heimdalsrcdir)/lib/asn1/lex.c $(heimdalsrcdir)/lib/com_err/lex.c \
623         $(heimdalsrcdir)/lib/asn1/parse.c $(heimdalsrcdir)/lib/com_err/parse.c