1 AUTOMAKE_OPTIONS = color-tests parallel-tests
5 LIBDIR = $(top_srcdir)/$(libdirpath)
6 localedir = $(datadir)/locale
7 AM_CPPFLAGS = -I$(LIBDIR) -I$(top_builddir)/$(libdirpath)
9 # Large files needed by GPGME
10 AM_CPPFLAGS += @XML_CPPFLAGS@ @LIBCURL_CPPFLAGS@ \
11 -DLOCALEDIR=\"$(localedir)\"
12 AM_CFLAGS = @LIBGCRYPT_CFLAGS@ @GPGME_CFLAGS@
13 LDADD = @XML_LIBS@ @LIBCURL@ @LIBGCRYPT_LIBS@ @GPGME_LIBS@ @EXPAT_LIBS@ \
16 TESTS = login login_mep
18 noinst_PROGRAMS = $(TESTS)
20 common = ../test.c ../test.h ../test-tools.h common.c common.h \
27 $(LIBDIR)/validator.c \
33 $(LIBDIR)/isds_priv.h \
38 if USE_OPENSSL_BACKEND
40 $(LIBDIR)/crypto_openssl.c
43 $(LIBDIR)/crypto_gpg.c
46 common += $(LIBDIR)/win32.c $(LIBDIR)/win32.h
48 common += $(LIBDIR)/unix.c $(LIBDIR)/unix.h
52 isds_common = ../test.c ../test.h ../test-tools.h \
58 $(LIBDIR)/validator.c \
63 $(LIBDIR)/isds_priv.h \
68 if USE_OPENSSL_BACKEND
70 $(LIBDIR)/crypto_openssl.c
73 $(LIBDIR)/crypto_gpg.c
76 isds_common += $(LIBDIR)/win32.c $(LIBDIR)/win32.h
78 isds_common += $(LIBDIR)/unix.c $(LIBDIR)/unix.h
81 # Access _hidden symbols
82 #compute_hash_SOURCES = compute_hash.c $(common)
83 login_SOURCES = login.c $(common)
84 login_mep_SOURCES = login_mep.c $(common)
86 # Access static symbols from isds.c
87 #isds_dbtype_SOURCES = isds-dbtype.c $(isds_common)