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
24 -include $(top_builddir)/config.h \
25 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
26 -DSYSTEM_DATA_UNIT_PATH=\"$(pkgdatadir)/system\" \
27 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
28 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
29 -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \
30 -DSESSION_DATA_UNIT_PATH=\"$(pkgdatadir)/session\" \
31 -DCGROUP_AGENT_PATH=\"$(pkglibexecdir)/systemd-cgroups-agent\"
40 pkglibexec_PROGRAMS = \
42 systemd-cgroups-agent \
50 org.freedesktop.systemd1.conf
53 org.freedesktop.systemd1.conf
135 test_engine_SOURCES = \
139 test_engine_CPPFLAGS = $(systemd_CPPFLAGS)
140 test_engine_LDADD = $(systemd_LDADD)
142 test_job_type_SOURCES = \
146 test_job_type_CPPFLAGS = $(systemd_CPPFLAGS)
147 test_job_type_LDADD = $(systemd_LDADD)
149 systemd_logger_SOURCES = \
153 systemd_initctl_SOURCES = \
157 systemd_initctl_CPPFLAGS = \
161 systemd_initctl_LDADD = \
164 systemd_cgroups_agent_SOURCES = \
168 systemd_cgroups_agent_CPPFLAGS = \
172 systemd_cgroups_agent_LDADD = \
175 VALAFLAGS = -g --save-temps --pkg=dbus-glib-1 --pkg=posix --pkg gee-1.0 --pkg gtk+-2.0
177 systemctl_SOURCES = \
179 systemd-interfaces.vala
181 systemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS)
182 systemctl_LDADD = $(DBUSGLIB_LIBS)
184 systemadm_SOURCES = \
186 systemd-interfaces.vala
188 systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS)
189 systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS)
192 systemd-interfaces.c \
195 systemd-cgroups-agent