added doxygen comments
[strongswan.git] / src / libstrongswan / Makefile.am
1 lib_LTLIBRARIES = libstrongswan.la
2
3 libstrongswan_la_SOURCES = \
4 credential_store.h \
5 library.c library.h \
6 chunk.c chunk.h \
7 debug.c debug.h \
8 enum.c enum.h \
9 printf_hook.c printf_hook.h \
10 asn1/asn1.c asn1/asn1.h \
11 asn1/oid.c asn1/oid.h \
12 asn1/pem.c asn1/pem.h \
13 asn1/ttodata.c asn1/ttodata.h \
14 crypto/ac.c crypto/ac.h \
15 crypto/ca.c crypto/ca.h \
16 crypto/certinfo.c crypto/certinfo.h \
17 crypto/crl.c crypto/crl.h \
18 crypto/crypters/crypter.c crypto/crypters/crypter.h \
19 crypto/crypters/aes_cbc_crypter.c  crypto/crypters/aes_cbc_crypter.h\
20 crypto/crypters/des_crypter.c  crypto/crypters/des_crypter.h\
21 crypto/diffie_hellman.c crypto/diffie_hellman.h \
22 crypto/hashers/hasher.h crypto/hashers/hasher.c \
23 crypto/hashers/sha1_hasher.c crypto/hashers/sha1_hasher.h \
24 crypto/hashers/sha2_hasher.c crypto/hashers/sha2_hasher.h \
25 crypto/hashers/md5_hasher.c  crypto/hashers/md5_hasher.h \
26 crypto/hmac.c crypto/hmac.h \
27 crypto/ocsp.c crypto/ocsp.h \
28 crypto/prfs/fips_prf.c crypto/prfs/fips_prf.h \
29 crypto/prfs/hmac_prf.c crypto/prfs/hmac_prf.h \
30 crypto/prfs/prf.c crypto/prfs/prf.h \
31 crypto/prf_plus.h crypto/prf_plus.c \
32 crypto/rsa/rsa_private_key.c crypto/rsa/rsa_private_key.h \
33 crypto/rsa/rsa_public_key.h  crypto/rsa/rsa_public_key.c \
34 crypto/signers/hmac_signer.c crypto/signers/hmac_signer.h \
35 crypto/signers/signer.c crypto/signers/signer.h \
36 crypto/x509.c crypto/x509.h \
37 utils/fetcher.c utils/fetcher.h \
38 utils/host.c utils/host.h \
39 utils/identification.c utils/identification.h \
40 utils/iterator.h \
41 utils/leak_detective.c utils/leak_detective.h \
42 utils/lexparser.c utils/lexparser.h \
43 utils/linked_list.c utils/linked_list.h \
44 utils/randomizer.c utils/randomizer.h
45
46 libstrongswan_la_LIBADD = -lgmp -lpthread
47
48 INCLUDES = -I$(top_srcdir)/src/libstrongswan
49 EXTRA_DIST = asn1/oid.txt asn1/oid.pl
50 BUILT_SOURCES = asn1/oid.c asn1/oid.h
51 MAINTAINERCLEANFILES = asn1/oid.c asn1/oid.h
52
53 if USE_LEAK_DETECTIVE
54   libstrongswan_la_LIBADD += -ldl
55   AM_CFLAGS = -DLEAK_DETECTIVE
56 endif
57
58 if USE_LIBCURL
59   libstrongswan_la_LIBADD += -lcurl
60 endif
61
62 if USE_LIBLDAP
63   libstrongswan_la_LIBADD += -lldap -llber
64 endif
65
66 asn1/oid.c :    asn1/oid.txt asn1/oid.pl
67                 cd asn1 && $(PERL) oid.pl
68
69 asn1/oid.h :    asn1/oid.txt asn1/oid.pl
70                 cd asn1 && $(PERL) oid.pl