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 = \
122 test_engine_SOURCES = \
126 test_engine_CPPFLAGS = $(systemd_CPPFLAGS)
127 test_engine_LDADD = $(systemd_LDADD)
129 test_job_type_SOURCES = \
133 test_job_type_CPPFLAGS = $(systemd_CPPFLAGS)
134 test_job_type_LDADD = $(systemd_LDADD)
136 systemd_logger_SOURCES = \
140 systemd_cgroups_agent_SOURCES = \
144 systemd_cgroups_agent_CPPFLAGS = \
148 systemd_cgroups_agent_LDADD = \
151 VALAFLAGS = -g --save-temps --pkg=dbus-glib-1 --pkg=posix --pkg gee-1.0 --pkg gtk+-2.0
153 systemctl_SOURCES = \
155 systemd-interfaces.vala
157 systemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS)
158 systemctl_LDADD = $(DBUSGLIB_LIBS)
160 systemadm_SOURCES = \
162 systemd-interfaces.vala
164 systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS)
165 systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS)
168 systemd-interfaces.c \
171 systemd-cgroups-agent