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
25 -include $(top_builddir)/config.h \
26 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
27 -DSYSTEM_DATA_UNIT_PATH=\"$(pkgdatadir)/system\" \
28 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
29 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
30 -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \
31 -DSESSION_DATA_UNIT_PATH=\"$(pkgdatadir)/session\" \
32 -DCGROUP_AGENT_PATH=\"$(pkglibexecdir)/systemd-cgroups-agent\"
41 pkglibexec_PROGRAMS = \
43 systemd-cgroups-agent \
51 org.freedesktop.systemd1.conf
57 org.freedesktop.systemd1.conf
140 test_engine_SOURCES = \
144 test_engine_CPPFLAGS = $(systemd_CPPFLAGS)
145 test_engine_LDADD = $(systemd_LDADD)
147 test_job_type_SOURCES = \
151 test_job_type_CPPFLAGS = $(systemd_CPPFLAGS)
152 test_job_type_LDADD = $(systemd_LDADD)
154 systemd_logger_SOURCES = \
158 systemd_initctl_SOURCES = \
162 systemd_initctl_CPPFLAGS = \
166 systemd_initctl_LDADD = \
169 systemd_cgroups_agent_SOURCES = \
173 systemd_cgroups_agent_CPPFLAGS = \
177 systemd_cgroups_agent_LDADD = \
180 VALAFLAGS = -g --save-temps --pkg=dbus-glib-1 --pkg=posix --pkg gee-1.0 --pkg gtk+-2.0
182 systemctl_SOURCES = \
184 systemd-interfaces.vala
186 systemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS)
187 systemctl_LDADD = $(DBUSGLIB_LIBS)
189 systemadm_SOURCES = \
191 systemd-interfaces.vala
193 systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS)
194 systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS)
197 systemd-interfaces.c \
200 systemd-cgroups-agent