1 INCLUDES = -I../libextra
2 include_HEADERS = gnutls.h
3 bin_SCRIPTS = libgnutls-config
5 m4datadir = $(datadir)/aclocal
6 m4data_DATA = libgnutls.m4
8 EXTRA_DIST = debug.h gnutls_compress.h defines.h gnutls.asn pkix.asn \
9 gnutls_cipher.h gnutls_buffers.h gnutls_errors.h gnutls_int.h \
10 gnutls_handshake.h gnutls_num.h gnutls_algorithms.h gnutls_dh.h \
11 gnutls_kx.h gnutls_hash_int.h gnutls_cipher_int.h gnutls_db.h \
12 gnutls_compress_int.h gnutls_session.h gnutls_priority.h gnutls_auth.h \
13 auth_anon.h gnutls_extensions.h \
14 gnutls_auth_int.h gnutls_random.h x509_b64.h gnutls_v2_compat.h \
15 libgnutls-config.in libgnutls.m4 gnutls.h.in.in gnutls_errors_int.h \
16 x509_asn1.h x509_der.h gnutls_datum.h auth_cert.h gnutls_mpi.h \
17 gnutls_pk.h gnutls_record.h gnutls_cert.h \
18 gnutls_privkey.h gnutls_constate.h gnutls_global.h x509_verify.h \
19 gnutls_sig.h gnutls_mem.h x509_extensions.h gnutls_ui.h \
20 gnutls-api.tex io_debug.h ext_max_record.h gnutls_session_pack.h \
21 gnutls_alert.h asn1-api.tex gnutls_str.h gnutls_state.h gnutls_x509.h \
24 lib_LTLIBRARIES = libgnutls.la
27 COBJECTS = gnutls_record.c gnutls_compress.c debug.c \
28 gnutls_cipher.c gnutls_buffers.c gnutls_handshake.c gnutls_num.c \
29 gnutls_errors.c gnutls_algorithms.c gnutls_dh.c gnutls_kx.c \
30 gnutls_priority.c gnutls_hash_int.c gnutls_cipher_int.c \
31 gnutls_compress_int.c gnutls_session.c gnutls_db.c x509_b64.c \
32 auth_anon.c gnutls_extensions.c gnutls_auth.c gnutls_random.c \
33 gnutls_v2_compat.c gnutls_datum.c auth_rsa.c gnutls_session_pack.c \
34 gnutls_mpi.c gnutls_pk.c gnutls_cert.c x509_verify.c\
35 gnutls_global.c gnutls_privkey.c gnutls_constate.c gnutls_anon_cred.c \
36 x509_sig_check.c pkix_asn1_tab.c gnutls_asn1_tab.c gnutls_mem.c \
37 x509_extensions.c auth_cert.c gnutls_ui.c gnutls_sig.c auth_dhe.c \
38 gnutls_dh_primes.c ext_max_record.c gnutls_alert.c gnutls_int_compat.c \
39 gnutls_str.c gnutls_state.c gnutls_x509.c \
42 # Separate so we can create the documentation
43 COBJECTS2 = x509_ASN.y x509_asn1.c x509_der.c
45 libgnutls_la_SOURCES = $(COBJECTS) $(COBJECTS2)
47 libgnutls_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
49 pkix_asn1_tab.c: pkix.asn
50 -../src/asn1c pkix.asn pkix_asn1_tab.c
52 gnutls_asn1_tab.c: gnutls.asn
53 -../src/asn1c gnutls.asn gnutls_asn1_tab.c
55 gnutls-api.tex: $(COBJECTS)
56 @echo "" > gnutls-api.tex
57 @for i in $(COBJECTS); \
58 do echo -n "Creating documentation for file $$i... " && ../doc/scripts/gdoc -tex $$i >> gnutls-api.tex \
62 asn1-api.tex: $(COBJECTS2)
63 @echo "" > asn1-api.tex
64 @for i in $(COBJECTS2); \
65 do echo -n "Creating documentation for file $$i... " && ../doc/scripts/gdoc -tex $$i >> asn1-api.tex \
69 all-local: gnutls-api.tex asn1-api.tex