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
23 -include $(top_builddir)/config.h \
24 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
25 -DSYSTEM_DATA_UNIT_PATH=\"$(pkgdatadir)/system\" \
26 -DSYSTEM_SYSVINIT_PATH=\"$(sysconfdir)/init.d\" \
27 -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \
28 -DSESSION_DATA_UNIT_PATH=\"$(pkgdatadir)/session\" \
29 -DCGROUP_AGENT_PATH=\"$(pkglibexecdir)/systemd-cgroups-agent\"
38 pkglibexec_PROGRAMS = \
40 systemd-cgroups-agent \
123 test_engine_SOURCES = \
127 test_engine_CPPFLAGS = $(systemd_CPPFLAGS)
128 test_engine_LDADD = $(systemd_LDADD)
130 test_job_type_SOURCES = \
134 test_job_type_CPPFLAGS = $(systemd_CPPFLAGS)
135 test_job_type_LDADD = $(systemd_LDADD)
137 systemd_logger_SOURCES = \
141 systemd_initctl_SOURCES = \
145 systemd_initctl_CPPFLAGS = \
149 systemd_initctl_LDADD = \
152 systemd_cgroups_agent_SOURCES = \
156 systemd_cgroups_agent_CPPFLAGS = \
160 systemd_cgroups_agent_LDADD = \
163 VALAFLAGS = -g --save-temps --pkg=dbus-glib-1 --pkg=posix --pkg gee-1.0 --pkg gtk+-2.0
165 systemctl_SOURCES = \
167 systemd-interfaces.vala
169 systemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS)
170 systemctl_LDADD = $(DBUSGLIB_LIBS)
172 systemadm_SOURCES = \
174 systemd-interfaces.vala
176 systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS)
177 systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS)
180 systemd-interfaces.c \
183 systemd-cgroups-agent