1 AUTOMAKE_OPTIONS = color-tests parallel-tests
5 LIBDIR = $(top_srcdir)/$(libdirpath)
6 localedir = $(datadir)/locale
8 AM_CPPFLAGS = @XML_CPPFLAGS@
9 AM_CFLAGS = -I$(srcdir)/$(LIBDIR) -DSRCDIR=\"$(top_srcdir)\"
10 LDADD = $(LIBDIR)/libisds.la -L$(LIBDIR) @XML_LIBS@
12 # To fake home dir for gnupg2
13 export HOME=@top_builddir@
15 #TESTS = prepare_environment
19 TESTS += basic_authentication hotp_authentication totp_authentication \
20 isds_change_password hotp_isds_change_password \
21 totp_isds_change_password \
22 isds_delete_message_from_storage
26 noinst_PROGRAMS = server_cli $(TESTS)
28 server_implementation = ../test.c ../test-tools.h http.c http.h \
29 server.c server.h service.c service.h \
30 services.h server_types.h
33 server_cli_SOURCES = server_cli.c $(server_implementation)
35 # Access public API only
36 common = ../test.h $(server_implementation)
37 basic_authentication_SOURCES = basic_authentication.c $(common)
38 hotp_authentication_SOURCES = hotp_authentication.c $(common)
39 totp_authentication_SOURCES = totp_authentication.c $(common)
40 isds_change_password_SOURCES = isds_change_password.c $(common)
41 hotp_isds_change_password_SOURCES = hotp_isds_change_password.c $(common)
42 totp_isds_change_password_SOURCES = totp_isds_change_password.c $(common)
43 isds_delete_message_from_storage_SOURCES = isds_delete_message_from_storage.c $(common)
45 # Tests that need .gnupg
46 #guess_raw_type.log load_raw.log: prepare_environment.log
47 #prepare_environment_SOURCES = prepare_environment.c $(common)