source: SMSSender/gateways/Smartphone/smartphone-base.pro @ 342:bdf193a5051e

separation-frontend-backend
Last change on this file since 342:bdf193a5051e was 342:bdf193a5051e, checked in by Sämy Zehnder <saemy.zehnder@…>, 6 years ago
  • Adjusts what's being installed to where.
  • Adds config parameter install_dev_files; headers and static libraries are only installed if this variable is set.
File size: 2.3 KB
Line 
1include(../../smssender.pri)
2
3BASE_VERSION = 1.0
4
5TARGET = smartphone-base
6
7TEMPLATE = lib
8CONFIG += \
9    staticlib
10
11QT = \
12    core\
13    network \
14    sql \
15    xml
16
17LIBS += \
18    -L../../ -l$$COMMON$$LIB_SUFFIX \
19    -L../../ -lgateways-common$$LIB_SUFFIX \
20
21# Needed so that this target gets rebuilt if they change,
22PRE_TARGETDEPS += \
23    ../../libgateways-common$${LIB_SUFFIX}.$$EXT_DYNAMICLIB \
24    ../../lib$$COMMON$${LIB_SUFFIX}.$$EXT_DYNAMICLIB
25
26install_dev_files:unix {
27    target.path = /usr/lib/smssender/gateways
28    INSTALLS += target
29}
30
31HEADERS = \
32    business/account.h \
33    business/account_tasks.h \
34    business/accountvalidator.h \
35    business/connectionhandler.h \
36    business/contactimporter/contactimporter.h \
37    business/datahandler/abstractdatahandler.h \
38    business/datahandler/contactsresponsehandler_v1.h \
39    business/datahandler/hellohandler_v1.h \
40    business/datahandler/idatahandler.h \
41    business/datahandler/pinghandler_v1.h \
42    business/datahandler/sendsmsresponsehandler_v1.h \
43    business/datatypes.h \
44    business/datatypes_p.h \
45    business/gateway.h \
46    business/packages/packagewizard.h \
47    business/smartphoneconnector.h \
48    business/smartphoneconnector_p.h \
49    business/smartphonemanager.h \
50    persistence/accountstoragehelper.h \
51    persistence/gatewaystoragehelper.h \
52
53SOURCES = \
54    business/account.cpp \
55    business/account_costs.cpp \
56    business/account_task_sendsms.cpp \
57    business/accountvalidator.cpp \
58    business/connectionhandler.cpp \
59    business/contactimporter/contactimporter.cpp \
60    business/datahandler/abstractdatahandler.cpp \
61    business/datahandler/contactsresponsehandler_v1.cpp \
62    business/datahandler/hellohandler_v1.cpp \
63    business/datahandler/pinghandler_v1.cpp \
64    business/datahandler/sendsmsresponsehandler_v1.cpp \
65    business/datatypes.cpp \
66    business/gateway.cpp \
67    business/packages/packagewizard.cpp \
68    business/smartphoneconnector.cpp \
69    business/smartphoneconnector_poll.cpp \
70    business/smartphonemanager.cpp \
71    persistence/accountstoragehelper.cpp \
72    persistence/gatewaystoragehelper.cpp \
73
74RESOURCES =\
75    lib/smartphone.qrc
76
77install_dev_files:unix {
78    headers.path = /usr/include/smssender/gateways/Smartphone
79    headers.files = $$HEADERS
80    INSTALLS += headers
81}
Note: See TracBrowser for help on using the repository browser.