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 isds_change_password hotp_isds_change_password \
20 totp_isds_change_password \
21 isds_delete_message_from_storage
26 noinst_LTLIBRARIES = libserver.la
27 libserver_la_SOURCES = ../test.c ../test-tools.h http.c http.h \
28 server.c server.h service.c service.h \
29 services.h server_types.h
30 libserver_la_CPPFLAGS = @XML_CPPFLAGS@ @LIBGNUTLS_CFLAGS@
31 libserver_la_LIBADD = @XML_LIBS@ @LIBGNUTLS_LIBS@
34 noinst_PROGRAMS = server_cli $(TESTS)
35 server_cli_SOURCES = server_cli.c
36 server_cli_LDADD = ./libserver.la -L.
38 # Access public API only
40 basic_authentication_SOURCES = basic_authentication.c $(common)
41 hotp_authentication_SOURCES = hotp_authentication.c $(common)
42 totp_authentication_SOURCES = totp_authentication.c $(common)
43 isds_change_password_SOURCES = isds_change_password.c $(common)
44 hotp_isds_change_password_SOURCES = hotp_isds_change_password.c $(common)
45 totp_isds_change_password_SOURCES = totp_isds_change_password.c $(common)
46 isds_delete_message_from_storage_SOURCES = isds_delete_message_from_storage.c $(common)