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