HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

src/shutdown/meson.build

Git blob: 397c67098f23f6c368cc5dd80f367299881811db

Lines 1–30 of 30

# SPDX-License-Identifier: LGPL-2.1-or-later
 
if conf.get('HAVE_LIBMOUNT') != 1
        subdir_done()
endif
 
shutdown_detach_sources = files(
        'detach-swap.c',
        'umount.c',
)
 
executables += [
        libexec_template + {
                'name' : 'systemd-shutdown',
                'public' : true,
                'export' : files(
                        'detach-dm.c',
                        'detach-loopback.c',
                        'detach-md.c',
                        'shutdown.c',
                ) + shutdown_detach_sources,
                'dependencies' : libmount_cflags,
        },
        test_template + {
                'sources' : files('test-umount.c') +
                            shutdown_detach_sources,
                'dependencies' : libmount_cflags,
        },
]