summaryrefslogtreecommitdiffstats
path: root/libqsystemtest/libqsystemtest.pro
blob: 2bc22be14572f4ecaf7fd14c38e24e3c83bfc566 (plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
DEFINES += QSYSTEMTEST_TARGET

FORMS   +=\
        manualverificationdlg.ui \
        failuredlg.ui \
        recorddlg.ui

SEMI_PRIVATE_HEADERS += \
        qsystemtestmaster_p.h \
        qtestremote_p.h \
        qtestverifydlg_p.h

HEADERS +=\
        gracefulquit.h \
        qabstracttest.h \
        qsystemtest.h \
	testdevicecontrol.h

SOURCES +=\
        gracefulquit.cpp \
        qabstracttest.cpp \
        qtestremote.cpp \
        qtestverifydlg.cpp \
        qsystemtest.cpp \
        qsystemtest_p.cpp \
        qsystemtestmaster.cpp \
	testdevicecontrol.cpp

HEADERS +=\
	../coreplugin/ssh/sftpchannel.h \
	../coreplugin/ssh/sftpchannel_p.h \
	../coreplugin/ssh/sftpdefs.h \
	../coreplugin/ssh/sftpincomingpacket_p.h \
	../coreplugin/ssh/sftpoperation_p.h \
	../coreplugin/ssh/sftpoutgoingpacket_p.h \
	../coreplugin/ssh/sftppacket_p.h \
	../coreplugin/ssh/sshbotanconversions_p.h \
	../coreplugin/ssh/sshcapabilities_p.h \
	../coreplugin/ssh/sshchannel_p.h \
	../coreplugin/ssh/sshchannelmanager_p.h \
	../coreplugin/ssh/sshconnection.h \
	../coreplugin/ssh/sshconnection_p.h \
	../coreplugin/ssh/sshcryptofacility_p.h \
	../coreplugin/ssh/sshdelayedsignal_p.h \
	../coreplugin/ssh/ssherrors.h \
	../coreplugin/ssh/sshexception_p.h \
	../coreplugin/ssh/sshincomingpacket_p.h \
	../coreplugin/ssh/sshkeyexchange_p.h \
	../coreplugin/ssh/sshkeygenerator.h \
	../coreplugin/ssh/sshoutgoingpacket_p.h \
	../coreplugin/ssh/sshpacket_p.h \
	../coreplugin/ssh/sshpacketparser_p.h \
	../coreplugin/ssh/sshremoteprocess.h \
	../coreplugin/ssh/sshremoteprocess_p.h \
	../coreplugin/ssh/sshsendfacility_p.h

SOURCES +=\
	../coreplugin/ssh/sftpchannel.cpp \
	../coreplugin/ssh/sftpdefs.cpp \
	../coreplugin/ssh/sftpincomingpacket.cpp \
	../coreplugin/ssh/sftpoperation.cpp \
	../coreplugin/ssh/sftpoutgoingpacket.cpp \
	../coreplugin/ssh/sftppacket.cpp \
	../coreplugin/ssh/sshcapabilities.cpp \
	../coreplugin/ssh/sshchannel.cpp \
	../coreplugin/ssh/sshchannelmanager.cpp \
	../coreplugin/ssh/sshconnection.cpp \
	../coreplugin/ssh/sshcryptofacility.cpp \
	../coreplugin/ssh/sshdelayedsignal.cpp \
	../coreplugin/ssh/sshincomingpacket.cpp \
	../coreplugin/ssh/sshkeyexchange.cpp \
	../coreplugin/ssh/sshkeygenerator.cpp \
	../coreplugin/ssh/sshoutgoingpacket.cpp \
	../coreplugin/ssh/sshpacket.cpp \
	../coreplugin/ssh/sshpacketparser.cpp \
	../coreplugin/ssh/sshremoteprocess.cpp \
	../coreplugin/ssh/sshsendfacility.cpp



VPATH+=$$PWD
INCLUDEPATH+=$$PWD
INCLUDEPATH+=$$SRCROOT
INCLUDEPATH+=$$SRCROOT/botan/build
INCLUDEPATH+=$$SRCROOT/coreplugin
DEPENDPATH+=$$SRCROOT

TEMPLATE=lib
TARGET=qsystemtest
TARGET=$$qtLibraryTarget($$TARGET)
HEADERS*=$$SEMI_PRIVATE_HEADERS $$PRIVATE_HEADERS
INCLUDEPATH+=$$SRCROOT/libqtuitest
CONFIG+=qtestlib
QT+=network
LIBS+= -lBotan

unix:!symbian {
    DESTDIR=$$BUILDROOT/lib
    target.path=$$[QT_INSTALL_LIBS]
    INSTALLS+=target
}

symbian {
    TARGET.EPOCALLOWDLLDATA=1
    TARGET.CAPABILITY += AllFiles ReadDeviceData ReadUserData SwEvent WriteUserData
    SOURCES-=gracefulquit.cpp
    HEADERS-=gracefulquit.h
    LIBS+=-L$$OUT_PWD -lqtuitest -lws32 -leuser -lcone
}

win32 {
    SOURCES-=gracefulquit.cpp
    HEADERS-=gracefulquit.h
    CONFIG(debug,debug|release):  LIBS+=-L$$BUILDROOT/libqtuitest -lqtuitestd
    CONFIG(release,debug|release):LIBS+=-L$$BUILDROOT/libqtuitest -lqtuitest
    target.path=$$[QT_INSTALL_BINS]
    INSTALLS+=target
    !equals(QMAKE_CXX, "g++") {
        DEFINES+=strcasecmp=_stricmp
    }
}

mac {
    CONFIG(debug,debug|release): LIBS += -L$$BUILDROOT/lib -lqtuitest_debug
    CONFIG(release,debug|release): LIBS += -L$$BUILDROOT/lib -lqtuitest
    DEFINES+=sighandler_t=sig_t
}


target.path += \
    /usr/local/lib