File: Makefile.am

package info (click to toggle)
xmltooling 1.6.0-4+deb9u2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,928 kB
  • sloc: cpp: 22,289; sh: 11,065; makefile: 337; xml: 170; ansic: 49
file content (55 lines) | stat: -rw-r--r-- 1,438 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
AUTOMAKE_OPTIONS = foreign

TESTS = xmltoolingtest

check_PROGRAMS = xmltoolingtest

xmltoolingtest_CXXFLAGS = $(CXXTESTFLAGS)
xmltoolingtest_CPPFLAGS = $(xerces_CFLAGS)
if BUILD_XMLSEC
xmltoolingtest_CPPFLAGS += $(XMLSEC_CFLAGS)
xmltoolingtest_LDADD = $(top_builddir)/xmltooling/libxmltooling.la $(XMLSEC_LIBS)
else
xmltoolingtest_LDADD = $(top_builddir)/xmltooling/libxmltooling-lite.la
endif
xmltoolingtest_LDADD += $(xerces_LIBS)

if BUILD_XMLSEC
xmlsec_sources = \
    EncryptionTest.cpp \
    FilesystemCredentialResolverTest.cpp \
    InlineKeyResolverTest.cpp \
    KeyInfoTest.cpp \
    MemoryStorageServiceTest.cpp \
    NonVisibleNamespaceTest.cpp \
    PKIXEngineTest.cpp \
    SecurityHelperTest.cpp \
    SignatureTest.cpp
endif

xmltoolingtest_sources = \
    ComplexXMLObjectTest.cpp \
    DateTimeTest.cpp \
    ExceptionTest.cpp \
    MarshallingTest.cpp \
    SOAPTest.cpp \
    UnmarshallingTest.cpp \
    TemplateEngineTest.cpp \
    ${xmlsec_sources}

noinst_HEADERS = \
    XMLObjectBaseTestCase.h \
    xmltoolingtest.h \
    $(xmltoolingtest_sources:.cpp=.h)

nodist_xmltoolingtest_SOURCES = xmltoolingtest.cpp $(xmltoolingtest_sources)

xmltoolingtest.cpp: %.cpp: %.h
	$(CXXTEST) --error-printer --have-eh --have-std --abort-on-fail -o $@ $<

$(xmltoolingtest_sources): %.cpp: %.h
	$(CXXTEST) --part --have-eh --have-std --abort-on-fail -o $@ $<

CLEANFILES = $(nodist_xmltoolingtest_SOURCES)

EXTRA_DIST = data