build with the new heimdal version
[tprouty/samba.git] / source4 / heimdal_build / internal.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/mech/gss_pseudo_random.o \
125         $(heimdalsrcdir)/lib/gssapi/asn1_GSSAPIContextToken.o \
126         $(heimdalsrcdir)/lib/gssapi/spnego/init_sec_context.o \
127         $(heimdalsrcdir)/lib/gssapi/spnego/external.o \
128         $(heimdalsrcdir)/lib/gssapi/spnego/compat.o \
129         $(heimdalsrcdir)/lib/gssapi/spnego/context_stubs.o \
130         $(heimdalsrcdir)/lib/gssapi/spnego/cred_stubs.o \
131         $(heimdalsrcdir)/lib/gssapi/spnego/accept_sec_context.o \
132         $(heimdalsrcdir)/lib/gssapi/krb5/copy_ccache.o \
133         $(heimdalsrcdir)/lib/gssapi/krb5/delete_sec_context.o \
134         $(heimdalsrcdir)/lib/gssapi/krb5/init_sec_context.o \
135         $(heimdalsrcdir)/lib/gssapi/krb5/context_time.o \
136         $(heimdalsrcdir)/lib/gssapi/krb5/init.o \
137         $(heimdalsrcdir)/lib/gssapi/krb5/address_to_krb5addr.o \
138         $(heimdalsrcdir)/lib/gssapi/krb5/get_mic.o \
139         $(heimdalsrcdir)/lib/gssapi/krb5/inquire_context.o \
140         $(heimdalsrcdir)/lib/gssapi/krb5/add_cred.o \
141         $(heimdalsrcdir)/lib/gssapi/krb5/inquire_cred.o \
142         $(heimdalsrcdir)/lib/gssapi/krb5/inquire_cred_by_oid.o \
143         $(heimdalsrcdir)/lib/gssapi/krb5/inquire_cred_by_mech.o \
144         $(heimdalsrcdir)/lib/gssapi/krb5/inquire_mechs_for_name.o \
145         $(heimdalsrcdir)/lib/gssapi/krb5/inquire_names_for_mech.o \
146         $(heimdalsrcdir)/lib/gssapi/krb5/indicate_mechs.o \
147         $(heimdalsrcdir)/lib/gssapi/krb5/inquire_sec_context_by_oid.o \
148         $(heimdalsrcdir)/lib/gssapi/krb5/export_sec_context.o \
149         $(heimdalsrcdir)/lib/gssapi/krb5/import_sec_context.o \
150         $(heimdalsrcdir)/lib/gssapi/krb5/duplicate_name.o \
151         $(heimdalsrcdir)/lib/gssapi/krb5/import_name.o \
152         $(heimdalsrcdir)/lib/gssapi/krb5/compare_name.o \
153         $(heimdalsrcdir)/lib/gssapi/krb5/export_name.o \
154         $(heimdalsrcdir)/lib/gssapi/krb5/canonicalize_name.o \
155         $(heimdalsrcdir)/lib/gssapi/krb5/unwrap.o \
156         $(heimdalsrcdir)/lib/gssapi/krb5/wrap.o \
157         $(heimdalsrcdir)/lib/gssapi/krb5/release_name.o \
158         $(heimdalsrcdir)/lib/gssapi/krb5/cfx.o \
159         $(heimdalsrcdir)/lib/gssapi/krb5/8003.o \
160         $(heimdalsrcdir)/lib/gssapi/krb5/arcfour.o \
161         $(heimdalsrcdir)/lib/gssapi/krb5/encapsulate.o \
162         $(heimdalsrcdir)/lib/gssapi/krb5/display_name.o \
163         $(heimdalsrcdir)/lib/gssapi/krb5/sequence.o \
164         $(heimdalsrcdir)/lib/gssapi/krb5/display_status.o \
165         $(heimdalsrcdir)/lib/gssapi/krb5/release_buffer.o \
166         $(heimdalsrcdir)/lib/gssapi/krb5/external.o \
167         $(heimdalsrcdir)/lib/gssapi/krb5/compat.o \
168         $(heimdalsrcdir)/lib/gssapi/krb5/acquire_cred.o \
169         $(heimdalsrcdir)/lib/gssapi/krb5/release_cred.o \
170         $(heimdalsrcdir)/lib/gssapi/krb5/set_cred_option.o \
171         $(heimdalsrcdir)/lib/gssapi/krb5/decapsulate.o \
172         $(heimdalsrcdir)/lib/gssapi/krb5/verify_mic.o \
173         $(heimdalsrcdir)/lib/gssapi/krb5/accept_sec_context.o \
174         $(heimdalsrcdir)/lib/gssapi/krb5/set_sec_context_option.o \
175         $(heimdalsrcdir)/lib/gssapi/krb5/process_context_token.o \
176         $(heimdalsrcdir)/lib/gssapi/krb5/prf.o
177
178
179 #######################
180 # Start SUBSYSTEM HEIMDAL_KRB5
181 [SUBSYSTEM::HEIMDAL_KRB5]
182 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/krb5 -I$(heimdalsrcdir)/lib/asn1 -I$(heimdalsrcdir)/lib/com_err 
183 PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_PKINIT_ASN1 HEIMDAL_WIND
184 PUBLIC_DEPENDENCIES = HEIMDAL_KRB5_ASN1 HEIMDAL_GLUE HEIMDAL_HX509 HEIMDAL_HCRYPTO
185 # End SUBSYSTEM HEIMDAL_KRB5
186 #######################
187
188 HEIMDAL_KRB5_OBJ_FILES = \
189         $(heimdalsrcdir)/lib/krb5/acache.o \
190         $(heimdalsrcdir)/lib/krb5/add_et_list.o \
191         $(heimdalsrcdir)/lib/krb5/addr_families.o \
192         $(heimdalsrcdir)/lib/krb5/appdefault.o \
193         $(heimdalsrcdir)/lib/krb5/asn1_glue.o \
194         $(heimdalsrcdir)/lib/krb5/auth_context.o \
195         $(heimdalsrcdir)/lib/krb5/build_ap_req.o \
196         $(heimdalsrcdir)/lib/krb5/build_auth.o \
197         $(heimdalsrcdir)/lib/krb5/cache.o \
198         $(heimdalsrcdir)/lib/krb5/changepw.o \
199         $(heimdalsrcdir)/lib/krb5/codec.o \
200         $(heimdalsrcdir)/lib/krb5/config_file.o \
201         $(heimdalsrcdir)/lib/krb5/config_file_netinfo.o \
202         $(heimdalsrcdir)/lib/krb5/constants.o \
203         $(heimdalsrcdir)/lib/krb5/context.o \
204         $(heimdalsrcdir)/lib/krb5/convert_creds.o \
205         $(heimdalsrcdir)/lib/krb5/copy_host_realm.o \
206         $(heimdalsrcdir)/lib/krb5/crc.o \
207         $(heimdalsrcdir)/lib/krb5/creds.o \
208         $(heimdalsrcdir)/lib/krb5/crypto.o \
209         $(heimdalsrcdir)/lib/krb5/data.o \
210         $(heimdalsrcdir)/lib/krb5/eai_to_heim_errno.o \
211         $(heimdalsrcdir)/lib/krb5/error_string.o \
212         $(heimdalsrcdir)/lib/krb5/expand_hostname.o \
213         $(heimdalsrcdir)/lib/krb5/fcache.o \
214         $(heimdalsrcdir)/lib/krb5/free.o \
215         $(heimdalsrcdir)/lib/krb5/free_host_realm.o \
216         $(heimdalsrcdir)/lib/krb5/generate_seq_number.o \
217         $(heimdalsrcdir)/lib/krb5/generate_subkey.o \
218         $(heimdalsrcdir)/lib/krb5/get_cred.o \
219         $(heimdalsrcdir)/lib/krb5/get_default_principal.o \
220         $(heimdalsrcdir)/lib/krb5/get_default_realm.o \
221         $(heimdalsrcdir)/lib/krb5/get_for_creds.o \
222         $(heimdalsrcdir)/lib/krb5/get_host_realm.o \
223         $(heimdalsrcdir)/lib/krb5/get_in_tkt.o \
224         $(heimdalsrcdir)/lib/krb5/get_in_tkt_with_keytab.o \
225         $(heimdalsrcdir)/lib/krb5/get_port.o \
226         $(heimdalsrcdir)/lib/krb5/init_creds.o \
227         $(heimdalsrcdir)/lib/krb5/init_creds_pw.o \
228         $(heimdalsrcdir)/lib/krb5/kcm.o \
229         $(heimdalsrcdir)/lib/krb5/keyblock.o \
230         $(heimdalsrcdir)/lib/krb5/keytab.o \
231         $(heimdalsrcdir)/lib/krb5/keytab_any.o \
232         $(heimdalsrcdir)/lib/krb5/keytab_file.o \
233         $(heimdalsrcdir)/lib/krb5/keytab_memory.o \
234         $(heimdalsrcdir)/lib/krb5/keytab_keyfile.o \
235         $(heimdalsrcdir)/lib/krb5/keytab_krb4.o \
236         $(heimdalsrcdir)/lib/krb5/krbhst.o \
237         $(heimdalsrcdir)/lib/krb5/log.o \
238         $(heimdalsrcdir)/lib/krb5/mcache.o \
239         $(heimdalsrcdir)/lib/krb5/misc.o \
240         $(heimdalsrcdir)/lib/krb5/mk_error.o \
241         $(heimdalsrcdir)/lib/krb5/mk_priv.o \
242         $(heimdalsrcdir)/lib/krb5/mk_rep.o \
243         $(heimdalsrcdir)/lib/krb5/mk_req.o \
244         $(heimdalsrcdir)/lib/krb5/mk_req_ext.o \
245         $(heimdalsrcdir)/lib/krb5/mit_glue.o \
246         $(heimdalsrcdir)/lib/krb5/n-fold.o \
247         $(heimdalsrcdir)/lib/krb5/padata.o \
248         $(heimdalsrcdir)/lib/krb5/pkinit.o \
249         $(heimdalsrcdir)/lib/krb5/plugin.o \
250         $(heimdalsrcdir)/lib/krb5/principal.o \
251         $(heimdalsrcdir)/lib/krb5/pac.o \
252         $(heimdalsrcdir)/lib/krb5/prompter_posix.o \
253         $(heimdalsrcdir)/lib/krb5/rd_cred.o \
254         $(heimdalsrcdir)/lib/krb5/rd_error.o \
255         $(heimdalsrcdir)/lib/krb5/rd_priv.o \
256         $(heimdalsrcdir)/lib/krb5/rd_rep.o \
257         $(heimdalsrcdir)/lib/krb5/rd_req.o \
258         $(heimdalsrcdir)/lib/krb5/replay.o \
259         $(heimdalsrcdir)/lib/krb5/send_to_kdc.o \
260         $(heimdalsrcdir)/lib/krb5/set_default_realm.o \
261         $(heimdalsrcdir)/lib/krb5/store.o \
262         $(heimdalsrcdir)/lib/krb5/store_emem.o \
263         $(heimdalsrcdir)/lib/krb5/store_fd.o \
264         $(heimdalsrcdir)/lib/krb5/store_mem.o \
265         $(heimdalsrcdir)/lib/krb5/ticket.o \
266         $(heimdalsrcdir)/lib/krb5/time.o \
267         $(heimdalsrcdir)/lib/krb5/transited.o \
268         $(heimdalsrcdir)/lib/krb5/v4_glue.o \
269         $(heimdalsrcdir)/lib/krb5/version.o \
270         $(heimdalsrcdir)/lib/krb5/warn.o \
271         $(heimdalsrcdir)/lib/krb5/krb5_err.o \
272         $(heimdalsrcdir)/lib/krb5/heim_err.o \
273         $(heimdalsrcdir)/lib/krb5/k524_err.o \
274         $(heimdalsrcdir)/lib/krb5/krb_err.o
275
276 #######################
277 # Start SUBSYSTEM HEIMDAL_HEIM_ASN1
278 [SUBSYSTEM::HEIMDAL_HEIM_ASN1]
279 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/asn1
280 PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_COM_ERR
281 # End SUBSYSTEM HEIMDAL_KRB5
282 #######################
283
284 HEIMDAL_HEIM_ASN1_OBJ_FILES = \
285         $(heimdalsrcdir)/lib/asn1/der_get.o \
286         $(heimdalsrcdir)/lib/asn1/der_put.o \
287         $(heimdalsrcdir)/lib/asn1/der_free.o \
288         $(heimdalsrcdir)/lib/asn1/der_format.o \
289         $(heimdalsrcdir)/lib/asn1/der_length.o \
290         $(heimdalsrcdir)/lib/asn1/der_copy.o \
291         $(heimdalsrcdir)/lib/asn1/der_cmp.o \
292         $(heimdalsrcdir)/lib/asn1/extra.o \
293         $(heimdalsrcdir)/lib/asn1/timegm.o \
294         $(heimdalsrcdir)/lib/asn1/asn1_err.o
295
296 #######################
297 # Start SUBSYSTEM HEIMDAL_HCRYPTO_IMATH
298 [SUBSYSTEM::HEIMDAL_HCRYPTO_IMATH]
299 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/hcrypto/imath 
300 PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN 
301 # End SUBSYSTEM HEIMDAL_HCRYPTO_IMATH
302 #######################
303
304 HEIMDAL_HCRYPTO_IMATH_OBJ_FILES = \
305         $(heimdalsrcdir)/lib/hcrypto/imath/imath.o \
306         $(heimdalsrcdir)/lib/hcrypto/imath/iprime.o
307
308 [SUBSYSTEM::HEIMDAL_HCRYPTO]
309 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/hcrypto -I$(heimdalsrcdir)/lib
310 PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_HEIM_ASN1 HEIMDAL_HCRYPTO_IMATH HEIMDAL_RFC2459_ASN1
311 # End SUBSYSTEM HEIMDAL_HCRYPTO
312 #######################
313
314 HEIMDAL_HCRYPTO_OBJ_FILES = \
315         $(heimdalsrcdir)/lib/hcrypto/aes.o \
316         $(heimdalsrcdir)/lib/hcrypto/bn.o \
317         $(heimdalsrcdir)/lib/hcrypto/dh.o \
318         $(heimdalsrcdir)/lib/hcrypto/dh-imath.o \
319         $(heimdalsrcdir)/lib/hcrypto/des.o \
320         $(heimdalsrcdir)/lib/hcrypto/dsa.o \
321         $(heimdalsrcdir)/lib/hcrypto/engine.o \
322         $(heimdalsrcdir)/lib/hcrypto/md2.o \
323         $(heimdalsrcdir)/lib/hcrypto/md4.o \
324         $(heimdalsrcdir)/lib/hcrypto/md5.o \
325         $(heimdalsrcdir)/lib/hcrypto/rsa.o \
326         $(heimdalsrcdir)/lib/hcrypto/rsa-imath.o \
327         $(heimdalsrcdir)/lib/hcrypto/rc2.o \
328         $(heimdalsrcdir)/lib/hcrypto/rc4.o \
329         $(heimdalsrcdir)/lib/hcrypto/rijndael-alg-fst.o \
330         $(heimdalsrcdir)/lib/hcrypto/rnd_keys.o \
331         $(heimdalsrcdir)/lib/hcrypto/sha.o \
332         $(heimdalsrcdir)/lib/hcrypto/sha256.o \
333         $(heimdalsrcdir)/lib/hcrypto/ui.o \
334         $(heimdalsrcdir)/lib/hcrypto/evp.o \
335         $(heimdalsrcdir)/lib/hcrypto/pkcs5.o \
336         $(heimdalsrcdir)/lib/hcrypto/pkcs12.o \
337         $(heimdalsrcdir)/lib/hcrypto/rand.o \
338         $(heimdalsrcdir)/lib/hcrypto/rand-egd.o \
339         $(heimdalsrcdir)/lib/hcrypto/rand-unix.o \
340         $(heimdalsrcdir)/lib/hcrypto/rand-fortuna.o \
341         $(heimdalsrcdir)/lib/hcrypto/rand-timer.o \
342         $(heimdalsrcdir)/lib/hcrypto/hmac.o \
343         $(heimdalsrcdir)/lib/hcrypto/camellia.o \
344         $(heimdalsrcdir)/lib/hcrypto/camellia-ntt.o
345
346 #######################
347 # Start SUBSYSTEM HEIMDAL_HX509
348 [SUBSYSTEM::HEIMDAL_HX509]
349 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/hx509 
350 PRIVATE_DEPENDENCIES = \
351         HEIMDAL_ROKEN HEIMDAL_COM_ERR \
352         HEIMDAL_HEIM_ASN1 HEIMDAL_HCRYPTO \
353         HEIMDAL_CMS_ASN1 HEIMDAL_RFC2459_ASN1 \
354         HEIMDAL_OCSP_ASN1 HEIMDAL_PKCS8_ASN1 \
355         HEIMDAL_PKCS9_ASN1 HEIMDAL_PKCS12_ASN1 \
356         HEIMDAL_PKINIT_ASN1 HEIMDAL_PKCS10_ASN1 \
357         HEIMDAL_WIND
358 # End SUBSYSTEM HEIMDAL_HX509
359 #######################
360
361 HEIMDAL_HX509_OBJ_FILES = \
362         $(heimdalsrcdir)/lib/hx509/ca.o \
363         $(heimdalsrcdir)/lib/hx509/cert.o \
364         $(heimdalsrcdir)/lib/hx509/cms.o \
365         $(heimdalsrcdir)/lib/hx509/collector.o \
366         $(heimdalsrcdir)/lib/hx509/crypto.o \
367         $(heimdalsrcdir)/lib/hx509/error.o \
368         $(heimdalsrcdir)/lib/hx509/env.o \
369         $(heimdalsrcdir)/lib/hx509/file.o \
370         $(heimdalsrcdir)/lib/hx509/keyset.o \
371         $(heimdalsrcdir)/lib/hx509/ks_dir.o \
372         $(heimdalsrcdir)/lib/hx509/ks_file.o \
373         $(heimdalsrcdir)/lib/hx509/ks_keychain.o \
374         $(heimdalsrcdir)/lib/hx509/ks_mem.o \
375         $(heimdalsrcdir)/lib/hx509/ks_null.o \
376         $(heimdalsrcdir)/lib/hx509/ks_p11.o \
377         $(heimdalsrcdir)/lib/hx509/ks_p12.o \
378         $(heimdalsrcdir)/lib/hx509/lock.o \
379         $(heimdalsrcdir)/lib/hx509/name.o \
380         $(heimdalsrcdir)/lib/hx509/peer.o \
381         $(heimdalsrcdir)/lib/hx509/print.o \
382         $(heimdalsrcdir)/lib/hx509/req.o \
383         $(heimdalsrcdir)/lib/hx509/revoke.o \
384         $(heimdalsrcdir)/lib/hx509/sel.o \
385         $(heimdalsrcdir)/lib/hx509/sel-lex.o \
386         $(heimdalsrcdir)/lib/hx509/sel-gram.o \
387         $(heimdalsrcdir)/lib/hx509/hx509_err.o
388
389
390 #######################
391 # Start SUBSYSTEM HEIMDAL_WIND
392 [SUBSYSTEM::HEIMDAL_WIND]
393 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/wind 
394 PRIVATE_DEPENDENCIES = \
395         HEIMDAL_ROKEN HEIMDAL_COM_ERR
396
397 HEIMDAL_WIND_OBJ_FILES = \
398         $(heimdalsrcdir)/lib/wind/wind_err.o \
399         $(heimdalsrcdir)/lib/wind/stringprep.o \
400         $(heimdalsrcdir)/lib/wind/errorlist.o \
401         $(heimdalsrcdir)/lib/wind/errorlist_table.o \
402         $(heimdalsrcdir)/lib/wind/normalize.o \
403         $(heimdalsrcdir)/lib/wind/normalize_table.o \
404         $(heimdalsrcdir)/lib/wind/combining.o \
405         $(heimdalsrcdir)/lib/wind/combining_table.o \
406         $(heimdalsrcdir)/lib/wind/utf8.o \
407         $(heimdalsrcdir)/lib/wind/bidi.o \
408         $(heimdalsrcdir)/lib/wind/bidi_table.o \
409         $(heimdalsrcdir)/lib/wind/ldap.o \
410         $(heimdalsrcdir)/lib/wind/map.o \
411         $(heimdalsrcdir)/lib/wind/map_table.o
412 # End SUBSYSTEM HEIMDAL_WIND
413 #######################
414
415 [SUBSYSTEM::HEIMDAL_ROKEN_GETPROGNAME]
416
417 HEIMDAL_ROKEN_GETPROGNAME_OBJ_FILES = $(heimdalsrcdir)/lib/roken/getprogname.o
418 $(HEIMDAL_ROKEN_GETPROGNAME_OBJ_FILES): CFLAGS+=-I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken  -I$(socketwrappersrcdir)
419
420 [SUBSYSTEM::HEIMDAL_ROKEN_CLOSEFROM] 
421
422 HEIMDAL_ROKEN_CLOSEFROM_OBJ_FILES = $(heimdalsrcdir)/lib/roken/closefrom.o
423 $(HEIMDAL_ROKEN_CLOSEFROM_OBJ_FILES): CFLAGS+=-I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken  -I$(socketwrappersrcdir)
424
425 [SUBSYSTEM::HEIMDAL_ROKEN_GETPROGNAME_H] 
426
427 HEIMDAL_ROKEN_GETPROGNAME_H_OBJ_FILES = $(heimdalsrcdir)/lib/roken/getprogname.ho
428 $(HEIMDAL_ROKEN_GETPROGNAME_H_OBJ_FILES): CFLAGS+=-I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken  -I$(socketwrappersrcdir)
429
430 #######################
431 # Start SUBSYSTEM HEIMDAL_ROKEN
432 [SUBSYSTEM::HEIMDAL_ROKEN]
433 CFLAGS =  -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken -I$(socketwrappersrcdir)
434 PUBLIC_DEPENDENCIES = \
435                         HEIMDAL_ROKEN_GETPROGNAME \
436                         HEIMDAL_ROKEN_CLOSEFROM \
437                         RESOLV \
438                         LIBREPLACE_NETWORK
439 # End SUBSYSTEM HEIMDAL_ROKEN
440 #######################
441
442 HEIMDAL_ROKEN_OBJ_FILES = \
443         $(heimdalsrcdir)/lib/roken/base64.o \
444         $(heimdalsrcdir)/lib/roken/hex.o \
445         $(heimdalsrcdir)/lib/roken/bswap.o \
446         $(heimdalsrcdir)/lib/roken/dumpdata.o \
447         $(heimdalsrcdir)/lib/roken/emalloc.o \
448         $(heimdalsrcdir)/lib/roken/ecalloc.o \
449         $(heimdalsrcdir)/lib/roken/get_window_size.o \
450         $(heimdalsrcdir)/lib/roken/h_errno.o \
451         $(heimdalsrcdir)/lib/roken/issuid.o \
452         $(heimdalsrcdir)/lib/roken/net_read.o \
453         $(heimdalsrcdir)/lib/roken/net_write.o \
454         $(heimdalsrcdir)/lib/roken/socket.o \
455         $(heimdalsrcdir)/lib/roken/parse_time.o \
456         $(heimdalsrcdir)/lib/roken/parse_units.o \
457         $(heimdalsrcdir)/lib/roken/resolve.o \
458         $(heimdalsrcdir)/lib/roken/roken_gethostby.o \
459         $(heimdalsrcdir)/lib/roken/signal.o \
460         $(heimdalsrcdir)/lib/roken/vis.o \
461         $(heimdalsrcdir)/lib/roken/strlwr.o \
462         $(heimdalsrcdir)/lib/roken/strsep_copy.o \
463         $(heimdalsrcdir)/lib/roken/strsep.o \
464         $(heimdalsrcdir)/lib/roken/strupr.o \
465         $(heimdalsrcdir)/lib/roken/strpool.o \
466         $(heimdalsrcdir)/lib/roken/estrdup.o \
467         $(heimdalsrcdir)/lib/roken/erealloc.o \
468         $(heimdalsrcdir)/lib/roken/simple_exec.o \
469         $(heimdalsrcdir)/lib/roken/strcollect.o \
470         $(heimdalsrcdir)/lib/roken/rtbl.o \
471         $(heimdalsrcdir)/lib/roken/cloexec.o \
472         $(heimdalsrcdir)/lib/roken/xfree.o \
473         $(heimdalbuildsrcdir)/replace.o
474
475 #######################
476 # Start SUBSYSTEM HEIMDAL_GLUE
477 [SUBSYSTEM::HEIMDAL_GLUE]
478 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/krb5 -I$(heimdalsrcdir)/lib/asn1 -I$(heimdalsrcdir)/lib/com_err 
479 PUBLIC_DEPENDENCIES = LIBNETIF LIBSAMBA-HOSTCONFIG
480 # End SUBSYSTEM HEIMDAL_GLUE
481 #######################
482
483 HEIMDAL_GLUE_OBJ_FILES = $(heimdalbuildsrcdir)/glue.o
484
485 #######################
486 # Start SUBSYSTEM HEIMDAL_COM_ERR
487 [SUBSYSTEM::HEIMDAL_COM_ERR]
488 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/com_err
489 PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN
490 # End SUBSYSTEM HEIMDAL_COM_ERR
491 #######################
492
493 HEIMDAL_COM_ERR_OBJ_FILES = \
494         $(heimdalsrcdir)/lib/com_err/com_err.o \
495         $(heimdalsrcdir)/lib/com_err/error.o
496
497 #######################
498 # Start SUBSYSTEM HEIMDAL_ASN1_COMPILE_LEX
499 [SUBSYSTEM::HEIMDAL_ASN1_COMPILE_LEX]
500 # End SUBSYSTEM HEIMDAL_ASN1_COMPILE_LEX
501 #######################
502
503 HEIMDAL_ASN1_COMPILE_LEX_OBJ_FILES = $(heimdalsrcdir)/lib/asn1/lex.ho 
504 $(HEIMDAL_ASN1_COMPILE_LEX_OBJ_FILES): CFLAGS+=-I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/asn1 -I$(heimdalsrcdir)/lib/roken -I$(socketwrappersrcdir)
505
506 #######################
507 # Start BINARY asn1_compile
508 [BINARY::asn1_compile]
509 USE_HOSTCC = YES
510 PRIVATE_DEPENDENCIES = HEIMDAL_ASN1_COMPILE_LEX HEIMDAL_ROKEN_GETPROGNAME_H LIBREPLACE_NETWORK
511
512 ASN1C = $(builddir)/bin/asn1_compile
513
514 asn1_compile_OBJ_FILES = \
515         $(heimdalsrcdir)/lib/asn1/main.ho \
516         $(heimdalsrcdir)/lib/asn1/gen.ho \
517         $(heimdalsrcdir)/lib/asn1/gen_copy.ho \
518         $(heimdalsrcdir)/lib/asn1/gen_decode.ho \
519         $(heimdalsrcdir)/lib/asn1/gen_encode.ho \
520         $(heimdalsrcdir)/lib/asn1/gen_free.ho \
521         $(heimdalsrcdir)/lib/asn1/gen_glue.ho \
522         $(heimdalsrcdir)/lib/asn1/gen_length.ho \
523         $(heimdalsrcdir)/lib/asn1/gen_seq.ho \
524         $(heimdalsrcdir)/lib/asn1/hash.ho \
525         $(heimdalsrcdir)/lib/asn1/parse.ho \
526         $(heimdalsrcdir)/lib/roken/emalloc.ho \
527         $(heimdalsrcdir)/lib/roken/getarg.ho \
528         $(heimdalsrcdir)/lib/roken/setprogname.ho \
529         $(heimdalsrcdir)/lib/roken/strupr.ho \
530         $(heimdalsrcdir)/lib/roken/get_window_size.ho \
531         $(heimdalsrcdir)/lib/roken/estrdup.ho \
532         $(heimdalsrcdir)/lib/roken/ecalloc.ho \
533         $(heimdalsrcdir)/lib/asn1/symbol.ho \
534         $(heimdalsrcdir)/lib/vers/print_version.ho \
535         $(socketwrappersrcdir)/socket_wrapper.ho \
536         $(heimdalbuildsrcdir)/replace.ho
537
538 $(asn1_compile_OBJ_FILES): CFLAGS+=-I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken -I$(heimdalsrcdir)/lib/asn1
539
540 # End BINARY asn1_compile
541 #######################
542
543 #######################
544 # Start SUBSYSTEM HEIMDAL_COM_ERR_COMPILE_LEX
545 [SUBSYSTEM::HEIMDAL_COM_ERR_COMPILE_LEX]
546 CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/com_err -I$(heimdalsrcdir)/lib/roken  -I$(socketwrappersrcdir)
547 # End SUBSYSTEM HEIMDAL_COM_ERR_COMPILE_LEX
548 #######################
549
550 HEIMDAL_COM_ERR_COMPILE_LEX_OBJ_FILES = $(heimdalsrcdir)/lib/com_err/lex.ho 
551
552 #######################
553 # Start BINARY compile_et
554 [BINARY::compile_et]
555 USE_HOSTCC = YES
556 PRIVATE_DEPENDENCIES = HEIMDAL_COM_ERR_COMPILE_LEX HEIMDAL_ROKEN_GETPROGNAME_H LIBREPLACE_NETWORK
557 # End BINARY compile_et
558 #######################
559
560 ET_COMPILER = $(builddir)/bin/compile_et
561
562 compile_et_OBJ_FILES = $(heimdalsrcdir)/lib/vers/print_version.ho \
563         $(heimdalsrcdir)/lib/com_err/parse.ho \
564         $(heimdalsrcdir)/lib/com_err/compile_et.ho \
565         $(heimdalsrcdir)/lib/roken/getarg.ho \
566         $(heimdalsrcdir)/lib/roken/get_window_size.ho \
567         $(heimdalsrcdir)/lib/roken/strupr.ho \
568         $(heimdalsrcdir)/lib/roken/setprogname.ho \
569         $(socketwrappersrcdir)/socket_wrapper.ho \
570         $(heimdalbuildsrcdir)/replace.ho
571
572 $(compile_et_OBJ_FILES): CFLAGS+=-I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken
573
574 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/hdb/hdb.asn1 hdb_asn1 \$\(heimdalsrcdir\)/lib/hdb |
575 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/gssapi/spnego/spnego.asn1 spnego_asn1 \$\(heimdalsrcdir\)/lib/gssapi --sequence=MechTypeList |
576 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/gssapi/mech/gssapi.asn1 gssapi_asn1 \$\(heimdalsrcdir\)/lib/gssapi|
577 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|
578 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/digest.asn1 digest_asn1 \$\(heimdalsrcdir\)/lib/asn1|
579 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/pkcs8.asn1 pkcs8_asn1 \$\(heimdalsrcdir\)/lib/asn1|
580 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/pkcs9.asn1 pkcs9_asn1 \$\(heimdalsrcdir\)/lib/asn1|
581 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/pkcs12.asn1 pkcs12_asn1 \$\(heimdalsrcdir\)/lib/asn1|
582 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|
583 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/pkinit.asn1 pkinit_asn1 \$\(heimdalsrcdir\)/lib/asn1|
584 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/CMS.asn1 cms_asn1 \$\(heimdalsrcdir\)/lib/asn1|
585 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/hx509/ocsp.asn1 ocsp_asn1 \$\(heimdalsrcdir\)/lib/hx509 --preserve-binary=OCSPTBSRequest --preserve-binary=OCSPResponseData|
586 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/asn1/kx509.asn1 kx509_asn1 \$\(heimdalsrcdir\)/lib/asn1|
587 mkinclude perl_path_wrapper.sh asn1_deps.pl lib/hx509/pkcs10.asn1 pkcs10_asn1 \$\(heimdalsrcdir\)/lib/hx509 --preserve-binary=CertificationRequestInfo|
588
589 #
590 # Ensure to update ./static_deps.mk when you add a new entry here!
591 #
592 mkinclude perl_path_wrapper.sh et_deps.pl lib/asn1/asn1_err.et \$\(heimdalsrcdir\)/lib/asn1|
593 mkinclude perl_path_wrapper.sh et_deps.pl lib/hdb/hdb_err.et \$\(heimdalsrcdir\)/lib/hdb|
594 mkinclude perl_path_wrapper.sh et_deps.pl lib/krb5/heim_err.et \$\(heimdalsrcdir\)/lib/krb5|
595 mkinclude perl_path_wrapper.sh et_deps.pl lib/krb5/k524_err.et \$\(heimdalsrcdir\)/lib/krb5|
596 mkinclude perl_path_wrapper.sh et_deps.pl lib/krb5/krb_err.et \$\(heimdalsrcdir\)/lib/krb5|
597 mkinclude perl_path_wrapper.sh et_deps.pl lib/krb5/krb5_err.et \$\(heimdalsrcdir\)/lib/krb5|
598 mkinclude perl_path_wrapper.sh et_deps.pl lib/gssapi/krb5/gkrb5_err.et \$\(heimdalsrcdir\)/lib/gssapi|
599 mkinclude perl_path_wrapper.sh et_deps.pl lib/hx509/hx509_err.et \$\(heimdalsrcdir\)/lib/hx509|
600 mkinclude perl_path_wrapper.sh et_deps.pl lib/wind/wind_err.et \$\(heimdalsrcdir\)/lib/wind|
601
602 clean:: 
603         @-rm -f bin/compile_et bin/asn1_compile
604
605 #######################
606 # Start SUBSYSTEM HEIMDAL
607 [SUBSYSTEM::HEIMDAL]
608 CFLAGS = -I$(heimdalbuildsrcdir)
609 PUBLIC_DEPENDENCIES = \
610                 HEIMDAL_GSSAPI HEIMDAL_KRB5
611 # End SUBSYSTEM HEIMDAL
612 #######################
613
614 HEIMDAL_OBJ_FILES = $(heimdalsrcdir)/lib/vers/print_version.o
615
616 #######################
617 # Start BINARY compile_et
618 [BINARY::samba4kinit]
619 PRIVATE_DEPENDENCIES = HEIMDAL_KRB5 HEIMDAL_NTLM
620 # End BINARY compile_et
621 #######################
622
623 samba4kinit_OBJ_FILES = $(heimdalsrcdir)/kuser/kinit.o \
624         $(heimdalsrcdir)/lib/vers/print_version.o \
625         $(heimdalsrcdir)/lib/roken/setprogname.o \
626         $(heimdalsrcdir)/lib/roken/getarg.o 
627
628 $(samba4kinit_OBJ_FILES): CFLAGS+=-I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken
629
630 dist:: $(heimdalsrcdir)/lib/asn1/lex.c $(heimdalsrcdir)/lib/com_err/lex.c \
631         $(heimdalsrcdir)/lib/asn1/parse.c $(heimdalsrcdir)/lib/com_err/parse.c \
632         $(heimdalsrcdir)/lib/hx509/sel-lex.c $(heimdalsrcdir)/lib/hx509/sel-gram.c