1 # This file is part of systemd.
3 # Copyright 2010 Lennart Poettering
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # systemd is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with systemd; If not, see <http://www.gnu.org/licenses/>.
18 ACLOCAL_AMFLAGS = -I m4
20 pkgsysconfdir=$(sysconfdir)/systemd
21 dbuspolicydir=$(sysconfdir)/dbus-1/system.d
22 udevrulesdir=/lib/udev/rules.d
24 systemunitdir=$(pkgdatadir)/system
25 sessionunitdir=$(pkgdatadir)/system
28 -include $(top_builddir)/config.h \
29 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
30 -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
31 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
32 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
33 -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \
34 -DSESSION_DATA_UNIT_PATH=\"$(sessionunitdir)\" \
35 -DCGROUP_AGENT_PATH=\"$(pkglibexecdir)/systemd-cgroups-agent\"
44 pkglibexec_PROGRAMS = \
46 systemd-cgroups-agent \
54 org.freedesktop.systemd1.conf
60 units/emergency.service \
61 systemd-initctl.service \
62 units/systemd-initctl.socket \
63 systemd-logger.service \
64 units/systemd-logger.socket
67 org.freedesktop.systemd1.conf \
69 units/emergency.service \
70 units/systemd-initctl.service.in \
71 units/systemd-initctl.socket \
72 units/systemd-logger.service.in \
73 units/systemd-logger.socket
159 test_engine_SOURCES = \
163 test_engine_CPPFLAGS = $(systemd_CPPFLAGS)
164 test_engine_LDADD = $(systemd_LDADD)
166 test_job_type_SOURCES = \
170 test_job_type_CPPFLAGS = $(systemd_CPPFLAGS)
171 test_job_type_LDADD = $(systemd_LDADD)
173 systemd_logger_SOURCES = \
177 systemd_initctl_SOURCES = \
181 systemd_initctl_CPPFLAGS = \
185 systemd_initctl_LDADD = \
188 systemd_cgroups_agent_SOURCES = \
192 systemd_cgroups_agent_CPPFLAGS = \
196 systemd_cgroups_agent_LDADD = \
199 VALAFLAGS = -g --save-temps --pkg=dbus-glib-1 --pkg=posix --pkg gee-1.0 --pkg gtk+-2.0
201 systemctl_SOURCES = \
203 systemd-interfaces.vala
205 systemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS)
206 systemctl_LDADD = $(DBUSGLIB_LIBS)
208 systemadm_SOURCES = \
210 systemd-interfaces.vala
212 systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS)
213 systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS)
215 systemd-initctl.service: units/systemd-initctl.service.in Makefile
216 sed -e 's,@libexecdir\@,$(libexecdir),g' < $< > $@
218 systemd-logger.service: units/systemd-logger.service.in Makefile
219 sed -e 's,@libexecdir\@,$(libexecdir),g' < $< > $@
222 systemd-interfaces.c \
225 systemd-initctl.service \
226 systemd-logger.service