1include (../xmlpatterns.pri)
2
3TARGET   = $$XMLPATTERNS_SDK
4TEMPLATE = lib
5DEFINES += Q_PATTERNISTSDK_BUILDING
6
7# lib_bundle ensures we get a framework on OS X, a library bundle.
8CONFIG  += resources
9
10mac {
11    CONFIG += absolute_library_soname
12    target.path=$$[QT_INSTALL_LIBS]
13    INSTALLS += target
14}
15
16symbian {
17    TARGET.EPOCALLOWDLLDATA=1
18    TARGET.CAPABILITY = All -Tcb
19    MMP_RULES += EXPORTUNFROZEN
20}
21
22# We add gui, because xmlpatterns.pri pull it out.
23QT      += xmlpatterns xml network testlib gui
24
25DESTDIR    = $$QT_BUILD_TREE/lib
26!wince*:DLLDESTDIR = $$QT_BUILD_TREE/bin
27
28# syncqt doesn't copy headers in tools/ so let's manually ensure
29# it works with shadow builds and source builds.
30INCLUDEPATH += $$QT_BUILD_TREE/include/QtXmlPatterns/private    \
31               $$QT_SOURCE_TREE/include/QtXmlPatterns/private   \
32               $$QT_SOURCE_TREE/tools/xmlpatterns
33
34HEADERS = ASTItem.h                     \
35          DebugExpressionFactory.h      \
36          ErrorHandler.h                \
37          ErrorItem.h                   \
38          ExitCode.h                    \
39          ExpressionInfo.h              \
40          ExpressionNamer.h             \
41          ExternalSourceLoader.h        \
42          Global.h                      \
43          ResultThreader.h              \
44          TestBaseLine.h                \
45          TestCase.h                    \
46          TestContainer.h               \
47          TestGroup.h                   \
48          TestItem.h                    \
49          TestResult.h                  \
50          TestResultHandler.h           \
51          TestSuite.h                   \
52          TestSuiteHandler.h            \
53          TestSuiteResult.h             \
54          TreeItem.h                    \
55          TreeModel.h                   \
56          Worker.h                      \
57          XMLWriter.h                   \
58          XQTSTestCase.h                \
59          XSDTestSuiteHandler.h         \
60          XSDTSTestCase.h               \
61          XSLTTestSuiteHandler.h
62
63SOURCES = ASTItem.cpp                   \
64          DebugExpressionFactory.cpp    \
65          ErrorHandler.cpp              \
66          ErrorItem.cpp                 \
67          ExpressionInfo.cpp            \
68          ExpressionNamer.cpp           \
69          ExternalSourceLoader.cpp      \
70          Global.cpp                    \
71          ResultThreader.cpp            \
72          TestBaseLine.cpp              \
73          TestCase.cpp                  \
74          TestContainer.cpp             \
75          TestGroup.cpp                 \
76          TestResult.cpp                \
77          TestResultHandler.cpp         \
78          TestSuite.cpp                 \
79          TestSuiteHandler.cpp          \
80          TestSuiteResult.cpp           \
81          TreeItem.cpp                  \
82          TreeModel.cpp                 \
83          Worker.cpp                    \
84          XMLWriter.cpp                 \
85          XQTSTestCase.cpp              \
86          XSDTestSuiteHandler.cpp       \
87          XSDTSTestCase.cpp             \
88          XSLTTestSuiteHandler.cpp
89