chiark / gitweb /
configure: Allow to disable build of tools that require GTK.
[elogind.git] / Makefile.am
index 7396dddd87e30ead9680f1e85dfc97bf2a5cdf49..ebcdedd4fc5f061f5c28525b7e234fb38c057248 100644 (file)
@@ -42,8 +42,12 @@ sbin_PROGRAMS = \
        systemd
 
 bin_PROGRAMS = \
-       systemctl \
+       systemctl
+
+if HAVE_GTK
+bin_PROGRAMS += \
        systemadm
+endif
 
 pkglibexec_PROGRAMS = \
        systemd-logger \
@@ -131,6 +135,16 @@ COMMON_SOURCES = \
        fdset.c \
        namespace.c
 
+EXTRA_DIST += \
+       ${COMMON_SOURCES:.c=.h} \
+       macro.h \
+       ioprio.h \
+       missing.h \
+       list.h \
+       securebits.h \
+       linux/auto_dev-ioctl.h \
+       initreq.h
+
 systemd_SOURCES = \
        $(COMMON_SOURCES) \
        main.c