]> git.ipfire.org Git - people/ms/systemd.git/blame - Makefile.am
load-fragment: make socket timeout configurable
[people/ms/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\" \
0571e011 26 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
061978fa 27 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
036643a2 28 -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \
8e274523
LP
29 -DSESSION_DATA_UNIT_PATH=\"$(pkgdatadir)/session\" \
30 -DCGROUP_AGENT_PATH=\"$(pkglibexecdir)/systemd-cgroups-agent\"
47be870b
LP
31
32sbin_PROGRAMS = \
33 systemd
34
35bin_PROGRAMS = \
36 systemctl \
8e274523
LP
37 systemadm
38
39pkglibexec_PROGRAMS = \
40 systemd-logger \
0b7964b8
LP
41 systemd-cgroups-agent \
42 systemd-initctl
47be870b
LP
43
44noinst_PROGRAMS = \
45 test-engine \
46 test-job-type
47
48BASIC_SOURCES= \
49 util.c \
8e274523 50 util.h \
47be870b 51 hashmap.c \
8e274523 52 hashmap.h \
47be870b 53 set.c \
8e274523 54 set.h \
47be870b 55 strv.c \
8e274523 56 strv.h \
47be870b 57 conf-parser.c \
8e274523 58 conf-parser.h \
47be870b 59 socket-util.c \
8e274523 60 socket-util.h \
47be870b 61 log.c \
8e274523
LP
62 log.h \
63 ratelimit.c \
64 ratelimit.h
47be870b
LP
65
66COMMON_SOURCES= \
67 $(BASIC_SOURCES) \
68 unit.c \
8e274523 69 unit.h \
47be870b 70 job.c \
8e274523 71 job.h \
47be870b 72 manager.c \
8e274523 73 manager.h \
47be870b 74 load-fragment.c \
8e274523 75 load-fragment.h \
47be870b 76 service.c \
8e274523 77 service.h \
47be870b 78 automount.c \
8e274523 79 automount.h \
47be870b 80 mount.c \
8e274523 81 mount.h \
47be870b 82 device.c \
8e274523 83 device.h \
47be870b 84 target.c \
8e274523 85 target.h \
47be870b 86 snapshot.c \
8e274523 87 snapshot.h \
47be870b 88 socket.c \
8e274523 89 socket.h \
47be870b 90 timer.c \
8e274523 91 timer.h \
47be870b 92 load-dropin.c \
8e274523 93 load-dropin.h \
47be870b 94 execute.c \
8e274523 95 execute.h \
47be870b 96 dbus.c \
8e274523 97 dbus.h \
47be870b 98 dbus-manager.c \
8e274523 99 dbus-manager.h \
47be870b 100 dbus-unit.c \
8e274523
LP
101 dbus-unit.h \
102 dbus-job.c \
103 dbus-job.h \
104 cgroup.c \
105 cgroup.h \
106 mount-setup.c \
302e8c4c
LP
107 mount-setup.h \
108 hostname-setup.c \
109 hostname-setup.h
47be870b
LP
110
111systemd_SOURCES = \
112 $(COMMON_SOURCES) \
113 main.c
114
115systemd_CPPFLAGS = \
116 $(AM_CPPFLAGS) \
117 $(DBUS_CFLAGS) \
8e274523
LP
118 $(UDEV_CFLAGS) \
119 $(CGROUP_CFLAGS)
47be870b
LP
120
121systemd_LDADD = \
122 $(DBUS_LIBS) \
8e274523
LP
123 $(UDEV_LIBS) \
124 $(CGROUP_LIBS)
47be870b
LP
125
126test_engine_SOURCES = \
127 $(COMMON_SOURCES) \
128 test-engine.c
129
130test_engine_CPPFLAGS = $(systemd_CPPFLAGS)
131test_engine_LDADD = $(systemd_LDADD)
132
133test_job_type_SOURCES = \
134 $(COMMON_SOURCES) \
135 test-engine.c
136
137test_job_type_CPPFLAGS = $(systemd_CPPFLAGS)
138test_job_type_LDADD = $(systemd_LDADD)
139
140systemd_logger_SOURCES = \
141 $(BASIC_SOURCES) \
142 logger.c
143
0b7964b8
LP
144systemd_initctl_SOURCES = \
145 $(BASIC_SOURCES) \
146 initctl.c
147
148systemd_initctl_CPPFLAGS = \
149 $(AM_CPPFLAGS) \
150 $(DBUS_CFLAGS)
151
152systemd_initctl_LDADD = \
153 $(DBUS_LIBS)
154
8e274523
LP
155systemd_cgroups_agent_SOURCES = \
156 $(BASIC_SOURCES) \
157 cgroups-agent.c
158
159systemd_cgroups_agent_CPPFLAGS = \
160 $(AM_CPPFLAGS) \
161 $(DBUS_CFLAGS)
162
163systemd_cgroups_agent_LDADD = \
164 $(DBUS_LIBS)
165
47be870b
LP
166VALAFLAGS = -g --save-temps --pkg=dbus-glib-1 --pkg=posix --pkg gee-1.0 --pkg gtk+-2.0
167
168systemctl_SOURCES = \
169 systemctl.vala \
170 systemd-interfaces.vala
171
172systemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS)
173systemctl_LDADD = $(DBUSGLIB_LIBS)
174
175systemadm_SOURCES = \
176 systemadm.vala \
177 systemd-interfaces.vala
178
179systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS)
180systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS)
c1e1601e
LP
181
182CLEANFILES = \
183 systemd-interfaces.c \
184 systemctl.c \
8e274523
LP
185 systemadm.c \
186 systemd-cgroups-agent