1 AUTOMAKE_OPTIONS = color-tests parallel-tests
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@
18 TESTS += basic_authentication hotp_authentication totp_authentication \
19 certificate_user_password_authentication \
20 isds_change_password isds_get_commercial_credit \
21 isds_get_box_state_history \
22 isds_find_box_by_fulltext isds_FindDataBox isds_FindPersonalDataBox \
23 hotp_isds_change_password totp_isds_change_password \
24 isds_delete_message_from_storage isds_ping isds_resign_message
29 noinst_LTLIBRARIES = libserver.la
30 libserver_la_SOURCES = ../test.c ../test-tools.h http.c http.h \
31 server.c server.h service.c service.h \
32 services.h server_types.h system.h
34 libserver_la_SOURCES += win32.c win32.h
36 libserver_la_SOURCES += unix.c unix.h
39 libserver_la_CPPFLAGS = @XML_CPPFLAGS@ @LIBGNUTLS_CFLAGS@
40 libserver_la_LIBADD = @XML_LIBS@ @LIBGNUTLS_LIBS@
43 noinst_PROGRAMS = server_cli $(TESTS)
44 server_cli_SOURCES = server_cli.c
45 server_cli_LDADD = ./libserver.la -L.
47 # Access public API only
49 basic_authentication_SOURCES = basic_authentication.c $(common)
50 hotp_authentication_SOURCES = hotp_authentication.c $(common)
51 totp_authentication_SOURCES = totp_authentication.c $(common)
52 certificate_user_password_authentication_SOURCES = \
53 certificate_user_password_authentication.c $(common)
54 isds_change_password_SOURCES = isds_change_password.c $(common)
55 isds_get_commercial_credit_SOURCES = isds_get_commercial_credit.c $(common)
56 isds_get_box_state_history_SOURCES = isds_get_box_state_history.c $(common)
57 isds_find_box_by_fulltext_SOURCES = isds_find_box_by_fulltext.c $(common)
58 isds_FindDataBox_SOURCES = isds_FindDataBox.c $(common) \
59 test_DbOwnerInfo.c test_DbOwnerInfo.h
60 isds_FindPersonalDataBox_SOURCES = isds_FindPersonalDataBox.c $(common) \
61 test_DbOwnerInfo.c test_DbOwnerInfo.h
62 hotp_isds_change_password_SOURCES = hotp_isds_change_password.c $(common)
63 totp_isds_change_password_SOURCES = totp_isds_change_password.c $(common)
64 isds_delete_message_from_storage_SOURCES = isds_delete_message_from_storage.c $(common)
65 isds_resign_message_SOURCES = isds_resign_message.c $(common)
66 isds_ping_SOURCES = isds_ping.c $(common)