-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuteomtp.pro
63 lines (51 loc) · 1.98 KB
/
buteomtp.pro
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
TEMPLATE = subdirs
# "/usr/lib*/libbuteomtp.so" - shared library, mtp responder logic
mts.subdir = mts
mts.target = sub-mts
# "/usr/lib*/mtp/libfsstorage.so" - plugin used by "libbuteomtp.so"
mts_fsstorage_plugin.subdir = mts/platform/storage/fsstorageplugin
mts_fsstorage_plugin.target = sub-mts-fsstorage-plugin
mts_fsstorage_plugin.depends = sub-mts
# "/usr/libexec/mtp_service" - standalone mtp daemon (and env scripts)
service.subdir = service
service.target = sub-service
service.depends = sub-mts
# systemd unit files
systemd.subdir = init/systemd
systemd.target = sub-systemd
# "/opt/tests/buteo-mtp/mtp_test" - unused test application
test.subdir = test
test.target = sub-test
test.depends = sub-mts
# "/opt/tests/buteo-mtp/storagefactory-test" - unit test app
mts_storage_tests.subdir = mts/platform/storage/unittests
mts_storage_tests.target = sub-mts-storage-tests
mts_storage_tests.depends= sub-mts
# "/opt/tests/buteo-mtp/storage-test" - unit test app
mts_fsstorage_tests.subdir = mts/platform/storage/fsstorageplugin/unittests
mts_fsstorage_tests.target = sub-mts-fsstorage-tests
mts_fsstorage_tests.depends = sub-mts-fsstorage-plugin
# "/opt/tests/buteo-mtp/deviceinfo-test" - unit test app
mts_deviceinfo_tests.subdir = mts/platform/deviceinfo/unittests
mts_deviceinfo_tests.target = sub-mts-deviceinfo-tests
mts_deviceinfo_tests.depends = sub-mts
# "/opt/tests/buteo-mtp/protocol-test" - unit test app for mtp command handling
mts_protocol_tests.subdir = mts/protocol/unittests
mts_protocol_tests.target = sub-mts-protocol-tests
mts_protocol_tests.depends = sub-mts
SUBDIRS += \
mts \
test \
mts_storage_tests \
mts_fsstorage_plugin \
mts_fsstorage_tests \
mts_deviceinfo_tests \
mts_protocol_tests \
service \
systemd
# install additional files for the CI Integration tests
citests.path = /opt/tests/buteo-mtp/test-definition/
citests.files = tests.xml
INSTALLS += citests
OTHER_FILES += rpm/buteo-mtp-qt5.privileges \
rpm/buteo-mtp-qt5.spec