chiark / gitweb /
fixme: minor update
[elogind.git] / Makefile.am
index 8ac2c2da4cb154b8f4d853eefa007591b0aa3390..3fc221c7f0549941c657212851048d2e3c10ac2c 100644 (file)
 
 ACLOCAL_AMFLAGS = -I m4
 
+pkgsysconfdir=$(sysconfdir)/systemd
+
 AM_CPPFLAGS = \
         -include $(top_builddir)/config.h \
-       -DUNIT_PATH=\"/tmp/does/not/exist\"
+       -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
+       -DSYSTEM_DATA_UNIT_PATH=\"$(pkgdatadir)/system\" \
+       -DSYSTEM_SYSVINIT_PATH=\"$(sysconfdir)/init.d\" \
+       -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \
+       -DSESSION_DATA_UNIT_PATH=\"$(pkgdatadir)/session\"
 
 sbin_PROGRAMS = \
        systemd
@@ -110,3 +116,8 @@ systemadm_SOURCES = \
 
 systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS)
 systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS)
+
+CLEANFILES = \
+       systemd-interfaces.c \
+       systemctl.c \
+       systemadm.c