]>
Commit | Line | Data |
---|---|---|
db9ecf05 | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
3a726fcd | 2 | |
b93f018f ZJS |
3 | systemd_importd_sources = files( |
4 | 'importd.c') | |
5c23128d | 5 | |
b93f018f ZJS |
6 | systemd_pull_sources = files( |
7 | 'pull.c', | |
8 | 'pull-raw.c', | |
b93f018f | 9 | 'pull-tar.c', |
b93f018f | 10 | 'pull-job.c', |
b93f018f | 11 | 'pull-common.c', |
b93f018f | 12 | 'curl-util.c', |
4a7ee0a5 | 13 | ) |
5c23128d | 14 | |
b93f018f ZJS |
15 | systemd_import_sources = files( |
16 | 'import.c', | |
17 | 'import-raw.c', | |
b93f018f | 18 | 'import-tar.c', |
4a7ee0a5 | 19 | ) |
5c23128d | 20 | |
b93f018f ZJS |
21 | systemd_import_fs_sources = files( |
22 | 'import-fs.c') | |
1d7579c4 | 23 | |
b93f018f ZJS |
24 | systemd_export_sources = files( |
25 | 'export.c', | |
26 | 'export-tar.c', | |
b93f018f | 27 | 'export-raw.c', |
4a7ee0a5 | 28 | ) |
5c23128d | 29 | |
349cc4a5 | 30 | if conf.get('ENABLE_IMPORTD') == 1 |
b93f018f ZJS |
31 | lib_import_common = static_library( |
32 | 'import-common', | |
33 | 'import-common.c', | |
b93f018f | 34 | 'import-compress.c', |
b93f018f | 35 | 'qcow2-util.c', |
b93f018f ZJS |
36 | include_directories : includes, |
37 | dependencies : [libbzip2, | |
38 | libxz, | |
03f7ddf0 ZJS |
39 | libz], |
40 | build_by_default : false) | |
b93f018f | 41 | |
37efbbd8 ZJS |
42 | install_data('org.freedesktop.import1.conf', |
43 | install_dir : dbuspolicydir) | |
44 | install_data('org.freedesktop.import1.service', | |
45 | install_dir : dbussystemservicedir) | |
9b3cff19 | 46 | install_data('org.freedesktop.import1.policy', |
264d8dcc | 47 | install_dir : polkitpolicydir) |
5c23128d | 48 | |
37efbbd8 ZJS |
49 | install_data('import-pubring.gpg', |
50 | install_dir : rootlibexecdir) | |
51 | # TODO: shouldn't this be in pkgdatadir? | |
5c23128d | 52 | endif |
69e96427 ZJS |
53 | |
54 | tests += [ | |
822cd3ff JJ |
55 | { |
56 | 'sources' : files( | |
57 | 'test-qcow2.c', | |
58 | 'qcow2-util.c', | |
59 | ), | |
60 | 'dependencies' : libz, | |
61 | 'condition' : 'HAVE_ZLIB', | |
62 | 'type' : 'manual', | |
63 | }, | |
37efbbd8 | 64 | ] |