Implement Re-signISDSDocument
[libisds.git] / test / simline / Makefile.am
blob716b23eaf0fab34ef37fc048831a5029c9c47295
1 AUTOMAKE_OPTIONS = color-tests parallel-tests
2 export VERBOSE=1
4 libdirpath = src
5 INCLUDEDIR = $(top_srcdir)/$(libdirpath)
6 LIBDIR = $(top_builddir)/$(libdirpath)
7 localedir = $(datadir)/locale
9 AM_CPPFLAGS = @XML_CPPFLAGS@
10 AM_CFLAGS = -I$(INCLUDEDIR) -DSRCDIR=\"$(top_srcdir)\"
11 LDADD = -L$(LIBDIR) $(LIBDIR)/libisds.la -L. ./libserver.la
13 # To fake home dir for gnupg2
14 export HOME=@top_builddir@
16 TESTS =
17 if BUILD_CURL
18 TESTS += basic_authentication hotp_authentication totp_authentication \
19                  certificate_user_password_authentication \
20                  isds_change_password hotp_isds_change_password \
21                  totp_isds_change_password \
22                  isds_delete_message_from_storage isds_resign_message
23 endif
26 # Server library
27 noinst_LTLIBRARIES = libserver.la
28 libserver_la_SOURCES = ../test.c ../test-tools.h http.c http.h \
29                                                 server.c server.h service.c service.h \
30                                                 services.h server_types.h
31 libserver_la_CPPFLAGS = @XML_CPPFLAGS@ @LIBGNUTLS_CFLAGS@
32 libserver_la_LIBADD = @XML_LIBS@ @LIBGNUTLS_LIBS@
34 # Standalone server
35 noinst_PROGRAMS = server_cli $(TESTS)
36 server_cli_SOURCES = server_cli.c
37 server_cli_LDADD = ./libserver.la -L.
39 # Access public API only
40 common = ../test.h
41 basic_authentication_SOURCES = basic_authentication.c $(common)
42 hotp_authentication_SOURCES = hotp_authentication.c $(common)
43 totp_authentication_SOURCES = totp_authentication.c $(common)
44 certificate_user_password_authentication_SOURCES = \
45         certificate_user_password_authentication.c $(common)
46 isds_change_password_SOURCES = isds_change_password.c $(common)
47 hotp_isds_change_password_SOURCES = hotp_isds_change_password.c $(common)
48 totp_isds_change_password_SOURCES = totp_isds_change_password.c $(common)
49 isds_delete_message_from_storage_SOURCES = isds_delete_message_from_storage.c $(common)
50 isds_resign_message_SOURCES = isds_resign_message.c $(common)