chiark / gitweb /
firstboot: add new component to query basic system settings on first boot, or when...
[elogind.git] / Makefile.am
index 0bf803a1f366dbe36234f9cf69aa9255221c6f70..321379ca5fa7994d510968c0a0b1d052b3b5488e 100644 (file)
@@ -1872,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 \