summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am21
1 files changed, 10 insertions, 11 deletions
diff --git a/Makefile.am b/Makefile.am
index 65294a56a9..403439b6eb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -267,7 +267,8 @@ rootbin_PROGRAMS = \
systemd-ask-password \
systemd-tty-ask-password-agent \
systemd-tmpfiles \
- systemd-machine-id-setup
+ systemd-machine-id-setup \
+ systemd-analyze
bin_PROGRAMS = \
systemd-cgls \
@@ -297,14 +298,16 @@ systemgenerator_PROGRAMS = \
systemd-fstab-generator \
systemd-system-update-generator
-dist_bin_SCRIPTS = \
- src/analyze/systemd-analyze
+systemd_analyze_SOURCES = \
+ src/analyze/systemd-analyze.c
-EXTRA_DIST += \
- src/analyze/systemd-analyze.in
+systemd_analyze_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(DBUS_CFLAGS)
-CLEANFILES += \
- src/analyze/systemd-analyze
+systemd_analyze_LDADD = \
+ libsystemd-shared.la \
+ libsystemd-dbus.la
dist_bashcompletion_DATA = \
shell-completion/systemd-bash-completion.sh
@@ -3465,10 +3468,6 @@ src/%.policy.in: src/%.policy.in.in Makefile
$(SED_PROCESS)
$(AM_V_GEN)chmod +x $@
-src/analyze/systemd-analyze: %: %.in Makefile
- $(SED_PROCESS)
- $(AM_V_GEN)chmod +x $@
-
src/%.c: src/%.gperf
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GPERF)$(GPERF) < $< > $@