improved code of chunk_equals
[strongswan.git] / src / libstrongswan / Makefile.am
1 lib_LTLIBRARIES = libstrongswan.la
2
3 libstrongswan_la_SOURCES = \
4 asn1/oid.c asn1/oid.h \
5 crypto/rsa/rsa_private_key.c crypto/rsa/rsa_public_key.h crypto/rsa/rsa_private_key.h crypto/rsa/rsa_public_key.c \
6 crypto/prfs/hmac_prf.c crypto/prfs/hmac_prf.h crypto/prfs/prf.c crypto/prfs/prf.h crypto/signers/hmac_signer.c \
7 crypto/signers/hmac_signer.h crypto/signers/signer.c crypto/signers/signer.h crypto/crypters/aes_cbc_crypter.c \
8 crypto/crypters/crypter.c crypto/crypters/aes_cbc_crypter.h crypto/crypters/crypter.h crypto/hashers/sha1_hasher.c \
9 crypto/hashers/md5_hasher.c crypto/hashers/hasher.h crypto/hashers/md5_hasher.h crypto/hashers/hasher.c \
10 crypto/hashers/sha1_hasher.h crypto/diffie_hellman.c crypto/prf_plus.h crypto/x509.c crypto/prf_plus.c \
11 crypto/hmac.c crypto/x509.h crypto/hmac.h crypto/diffie_hellman.h utils/identification.h utils/iterator.h \
12 utils/linked_list.c utils/linked_list.h utils/tester.c utils/leak_detective.c utils/logger_manager.c \
13 utils/randomizer.c utils/tester.h utils/leak_detective.h utils/host.c utils/logger_manager.h utils/randomizer.h \
14 utils/logger.c utils/host.h utils/logger.h utils/identification.c utils/lexparser.c utils/lexparser.h \
15 asn1/ttodata.c asn1/ttodata.h asn1/pem.c asn1/asn1.c asn1/pem.h asn1/asn1.h definitions.h types.h \
16 definitions.c library.c types.c library.h 
17
18 libstrongswan_la_LIBADD = -lgmp -lpthread
19
20 INCLUDES = -I$(top_srcdir)/src/libstrongswan
21 EXTRA_DIST = asn1/oid.txt asn1/oid.pl
22 MAINTAINERCLEANFILES = asn1/oid.c asn1/oid.h
23
24 if USE_LEAK_DETECTIVE
25   libstrongswan_la_LIBADD += -ldl
26   AM_CFLAGS = -DLEAK_DETECTIVE
27 endif
28
29 asn1/oid.c :    asn1/oid.txt asn1/oid.pl
30                 cd asn1 && $(PERL) oid.pl
31
32 asn1/oid.h :    asn1/oid.txt asn1/oid.pl
33                 cd asn1 && $(PERL) oid.pl