test: Add tests for isds_find_box_by_fulltext()
[libisds.git] / test / simline / Makefile.am
blobabdd1e3da4b4c2803ad3ec56b8a8000b0df2b2a4
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 isds_get_commercial_credit \
21                  isds_find_box_by_fulltext \
22                  hotp_isds_change_password totp_isds_change_password \
23                  isds_delete_message_from_storage isds_ping isds_resign_message
24 endif
27 # Server library
28 noinst_LTLIBRARIES = libserver.la
29 libserver_la_SOURCES = ../test.c ../test-tools.h http.c http.h \
30                                                 server.c server.h service.c service.h \
31                                                 services.h server_types.h system.h
32 if WIN32
33 libserver_la_SOURCES += win32.c win32.h
34 else
35 libserver_la_SOURCES += unix.c unix.h
36 endif
38 libserver_la_CPPFLAGS = @XML_CPPFLAGS@ @LIBGNUTLS_CFLAGS@
39 libserver_la_LIBADD = @XML_LIBS@ @LIBGNUTLS_LIBS@
41 # Standalone server
42 noinst_PROGRAMS = server_cli $(TESTS)
43 server_cli_SOURCES = server_cli.c
44 server_cli_LDADD = ./libserver.la -L.
46 # Access public API only
47 common = ../test.h
48 basic_authentication_SOURCES = basic_authentication.c $(common)
49 hotp_authentication_SOURCES = hotp_authentication.c $(common)
50 totp_authentication_SOURCES = totp_authentication.c $(common)
51 certificate_user_password_authentication_SOURCES = \
52         certificate_user_password_authentication.c $(common)
53 isds_change_password_SOURCES = isds_change_password.c $(common)
54 isds_get_commercial_credit_SOURCES = isds_get_commercial_credit.c $(common)
55 isds_find_box_by_fulltext_SOURCES = isds_find_box_by_fulltext.c $(common)
56 hotp_isds_change_password_SOURCES = hotp_isds_change_password.c $(common)
57 totp_isds_change_password_SOURCES = totp_isds_change_password.c $(common)
58 isds_delete_message_from_storage_SOURCES = isds_delete_message_from_storage.c $(common)
59 isds_resign_message_SOURCES = isds_resign_message.c $(common)
60 isds_ping_SOURCES = isds_ping.c $(common)