Build tls_test script only if TLS stack is enabled
[strongswan.git] / scripts / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libtls
2 AM_CFLAGS = \
3 -DPLUGINS="\"${scripts_plugins}\""
4
5 noinst_PROGRAMS = bin2array bin2sql id2sql key2keyid keyid2sql \
6         thread_analysis dh_speed pubkey_speed crypt_burn
7 if USE_TLS
8         noinst_PROGRAMS += tls_test
9 endif
10 bin2array_SOURCES = bin2array.c
11 bin2sql_SOURCES = bin2sql.c
12 id2sql_SOURCES = id2sql.c
13 key2keyid_SOURCES = key2keyid.c
14 keyid2sql_SOURCES = keyid2sql.c
15 thread_analysis_SOURCES = thread_analysis.c
16 dh_speed_SOURCES = dh_speed.c
17 pubkey_speed_SOURCES = pubkey_speed.c
18 crypt_burn_SOURCES = crypt_burn.c
19 tls_test_SOUCES = tls_test.c
20 id2sql_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
21 key2keyid_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
22 keyid2sql_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
23 dh_speed_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -lrt
24 pubkey_speed_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -lrt
25 crypt_burn_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
26 tls_test_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la \
27         $(top_builddir)/src/libtls/libtls.la
28
29 key2keyid.o :   $(top_builddir)/config.status
30
31 keyid2sql.o :   $(top_builddir)/config.status