]>
Commit | Line | Data |
---|---|---|
3a726fcd ZJS |
1 | # SPDX-License-Identifier: LGPL-2.1+ |
2 | # | |
96b2fb93 | 3 | # Copyright © 2017 Zbigniew Jędrzejewski-Szmek |
3a726fcd | 4 | |
5c23128d | 5 | systemd_importd_sources = files(''' |
37efbbd8 | 6 | importd.c |
5c23128d ZJS |
7 | '''.split()) |
8 | ||
9 | systemd_pull_sources = files(''' | |
37efbbd8 ZJS |
10 | pull.c |
11 | pull-raw.c | |
12 | pull-raw.h | |
13 | pull-tar.c | |
14 | pull-tar.h | |
15 | pull-job.c | |
16 | pull-job.h | |
17 | pull-common.c | |
18 | pull-common.h | |
19 | import-common.c | |
20 | import-common.h | |
21 | import-compress.c | |
22 | import-compress.h | |
23 | curl-util.c | |
24 | curl-util.h | |
25 | qcow2-util.c | |
26 | qcow2-util.h | |
5c23128d ZJS |
27 | '''.split()) |
28 | ||
29 | systemd_import_sources = files(''' | |
37efbbd8 ZJS |
30 | import.c |
31 | import-raw.c | |
32 | import-raw.h | |
33 | import-tar.c | |
34 | import-tar.h | |
35 | import-common.c | |
36 | import-common.h | |
37 | import-compress.c | |
38 | import-compress.h | |
39 | qcow2-util.c | |
40 | qcow2-util.h | |
5c23128d ZJS |
41 | '''.split()) |
42 | ||
43 | systemd_export_sources = files(''' | |
37efbbd8 ZJS |
44 | export.c |
45 | export-tar.c | |
46 | export-tar.h | |
47 | export-raw.c | |
48 | export-raw.h | |
49 | import-common.c | |
50 | import-common.h | |
51 | import-compress.c | |
52 | import-compress.h | |
5c23128d ZJS |
53 | '''.split()) |
54 | ||
349cc4a5 | 55 | if conf.get('ENABLE_IMPORTD') == 1 |
37efbbd8 ZJS |
56 | install_data('org.freedesktop.import1.conf', |
57 | install_dir : dbuspolicydir) | |
58 | install_data('org.freedesktop.import1.service', | |
59 | install_dir : dbussystemservicedir) | |
9b3cff19 | 60 | install_data('org.freedesktop.import1.policy', |
264d8dcc | 61 | install_dir : polkitpolicydir) |
5c23128d | 62 | |
37efbbd8 ZJS |
63 | install_data('import-pubring.gpg', |
64 | install_dir : rootlibexecdir) | |
65 | # TODO: shouldn't this be in pkgdatadir? | |
5c23128d | 66 | endif |
69e96427 ZJS |
67 | |
68 | tests += [ | |
37efbbd8 ZJS |
69 | [['src/import/test-qcow2.c', |
70 | 'src/import/qcow2-util.c', | |
71 | 'src/import/qcow2-util.h'], | |
72 | [libshared], | |
73 | [libz], | |
74 | 'HAVE_ZLIB', 'manual'], | |
75 | ] |