Extra space.
[shibboleth/cpp-opensaml.git] / samltest / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 if BUILD_UNITTEST
4 bin_PROGRAMS = samltest
5 samltest_CXXFLAGS = $(CXXFLAGS) $(CXXTESTFLAGS)
6 else
7 bin_PROGRAMS = 
8 endif
9
10 samltest_h = \
11     samltest.h \
12     SAMLArtifactCreationTest.h \
13     SAMLArtifactType0001Test.h \
14     SAMLArtifactType0002Test.h \
15     SAMLArtifactType0004Test.h \
16     ArtifactMapTest.h \
17     encryption/EncryptedAssertionTest.h \
18     signature/SAML1AssertionTest.h \
19     signature/SAML1RequestTest.h \
20     signature/SAML1ResponseTest.h \
21     signature/SAML2AssertionTest.h \
22     security/ExplicitKeyTrustEngineTest.h \
23     security/StaticPKIXTrustEngineTest.h \
24     saml1/core/impl/ActionTest.h \
25     saml1/core/impl/AdviceTest.h \
26     saml1/core/impl/AssertionIDReferenceTest.h \
27     saml1/core/impl/AssertionTest.h \
28     saml1/core/impl/AttributeDesignatorTest.h \
29     saml1/core/impl/AttributeStatementTest.h \
30     saml1/core/impl/AttributeTest.h \
31     saml1/core/impl/AudienceRestrictionConditionTest.h \
32     saml1/core/impl/AudienceTest.h \
33     saml1/core/impl/AuthenticationStatementTest.h \
34     saml1/binding/SAML1ArtifactTest.h \
35     saml1/binding/SAML1POSTTest.h \
36     saml1/profile/SAML1PolicyTest.h \
37     saml2/core/impl/Action20Test.h \
38     saml2/core/impl/Advice20Test.h \
39     saml2/core/impl/Artifact20Test.h \
40     saml2/core/impl/ArtifactResolve20Test.h \
41     saml2/core/impl/ArtifactResponse20Test.h \
42     saml2/core/impl/Assertion20Test.h \
43     saml2/core/impl/AssertionIDRef20Test.h \
44     saml2/core/impl/AssertionIDRequest20Test.h \
45     saml2/core/impl/AssertionURIRef20Test.h \
46     saml2/core/impl/Attribute20Test.h \
47     saml2/core/impl/AttributeQuery20Test.h \
48     saml2/core/impl/AttributeStatement20Test.h \
49     saml2/core/impl/Audience20Test.h \
50     saml2/core/impl/AudienceRestriction20Test.h \
51     saml2/core/impl/AuthenticatingAuthority20Test.h \
52     saml2/core/impl/AuthnContext20Test.h \
53     saml2/core/impl/AuthnContextClassRef20Test.h \
54     saml2/core/impl/AuthnContextDeclRef20Test.h \
55     saml2/core/impl/AuthnQuery20Test.h \
56     saml2/core/impl/AuthnRequest20Test.h \
57     saml2/core/impl/AuthnStatement20Test.h \
58     saml2/core/impl/AuthzDecisionQuery20Test.h \
59     saml2/core/impl/AuthzDecisionStatement20Test.h \
60     saml2/core/impl/Conditions20Test.h \
61     saml2/core/impl/Evidence20Test.h \
62     saml2/core/impl/GetComplete20Test.h \
63     saml2/core/impl/IDPEntry20Test.h \
64     saml2/core/impl/IDPList20Test.h \
65     saml2/core/impl/Issuer20Test.h \
66     saml2/core/impl/KeyInfoConfirmationDataType20Test.h\
67     saml2/core/impl/LogoutRequest20Test.h \
68     saml2/core/impl/LogoutResponse20Test.h \
69     saml2/core/impl/ManageNameIDRequest20Test.h \
70     saml2/core/impl/ManageNameIDResponse20Test.h \
71     saml2/core/impl/NameIDMappingRequest20Test.h \
72     saml2/core/impl/NameIDMappingResponse20Test.h \
73     saml2/core/impl/NameIDPolicy20Test.h \
74     saml2/core/impl/NameID20Test.h \
75     saml2/core/impl/NameIDType20Test.h \
76     saml2/core/impl/NewEncryptedID20Test.h \
77     saml2/core/impl/NewID20Test.h \
78     saml2/core/impl/OneTimeUse20Test.h \
79     saml2/core/impl/ProxyRestriction20Test.h \
80     saml2/core/impl/RequesterID20Test.h \
81     saml2/core/impl/RequestedAuthnContext20Test.h \
82     saml2/core/impl/Response20Test.h \
83     saml2/core/impl/Scoping20Test.h \
84     saml2/core/impl/SessionIndex20Test.h \
85     saml2/core/impl/Status20Test.h \
86     saml2/core/impl/StatusCode20Test.h \
87     saml2/core/impl/StatusDetail20Test.h \
88     saml2/core/impl/StatusMessage20Test.h \
89     saml2/core/impl/Subject20Test.h\
90     saml2/core/impl/SubjectConfirmation20Test.h\
91     saml2/core/impl/SubjectConfirmationData20Test.h\
92     saml2/core/impl/SubjectLocality20Test.h\
93     saml2/core/impl/Terminate20Test.h \
94     saml2/binding/SAML2ArtifactTest.h \
95     saml2/binding/SAML2POSTTest.h \
96     saml2/binding/SAML2RedirectTest.h \
97     saml2/metadata/XMLMetadataProviderTest.h \
98     saml2/profile/SAML2PolicyTest.h
99
100 noinst_HEADERS = \
101         binding.h \
102     internal.h \
103     signature/SAMLSignatureTestBase.h
104
105 nodist_samltest_SOURCES = $(samltest_h:.h=.cpp)
106
107 CLEANFILES = $(nodist_samltest_SOURCES)
108
109 do-cxxtestgen:
110         if test $(HFILE) = "samltest.h"; then \
111                 $(CXXTEST) --error-printer --have-eh --have-std --abort-on-fail -o $(CPPFILE) $(HFILE); \
112         else \
113                 $(CXXTEST) --part --have-eh --have-std --abort-on-fail -o $(CPPFILE) $(HFILE); \
114         fi;
115
116 $(nodist_samltest_SOURCES): %.cpp: %.h
117         $(MAKE) do-cxxtestgen HFILE=$< CPPFILE=$@
118
119 samltest_LDADD = $(top_builddir)/saml/libsaml.la
120
121 EXTRA_DIST = samltest.vcproj $(samltest_h) data