]> git.ipfire.org Git - thirdparty/systemd.git/blame - Makefile.am
execute: when running in session mode, still enforce proper ordering of logger socket
[thirdparty/systemd.git] / Makefile.am
CommitLineData
47be870b
LP
1# This file is part of systemd.
2#
3# Copyright 2010 Lennart Poettering
4#
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.
9#
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.
14#
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/>.
17
18ACLOCAL_AMFLAGS = -I m4
19
036643a2
LP
20pkgsysconfdir=$(sysconfdir)/systemd
21
47be870b
LP
22AM_CPPFLAGS = \
23 -include $(top_builddir)/config.h \
036643a2
LP
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\"
47be870b
LP
29
30sbin_PROGRAMS = \
31 systemd
32
33bin_PROGRAMS = \
34 systemctl \
35 systemadm \
36 systemd-logger
37
38noinst_PROGRAMS = \
39 test-engine \
40 test-job-type
41
42BASIC_SOURCES= \
43 util.c \
44 hashmap.c \
45 set.c \
46 strv.c \
47 conf-parser.c \
48 socket-util.c \
49 log.c \
50 ratelimit.c
51
52COMMON_SOURCES= \
53 $(BASIC_SOURCES) \
54 unit.c \
55 job.c \
56 manager.c \
57 load-fragment.c \
58 service.c \
59 automount.c \
60 mount.c \
61 device.c \
62 target.c \
63 snapshot.c \
64 socket.c \
65 timer.c \
66 load-dropin.c \
67 execute.c \
68 dbus.c \
69 dbus-manager.c \
70 dbus-unit.c \
71 dbus-job.c
72
73systemd_SOURCES = \
74 $(COMMON_SOURCES) \
75 main.c
76
77systemd_CPPFLAGS = \
78 $(AM_CPPFLAGS) \
79 $(DBUS_CFLAGS) \
80 $(UDEV_CFLAGS)
81
82systemd_LDADD = \
83 $(DBUS_LIBS) \
84 $(UDEV_LIBS)
85
86test_engine_SOURCES = \
87 $(COMMON_SOURCES) \
88 test-engine.c
89
90test_engine_CPPFLAGS = $(systemd_CPPFLAGS)
91test_engine_LDADD = $(systemd_LDADD)
92
93test_job_type_SOURCES = \
94 $(COMMON_SOURCES) \
95 test-engine.c
96
97test_job_type_CPPFLAGS = $(systemd_CPPFLAGS)
98test_job_type_LDADD = $(systemd_LDADD)
99
100systemd_logger_SOURCES = \
101 $(BASIC_SOURCES) \
102 logger.c
103
104VALAFLAGS = -g --save-temps --pkg=dbus-glib-1 --pkg=posix --pkg gee-1.0 --pkg gtk+-2.0
105
106systemctl_SOURCES = \
107 systemctl.vala \
108 systemd-interfaces.vala
109
110systemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS)
111systemctl_LDADD = $(DBUSGLIB_LIBS)
112
113systemadm_SOURCES = \
114 systemadm.vala \
115 systemd-interfaces.vala
116
117systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS)
118systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS)
c1e1601e
LP
119
120CLEANFILES = \
121 systemd-interfaces.c \
122 systemctl.c \
123 systemadm.c