Convert ASCII-encoded OpenSSL errors to non-compliant user-defined encoding.
[libisds.git] / test / online / Makefile.am
blob22b556b4f6764cf5bdb5c40fabbe12d16178b0f8
1 AUTOMAKE_OPTIONS = color-tests parallel-tests
2 export VERBOSE=1
4 libdirpath = src
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@ \
14                 @LTLIBINTL@
16 TESTS = login 
18 noinst_PROGRAMS = $(TESTS)
20 common = ../test.c ../test.h ../test-tools.h common.c common.h \
21         $(LIBDIR)/cdecode.c \
22         $(LIBDIR)/cencode.c \
23         $(LIBDIR)/isds.c \
24         $(LIBDIR)/physxml.c \
25         $(LIBDIR)/soap.c \
26         $(LIBDIR)/utils.c \
27         $(LIBDIR)/validator.c \
28         $(LIBDIR)/cdecode.h \
29         $(LIBDIR)/cencode.h \
30         $(LIBDIR)/crypto.h \
31         $(LIBDIR)/gettext.h \
32         $(LIBDIR)/isds.h \
33         $(LIBDIR)/isds_priv.h \
34         $(LIBDIR)/physxml.h \
35         $(LIBDIR)/soap.h \
36         $(LIBDIR)/utils.h \
37         $(LIBDIR)/validator.h
38 if USE_OPENSSL_BACKEND
39 common += \
40         $(LIBDIR)/crypto_openssl.c
41 else
42 common += \
43         $(LIBDIR)/crypto_gpg.c
44 endif
45 if WIN32
46 common += $(LIBDIR)/win32.c $(LIBDIR)/win32.h
47 else
48 common += $(LIBDIR)/unix.c $(LIBDIR)/unix.h
49 endif
51 # Omit isds.c
52 isds_common = ../test.c ../test.h ../test-tools.h \
53         $(LIBDIR)/cdecode.c \
54         $(LIBDIR)/cencode.c \
55         $(LIBDIR)/physxml.c \
56         $(LIBDIR)/soap.c \
57         $(LIBDIR)/utils.c \
58         $(LIBDIR)/validator.c \
59         $(LIBDIR)/cdecode.h \
60         $(LIBDIR)/cencode.h \
61         $(LIBDIR)/crypto.h \
62         $(LIBDIR)/isds.h \
63         $(LIBDIR)/isds_priv.h \
64         $(LIBDIR)/physxml.h \
65         $(LIBDIR)/soap.h \
66         $(LIBDIR)/utils.h \
67         $(LIBDIR)/validator.h
68 if USE_OPENSSL_BACKEND
69 isds_common += \
70         $(LIBDIR)/crypto_openssl.c
71 else
72 isds_common += \
73         $(LIBDIR)/crypto_gpg.c
74 endif
75 if WIN32
76 isds_common += $(LIBDIR)/win32.c $(LIBDIR)/win32.h
77 else
78 isds_common += $(LIBDIR)/unix.c $(LIBDIR)/unix.h
79 endif
81 # Access _hidden symbols
82 #compute_hash_SOURCES   = compute_hash.c $(common)
83 login_SOURCES                   = login.c $(common)
85 # Access static symbols from isds.c
86 #isds_dbtype_SOURCES            = isds-dbtype.c $(isds_common)