1 lib_LTLIBRARIES = libstrongswan.la libstrongswan-lite.la
4 libstrongswan_la_SOURCES = \
5 fips/fips_canister_start.c \
6 fips/fips.c fips/fips.h
8 libstrongswan_la_SOURCES =
11 libstrongswan_la_SOURCES += \
16 settings.h settings.c \
17 printf_hook.c printf_hook.h \
18 asn1/asn1.c asn1/asn1.h \
19 asn1/asn1_parser.c asn1/asn1_parser.h \
20 asn1/oid.c asn1/oid.h \
21 asn1/pem.c asn1/pem.h \
22 crypto/crypters/crypter.c crypto/crypters/crypter.h \
23 crypto/hashers/hasher.h crypto/hashers/hasher.c \
24 crypto/pkcs9.c crypto/pkcs9.h \
25 crypto/prfs/prf.c crypto/prfs/prf.h \
26 crypto/rngs/rng.c crypto/rngs/rng.h \
27 crypto/prf_plus.h crypto/prf_plus.c \
28 crypto/signers/signer.c crypto/signers/signer.h \
29 crypto/diffie_hellman.c crypto/diffie_hellman.h \
30 crypto/crypto_factory.c crypto/crypto_factory.h \
31 credentials/credential_factory.c credentials/credential_factory.h \
32 credentials/builder.c credentials/builder.h \
33 credentials/keys/private_key.c credentials/keys/private_key.h \
34 credentials/keys/public_key.c credentials/keys/public_key.h \
35 credentials/keys/shared_key.c credentials/keys/shared_key.h \
36 credentials/certificates/certificate.c credentials/certificates/certificate.h \
37 credentials/certificates/x509.h credentials/certificates/x509.c \
38 credentials/certificates/ac.h \
39 credentials/certificates/crl.h credentials/certificates/crl.c \
40 credentials/certificates/ocsp_request.h \
41 credentials/certificates/ocsp_response.h credentials/certificates/ocsp_response.c \
42 fetcher/fetcher.h fetcher/fetcher_manager.h fetcher/fetcher_manager.c \
43 database/database.h database/database_factory.h database/database_factory.c \
45 utils/host.c utils/host.h \
46 utils/identification.c utils/identification.h \
48 utils/lexparser.c utils/lexparser.h \
49 utils/linked_list.c utils/linked_list.h \
50 utils/hashtable.c utils/hashtable.h \
51 utils/enumerator.c utils/enumerator.h \
52 utils/optionsfrom.c utils/optionsfrom.h \
53 utils/mutex.c utils/mutex.h \
54 utils/backtrace.c utils/backtrace.h \
55 plugins/plugin_loader.c plugins/plugin_loader.h plugins/plugin.h
57 libstrongswan_la_LIBADD = -lpthread -ldl
59 libstrongswan_lite_la_SOURCES = \
62 printf_hook.c printf_hook.h \
63 settings.c settings.h \
65 asn1/oid.c asn1/oid.h \
66 utils/enumerator.c utils/enumerator.h \
67 utils/lexparser.c utils/lexparser.h \
68 utils/linked_list.c utils/linked_list.h \
69 utils/optionsfrom.c utils/optionsfrom.h
71 INCLUDES = -I$(top_srcdir)/src/libstrongswan
72 AM_CFLAGS = -DIPSEC_DIR=\"${ipsecdir}\" \
73 -DIPSEC_PLUGINDIR=\"${plugindir}\"
76 AM_CFLAGS += -DLEAK_DETECTIVE
77 libstrongswan_la_SOURCES += \
78 utils/leak_detective.c utils/leak_detective.h
79 libstrongswan_lite_la_SOURCES += \
80 utils/leak_detective.c utils/leak_detective.h \
81 utils/backtrace.c utils/backtrace.h
85 AM_CFLAGS += -DLOCK_PROFILER
89 libstrongswan_la_SOURCES += \
90 fips/fips_canister_end.c
94 libstrongswan_la_LIBADD += -lvstr
97 EXTRA_DIST = asn1/oid.txt asn1/oid.pl
98 BUILT_SOURCES = asn1/oid.c asn1/oid.h
99 MAINTAINERCLEANFILES = asn1/oid.c asn1/oid.h
101 asn1/oid.c : asn1/oid.pl asn1/oid.txt
102 (cd `dirname $<` && $(PERL) `basename $<`)
104 asn1/oid.h : asn1/oid.pl asn1/oid.txt
105 (cd `dirname $<` && $(PERL) `basename $<`)
108 # build plugins with their own Makefile
109 #######################################
114 SUBDIRS += plugins/aes
118 SUBDIRS += plugins/des
122 SUBDIRS += plugins/md4
126 SUBDIRS += plugins/md5
130 SUBDIRS += plugins/sha1
134 SUBDIRS += plugins/sha2
138 SUBDIRS += plugins/fips_prf
142 SUBDIRS += plugins/gmp
146 SUBDIRS += plugins/random
150 SUBDIRS += plugins/hmac
154 SUBDIRS += plugins/xcbc
158 SUBDIRS += plugins/x509
162 SUBDIRS += plugins/pubkey
166 SUBDIRS += plugins/curl
170 SUBDIRS += plugins/ldap
174 SUBDIRS += plugins/mysql
178 SUBDIRS += plugins/sqlite
182 SUBDIRS += plugins/padlock
186 SUBDIRS += plugins/openssl
190 SUBDIRS += plugins/agent
193 if USE_INTEGRITY_TEST