chiark / gitweb /
firstboot: add new component to query basic system settings on first boot, or when...
[elogind.git] / Makefile.am
index 01afbe3a228bfdd54378b9983987e4bcee5f0e29..321379ca5fa7994d510968c0a0b1d052b3b5488e 100644 (file)
@@ -727,6 +727,8 @@ libsystemd_shared_la_SOURCES = \
        src/shared/path-util.h \
        src/shared/time-util.c \
        src/shared/time-util.h \
+       src/shared/locale-util.c \
+       src/shared/locale-util.h \
        src/shared/hashmap.c \
        src/shared/hashmap.h \
        src/shared/siphash24.c \
@@ -1870,6 +1872,40 @@ INSTALL_DIRS += \
        $(sysusersdir)
 endif
 
+# ------------------------------------------------------------------------------
+if ENABLE_FIRSTBOOT
+systemd_firstboot_SOURCES = \
+       src/firstboot/firstboot.c
+
+systemd_firstboot_LDADD = \
+       libsystemd-units.la \
+       libsystemd-label.la \
+       libsystemd-capability.la \
+       libsystemd-internal.la \
+       libsystemd-shared.la \
+       -lcrypt
+
+rootbin_PROGRAMS += \
+       systemd-firstboot
+
+nodist_systemunit_DATA += \
+       units/systemd-firstboot.service
+
+EXTRA_DIST += \
+       units/systemd-firstboot.service.in
+
+systemgenerator_PROGRAMS += \
+       systemd-firstboot-generator
+
+systemd_firstboot_generator_SOURCES = \
+       src/firstboot/firstboot-generator.c
+
+systemd_firstboot_generator_LDADD = \
+       libsystemd-label.la \
+       libsystemd-shared.la
+
+endif
+
 # ------------------------------------------------------------------------------
 systemd_machine_id_setup_SOURCES = \
        src/machine-id-setup/machine-id-setup-main.c \
@@ -3537,6 +3573,13 @@ test_compress_LDADD = \
        libsystemd-journal-internal.la \
        libsystemd-shared.la
 
+test_compress_benchmark_SOURCES = \
+       src/journal/test-compress-benchmark.c
+
+test_compress_benchmark_LDADD = \
+       libsystemd-journal-internal.la \
+       libsystemd-shared.la
+
 libsystemd_journal_core_la_SOURCES = \
        src/journal/journald-kmsg.c \
        src/journal/journald-kmsg.h \
@@ -3619,7 +3662,9 @@ tests += \
        test-mmap-cache \
        test-catalog
 
-tests += test-compress
+tests += \
+       test-compress \
+       test-compress-benchmark
 
 pkginclude_HEADERS += \
        src/systemd/sd-journal.h \