chiark / gitweb /
ac-power: make ac-power a proper binary that scripts can call
[elogind.git] / Makefile.am
index 52bd13fedb64e4dc526a9da1b16b407725e735c1..69faa5581a7dfbd478024d64ca0d953686e142b2 100644 (file)
@@ -116,7 +116,8 @@ rootlibexec_PROGRAMS = \
        systemd-quotacheck \
        systemd-cryptsetup \
        systemd-cryptsetup-generator \
-       systemd-timestamp
+       systemd-timestamp \
+       systemd-ac-power
 
 noinst_PROGRAMS = \
        test-engine \
@@ -724,6 +725,17 @@ systemd_timestamp_CFLAGS = \
 systemd_timestamp_LDADD = \
        libsystemd-basic.la
 
+systemd_ac_power_SOURCES = \
+       src/ac-power.c
+
+systemd_ac_power_CFLAGS = \
+       $(AM_CFLAGS) \
+       $(UDEV_CFLAGS)
+
+systemd_ac_power_LDADD = \
+       libsystemd-basic.la \
+       $(UDEV_LIBS)
+
 systemd_cryptsetup_SOURCES = \
        src/cryptsetup.c