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