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=\"$(SYSTEM_SYSVINIT_PATH)\" \
27 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
28 -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \
29 -DSESSION_DATA_UNIT_PATH=\"$(pkgdatadir)/session\" \
30 -DCGROUP_AGENT_PATH=\"$(pkglibexecdir)/systemd-cgroups-agent\"
39 pkglibexec_PROGRAMS = \
41 systemd-cgroups-agent \
126 test_engine_SOURCES = \
130 test_engine_CPPFLAGS = $(systemd_CPPFLAGS)
131 test_engine_LDADD = $(systemd_LDADD)
133 test_job_type_SOURCES = \
137 test_job_type_CPPFLAGS = $(systemd_CPPFLAGS)
138 test_job_type_LDADD = $(systemd_LDADD)
140 systemd_logger_SOURCES = \
144 systemd_initctl_SOURCES = \
148 systemd_initctl_CPPFLAGS = \
152 systemd_initctl_LDADD = \
155 systemd_cgroups_agent_SOURCES = \
159 systemd_cgroups_agent_CPPFLAGS = \
163 systemd_cgroups_agent_LDADD = \
166 VALAFLAGS = -g --save-temps --pkg=dbus-glib-1 --pkg=posix --pkg gee-1.0 --pkg gtk+-2.0
168 systemctl_SOURCES = \
170 systemd-interfaces.vala
172 systemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS)
173 systemctl_LDADD = $(DBUSGLIB_LIBS)
175 systemadm_SOURCES = \
177 systemd-interfaces.vala
179 systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS)
180 systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS)
183 systemd-interfaces.c \
186 systemd-cgroups-agent