]>
Commit | Line | Data |
---|---|---|
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 | ||
18 | ACLOCAL_AMFLAGS = -I m4 | |
19 | ||
8c4a3079 | 20 | # Dirs of external packages |
d122948d LP |
21 | dbuspolicydir=@dbuspolicydir@ |
22 | dbussessionservicedir=@dbussessionservicedir@ | |
23 | dbussystemservicedir=@dbussystemservicedir@ | |
24 | dbusinterfacedir=@dbusinterfacedir@ | |
d1ab0ca0 | 25 | udevrulesdir=@udevrulesdir@ |
8c6db833 LP |
26 | pamlibdir=@pamlibdir@ |
27 | pkgconfigdatadir=$(datadir)/pkgconfig | |
036643a2 | 28 | |
8c4a3079 | 29 | # Our own, non-special dirs |
d1ab0ca0 | 30 | pkgsysconfdir=$(sysconfdir)/systemd |
d1ab0ca0 | 31 | sessionunitdir=$(pkgdatadir)/session |
8c4a3079 LP |
32 | |
33 | # And these are the special ones for / | |
34 | rootdir=@rootdir@ | |
8c4a3079 LP |
35 | rootbindir=$(rootdir)/bin |
36 | rootlibexecdir=$(rootdir)/lib/systemd | |
37 | systemunitdir=$(rootdir)/lib/systemd/system | |
70fcff31 | 38 | |
47be870b LP |
39 | AM_CPPFLAGS = \ |
40 | -include $(top_builddir)/config.h \ | |
487393e9 | 41 | -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \ |
036643a2 | 42 | -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \ |
70fcff31 | 43 | -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \ |
0571e011 | 44 | -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \ |
061978fa | 45 | -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \ |
487393e9 | 46 | -DSESSION_CONFIG_FILE=\"$(pkgsysconfdir)/session.conf\" \ |
036643a2 | 47 | -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \ |
70fcff31 | 48 | -DSESSION_DATA_UNIT_PATH=\"$(sessionunitdir)\" \ |
8c4a3079 | 49 | -DCGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \ |
f401faf5 | 50 | -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \ |
2cb1a60d | 51 | -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \ |
8c6db833 | 52 | -DRUNTIME_DIR=\"$(localstatedir)/run\" \ |
e99e38bb | 53 | -I $(top_srcdir)/src |
47be870b | 54 | |
8c4a3079 | 55 | rootbin_PROGRAMS = \ |
134dc482 | 56 | systemd \ |
4a2a8b5a LP |
57 | systemctl \ |
58 | systemd-notify | |
a9b5b032 | 59 | |
8c4a3079 | 60 | bin_PROGRAMS = \ |
fa776d8e | 61 | systemd-cgls |
10e87ee7 LP |
62 | |
63 | if HAVE_GTK | |
64 | bin_PROGRAMS += \ | |
8e274523 | 65 | systemadm |
a9b5b032 | 66 | endif |
8e274523 | 67 | |
8c4a3079 | 68 | rootlibexec_PROGRAMS = \ |
8e274523 | 69 | systemd-logger \ |
0b7964b8 | 70 | systemd-cgroups-agent \ |
4927fcae LP |
71 | systemd-initctl \ |
72 | systemd-update-utmp | |
47be870b LP |
73 | |
74 | noinst_PROGRAMS = \ | |
75 | test-engine \ | |
15ae422b | 76 | test-job-type \ |
af5bc85d | 77 | test-ns \ |
8c47c732 | 78 | test-loopback \ |
8c6db833 | 79 | test-daemon \ |
c24eb49e LP |
80 | test-cgroup \ |
81 | test-env-replace | |
8c6db833 LP |
82 | |
83 | if HAVE_PAM | |
84 | pamlib_LTLIBRARIES = \ | |
85 | pam_systemd.la | |
86 | endif | |
47be870b | 87 | |
487393e9 LP |
88 | dist_pkgsysconf_DATA = \ |
89 | src/system.conf | |
90 | ||
d1ab0ca0 | 91 | dist_dbuspolicy_DATA = \ |
dfac97b2 | 92 | src/org.freedesktop.systemd1.conf |
e24067c3 | 93 | |
d122948d LP |
94 | dist_dbussystemservice_DATA = \ |
95 | src/org.freedesktop.systemd1.service | |
96 | ||
d1ab0ca0 | 97 | dist_udevrules_DATA = \ |
dfac97b2 | 98 | src/99-systemd.rules |
5cc5d790 | 99 | |
d122948d | 100 | dbusinterface_DATA = \ |
4288f619 LP |
101 | org.freedesktop.systemd1.Manager.xml \ |
102 | org.freedesktop.systemd1.Job.xml \ | |
103 | org.freedesktop.systemd1.Unit.xml \ | |
104 | org.freedesktop.systemd1.Service.xml \ | |
105 | org.freedesktop.systemd1.Socket.xml \ | |
871d7de4 | 106 | org.freedesktop.systemd1.Timer.xml \ |
4288f619 LP |
107 | org.freedesktop.systemd1.Target.xml \ |
108 | org.freedesktop.systemd1.Device.xml \ | |
109 | org.freedesktop.systemd1.Mount.xml \ | |
110 | org.freedesktop.systemd1.Automount.xml \ | |
111 | org.freedesktop.systemd1.Snapshot.xml \ | |
01f78473 LP |
112 | org.freedesktop.systemd1.Swap.xml \ |
113 | org.freedesktop.systemd1.Path.xml | |
4288f619 | 114 | |
d1ab0ca0 | 115 | dist_systemunit_DATA = \ |
70fcff31 | 116 | units/emergency.service \ |
f057408c | 117 | units/emergency.target \ |
f92a18f5 | 118 | units/basic.target \ |
5e6afdd3 LP |
119 | units/getty.target \ |
120 | units/halt.target \ | |
70449379 LP |
121 | units/local-fs.target \ |
122 | units/network.target \ | |
123 | units/nss-lookup.target \ | |
683f468c | 124 | units/mail-transfer-agent.target \ |
5e6afdd3 LP |
125 | units/poweroff.target \ |
126 | units/reboot.target \ | |
5e6afdd3 | 127 | units/rescue.target \ |
f0b02ca2 | 128 | units/rpcbind.target \ |
70449379 LP |
129 | units/rtc-set.target \ |
130 | units/shutdown.target \ | |
4e67ddd6 | 131 | units/umount.target \ |
70449379 LP |
132 | units/sigpwr.target \ |
133 | units/sockets.target \ | |
134 | units/swap.target \ | |
83bda358 | 135 | units/dbus.target \ |
70fcff31 | 136 | units/systemd-initctl.socket \ |
670802d4 LP |
137 | units/systemd-logger.socket \ |
138 | units/dev-hugepages.automount \ | |
139 | units/dev-hugepages.mount \ | |
140 | units/dev-mqueue.automount \ | |
141 | units/dev-mqueue.mount \ | |
142 | units/proc-sys-fs-binfmt_misc.automount \ | |
143 | units/proc-sys-fs-binfmt_misc.mount \ | |
144 | units/sys-kernel-debug.automount \ | |
145 | units/sys-kernel-debug.mount \ | |
6d526de2 LP |
146 | units/sys-kernel-security.automount \ |
147 | units/sys-kernel-security.mount \ | |
148 | units/var-lock.mount \ | |
da78e1b4 LP |
149 | units/var-run.mount \ |
150 | units/printer.target \ | |
ceda54d9 LP |
151 | units/bluetooth.target \ |
152 | units/smartcard.target | |
70fcff31 | 153 | |
6f6083dc | 154 | nodist_systemunit_DATA = \ |
f92a18f5 | 155 | units/sysinit.target \ |
5e6afdd3 LP |
156 | units/getty@.service \ |
157 | units/graphical.target \ | |
6f6083dc | 158 | units/remote-fs.target \ |
5e6afdd3 | 159 | units/multi-user.target \ |
dfac97b2 | 160 | units/systemd-initctl.service \ |
a7b6f8e5 | 161 | units/systemd-logger.service \ |
cd6d0a45 LP |
162 | units/systemd-update-utmp-runlevel.service \ |
163 | units/systemd-update-utmp-shutdown.service \ | |
83bda358 | 164 | units/syslog.target |
d1ab0ca0 | 165 | |
0d26c910 LP |
166 | dist_sessionunit_DATA = \ |
167 | units/session/default.target | |
168 | ||
6f6083dc | 169 | nodist_sessionunit_DATA = \ |
a1b256b0 LP |
170 | units/session/remote-fs.target \ |
171 | units/session/exit.service | |
fb1bd35a | 172 | |
e24067c3 | 173 | EXTRA_DIST = \ |
f92a18f5 | 174 | units/sysinit.target.m4 \ |
5e6afdd3 LP |
175 | units/getty@.service.m4 \ |
176 | units/graphical.target.m4 \ | |
177 | units/multi-user.target.m4 \ | |
705dbf3a | 178 | units/remote-fs.target.m4 \ |
70fcff31 | 179 | units/systemd-initctl.service.in \ |
70fcff31 | 180 | units/systemd-logger.service.in \ |
cd6d0a45 LP |
181 | units/systemd-update-utmp-runlevel.service.in \ |
182 | units/systemd-update-utmp-shutdown.service.in \ | |
a7b6f8e5 | 183 | units/syslog.target.in \ |
a1b256b0 | 184 | units/session/exit.service.in \ |
64ca679e | 185 | systemd.pc.in |
e24067c3 | 186 | |
5e6afdd3 LP |
187 | if TARGET_FEDORA |
188 | dist_systemunit_DATA += \ | |
189 | units/fedora/halt.service \ | |
190 | units/fedora/killall.service \ | |
191 | units/fedora/poweroff.service \ | |
192 | units/fedora/prefdm.service \ | |
193 | units/fedora/rc-local.service \ | |
194 | units/fedora/reboot.service \ | |
f057408c | 195 | units/fedora/sysinit.service \ |
1310609b LP |
196 | units/fedora/single.service \ |
197 | units/fedora/plymouth-quit.service \ | |
0278dfeb LP |
198 | units/fedora/plymouth-reboot.service \ |
199 | units/fedora/plymouth-poweroff.service \ | |
200 | units/fedora/plymouth-halt.service | |
5e6afdd3 LP |
201 | endif |
202 | ||
65b0095b KS |
203 | if TARGET_SUSE |
204 | dist_systemunit_DATA += \ | |
205 | units/suse/halt.service \ | |
206 | units/suse/poweroff.service \ | |
922cc001 LP |
207 | units/suse/reboot.service \ |
208 | units/suse/fsck.target | |
65b0095b KS |
209 | endif |
210 | ||
ea2d9ed4 MAP |
211 | if TARGET_GENTOO |
212 | dist_systemunit_DATA += \ | |
213 | units/gentoo/halt.service \ | |
214 | units/gentoo/killall.service \ | |
215 | units/gentoo/poweroff.service \ | |
216 | units/gentoo/reboot.service \ | |
217 | units/gentoo/xdm.service | |
218 | endif | |
219 | ||
1ebdf2d8 TG |
220 | if TARGET_ARCH |
221 | dist_systemunit_DATA += \ | |
222 | units/arch/sysinit.service \ | |
223 | units/arch/rc-local.service \ | |
224 | units/arch/halt.service \ | |
225 | units/arch/poweroff.service \ | |
226 | units/arch/reboot.service | |
227 | endif | |
228 | ||
240a3a85 LP |
229 | dist_doc_DATA = \ |
230 | README \ | |
795750ca LP |
231 | LICENSE \ |
232 | DISTRO_PORTING \ | |
240a3a85 LP |
233 | src/sd-daemon.h \ |
234 | src/sd-daemon.c | |
235 | ||
8c6db833 LP |
236 | pkgconfigdata_DATA = \ |
237 | systemd.pc | |
238 | ||
139be57d LP |
239 | noinst_LTLIBRARIES = \ |
240 | libsystemd-basic.la \ | |
241 | libsystemd-core.la | |
242 | ||
139be57d | 243 | libsystemd_basic_la_SOURCES = \ |
e99e38bb | 244 | src/util.c \ |
e51bc1a2 | 245 | src/label.c \ |
e99e38bb LP |
246 | src/hashmap.c \ |
247 | src/set.c \ | |
248 | src/strv.c \ | |
249 | src/conf-parser.c \ | |
250 | src/socket-util.c \ | |
251 | src/log.c \ | |
252 | src/ratelimit.c | |
47be870b | 253 | |
4927fcae LP |
254 | libsystemd_basic_la_CFLAGS = \ |
255 | $(AM_CFLAGS) \ | |
256 | $(SELINUX_CFLAGS) | |
257 | ||
258 | libsystemd_basic_la_LIBADD = \ | |
259 | $(SELINUX_LIBS) | |
260 | ||
139be57d | 261 | libsystemd_core_la_SOURCES = \ |
e99e38bb LP |
262 | src/unit.c \ |
263 | src/job.c \ | |
264 | src/manager.c \ | |
84e3543e | 265 | src/path-lookup.c \ |
e99e38bb LP |
266 | src/load-fragment.c \ |
267 | src/service.c \ | |
268 | src/automount.c \ | |
269 | src/mount.c \ | |
270 | src/swap.c \ | |
271 | src/device.c \ | |
272 | src/target.c \ | |
273 | src/snapshot.c \ | |
274 | src/socket.c \ | |
275 | src/timer.c \ | |
01f78473 | 276 | src/path.c \ |
e99e38bb LP |
277 | src/load-dropin.c \ |
278 | src/execute.c \ | |
279 | src/dbus.c \ | |
280 | src/dbus-manager.c \ | |
281 | src/dbus-unit.c \ | |
282 | src/dbus-job.c \ | |
283 | src/dbus-service.c \ | |
284 | src/dbus-socket.c \ | |
871d7de4 | 285 | src/dbus-timer.c \ |
e99e38bb LP |
286 | src/dbus-target.c \ |
287 | src/dbus-mount.c \ | |
288 | src/dbus-automount.c \ | |
289 | src/dbus-swap.c \ | |
290 | src/dbus-snapshot.c \ | |
291 | src/dbus-device.c \ | |
292 | src/dbus-execute.c \ | |
01f78473 | 293 | src/dbus-path.c \ |
e99e38bb LP |
294 | src/cgroup.c \ |
295 | src/mount-setup.c \ | |
296 | src/hostname-setup.c \ | |
297 | src/loopback-setup.c \ | |
11c3a4ee | 298 | src/kmod-setup.c \ |
fa0f4d8a | 299 | src/modprobe-setup.c \ |
e99e38bb LP |
300 | src/specifier.c \ |
301 | src/unit-name.c \ | |
302 | src/fdset.c \ | |
0213c3f8 | 303 | src/namespace.c \ |
8c6db833 LP |
304 | src/tcpwrap.c \ |
305 | src/cgroup-util.c | |
47be870b | 306 | |
139be57d LP |
307 | libsystemd_core_la_CFLAGS = \ |
308 | $(AM_CFLAGS) \ | |
309 | $(DBUS_CFLAGS) \ | |
4927fcae LP |
310 | $(UDEV_CFLAGS) \ |
311 | $(LIBWRAP_CFLAGS) \ | |
312 | $(PAM_CFLAGS) \ | |
313 | $(AUDIT_CFLAGS) | |
139be57d LP |
314 | |
315 | libsystemd_core_la_LIBADD = \ | |
316 | libsystemd-basic.la \ | |
317 | $(DBUS_LIBS) \ | |
318 | $(UDEV_LIBS) \ | |
139be57d | 319 | $(LIBWRAP_LIBS) \ |
7a58bfa4 | 320 | $(PAM_LIBS) \ |
4927fcae | 321 | $(AUDIT_LIBS) |
139be57d | 322 | |
9a1ac7b9 LP |
323 | # This is needed because automake is buggy in how it generates the |
324 | # rules for C programs, but not Vala programs. We therefore can't | |
325 | # list the .h files as dependencies if we want make dist to work. | |
326 | ||
462b33e9 | 327 | EXTRA_DIST += \ |
139be57d LP |
328 | ${libsystemd_basic_la_SOURCES:.c=.h} \ |
329 | ${libsystemd_core_la_SOURCES:.c=.h} \ | |
e99e38bb LP |
330 | src/macro.h \ |
331 | src/ioprio.h \ | |
332 | src/missing.h \ | |
333 | src/list.h \ | |
334 | src/securebits.h \ | |
335 | src/linux/auto_dev-ioctl.h \ | |
336 | src/initreq.h \ | |
514f4ef5 | 337 | src/sd-daemon.h \ |
9a1ac7b9 | 338 | src/special.h \ |
398ef8ba | 339 | src/dbus-common.h \ |
ab35fb1b | 340 | src/bus-errors.h \ |
cd6d0a45 | 341 | src/cgroup-show.h \ |
302e27c8 LP |
342 | src/utmp-wtmp.h \ |
343 | src/build.h | |
6f6083dc LP |
344 | |
345 | MANPAGES = \ | |
160cd5c9 | 346 | man/systemd.1 \ |
6f6083dc LP |
347 | man/systemctl.1 \ |
348 | man/systemadm.1 \ | |
fa776d8e | 349 | man/systemd-cgls.1 \ |
c5abba08 | 350 | man/systemd-notify.1 \ |
f9378423 LP |
351 | man/sd_notify.3 \ |
352 | man/sd_booted.3 \ | |
353 | man/sd_listen_fds.3 \ | |
354 | man/sd_is_fifo.3 \ | |
6f6083dc LP |
355 | man/systemd.unit.5 \ |
356 | man/systemd.service.5 \ | |
1f812fea | 357 | man/systemd.socket.5 \ |
cdb788e4 | 358 | man/systemd.mount.5 \ |
65232ea7 | 359 | man/systemd.automount.5 \ |
e0cabd4b | 360 | man/systemd.swap.5 \ |
11fcc3ab | 361 | man/systemd.timer.5 \ |
b36b082c | 362 | man/systemd.path.5 \ |
da49e9ab | 363 | man/systemd.target.5 \ |
eec575d8 | 364 | man/systemd.device.5 \ |
b2c20dd9 | 365 | man/systemd.snapshot.5 \ |
dd1eb43b | 366 | man/systemd.exec.5 \ |
6f6083dc | 367 | man/daemon.7 \ |
359957ee LP |
368 | man/sd-daemon.7 \ |
369 | man/runlevel.8 \ | |
160cd5c9 LP |
370 | man/telinit.8 \ |
371 | man/halt.8 \ | |
372 | man/shutdown.8 \ | |
f3e219a2 LP |
373 | man/pam_systemd.8 \ |
374 | man/systemd.conf.5 | |
6f6083dc LP |
375 | |
376 | MANPAGES_ALIAS = \ | |
377 | man/reboot.8 \ | |
378 | man/poweroff.8 \ | |
379 | man/sd_is_socket.3 \ | |
380 | man/sd_is_socket_unix.3 \ | |
381 | man/sd_is_socket_inet.3 \ | |
382 | man/sd_notifyf.3 \ | |
383 | man/init.1 | |
384 | ||
385 | man/reboot.8: man/halt.8 | |
386 | man/poweroff.8: man/halt.8 | |
387 | man/sd_is_socket.3: man/sd_is_fifo.3 | |
388 | man/sd_is_socket_unix.3: man/sd_is_fifo.3 | |
389 | man/sd_is_socket_inet.3: man/sd_is_fifo.3 | |
390 | man/sd_notifyf.3: man/sd_notify.3 | |
391 | man/init.1: man/systemd.1 | |
392 | ||
393 | dist_man_MANS = \ | |
394 | $(MANPAGES) \ | |
395 | $(MANPAGES_ALIAS) | |
9f2c5942 LP |
396 | |
397 | nodist_man_MANS = \ | |
9f235308 | 398 | man/systemd.special.7 |
d1ab0ca0 | 399 | |
6f6083dc LP |
400 | XML_FILES = \ |
401 | ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}} | |
402 | ||
403 | XML_IN_FILES = \ | |
404 | ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}} | |
405 | ||
9f2c5942 | 406 | dist_noinst_DATA = \ |
6f6083dc | 407 | ${XML_FILES:.xml=.html} |
d1ab0ca0 | 408 | |
9f2c5942 | 409 | nodist_noinst_DATA = \ |
6f6083dc | 410 | ${XML_IN_FILES:.xml.in=.html} |
d1ab0ca0 LP |
411 | |
412 | EXTRA_DIST += \ | |
6f6083dc LP |
413 | $(XML_FILES) \ |
414 | $(XML_IN_FILES) \ | |
415 | ${nodist_man_MANS:=.in} \ | |
416 | ${XML_IN_FILES:.xml.in=.html.in} | |
d1ab0ca0 | 417 | |
47be870b | 418 | systemd_SOURCES = \ |
e99e38bb | 419 | src/main.c |
47be870b | 420 | |
10e87ee7 LP |
421 | systemd_CFLAGS = \ |
422 | $(AM_CFLAGS) \ | |
47be870b | 423 | $(DBUS_CFLAGS) \ |
35d2e7ec | 424 | $(UDEV_CFLAGS) |
47be870b LP |
425 | |
426 | systemd_LDADD = \ | |
139be57d | 427 | libsystemd-core.la |
47be870b LP |
428 | |
429 | test_engine_SOURCES = \ | |
e99e38bb | 430 | src/test-engine.c |
47be870b | 431 | |
10e87ee7 | 432 | test_engine_CFLAGS = $(systemd_CFLAGS) |
47be870b LP |
433 | test_engine_LDADD = $(systemd_LDADD) |
434 | ||
435 | test_job_type_SOURCES = \ | |
e1d680ad | 436 | src/test-job-type.c |
47be870b | 437 | |
10e87ee7 | 438 | test_job_type_CFLAGS = $(systemd_CFLAGS) |
47be870b LP |
439 | test_job_type_LDADD = $(systemd_LDADD) |
440 | ||
15ae422b | 441 | test_ns_SOURCES = \ |
139be57d | 442 | src/test-ns.c |
15ae422b | 443 | |
10e87ee7 | 444 | test_ns_CFLAGS = $(systemd_CFLAGS) |
15ae422b LP |
445 | test_ns_LDADD = $(systemd_LDADD) |
446 | ||
af5bc85d | 447 | test_loopback_SOURCES = \ |
e99e38bb LP |
448 | src/test-loopback.c \ |
449 | src/loopback-setup.c | |
af5bc85d | 450 | |
139be57d LP |
451 | test_loopback_LDADD = \ |
452 | libsystemd-basic.la | |
453 | ||
8c47c732 | 454 | test_daemon_SOURCES = \ |
8c47c732 LP |
455 | src/test-daemon.c \ |
456 | src/sd-daemon.c | |
af5bc85d | 457 | |
139be57d LP |
458 | test_daemon_LDADD = \ |
459 | libsystemd-basic.la | |
460 | ||
8c6db833 LP |
461 | test_cgroup_SOURCES = \ |
462 | src/test-cgroup.c \ | |
463 | src/cgroup-util.c | |
464 | ||
465 | test_cgroup_CFLAGS = \ | |
35d2e7ec | 466 | $(AM_CFLAGS) |
8c6db833 LP |
467 | |
468 | test_cgroup_LDADD = \ | |
35d2e7ec | 469 | libsystemd-basic.la |
8c6db833 | 470 | |
c24eb49e LP |
471 | test_env_replace_SOURCES = \ |
472 | src/test-env-replace.c | |
473 | ||
474 | test_env_replace_CFLAGS = \ | |
475 | $(AM_CFLAGS) | |
476 | ||
477 | test_env_replace_LDADD = \ | |
478 | libsystemd-basic.la | |
479 | ||
47be870b | 480 | systemd_logger_SOURCES = \ |
e99e38bb | 481 | src/logger.c \ |
0213c3f8 LP |
482 | src/sd-daemon.c \ |
483 | src/tcpwrap.c | |
484 | ||
485 | systemd_logger_LDADD = \ | |
139be57d | 486 | libsystemd-basic.la \ |
0213c3f8 | 487 | $(LIBWRAP_LIBS) |
47be870b | 488 | |
0b7964b8 | 489 | systemd_initctl_SOURCES = \ |
e99e38bb | 490 | src/initctl.c \ |
a822056b LP |
491 | src/sd-daemon.c \ |
492 | src/dbus-common.c | |
0b7964b8 | 493 | |
10e87ee7 LP |
494 | systemd_initctl_CFLAGS = \ |
495 | $(AM_CFLAGS) \ | |
0b7964b8 LP |
496 | $(DBUS_CFLAGS) |
497 | ||
498 | systemd_initctl_LDADD = \ | |
139be57d | 499 | libsystemd-basic.la \ |
0b7964b8 LP |
500 | $(DBUS_LIBS) |
501 | ||
4927fcae LP |
502 | systemd_update_utmp_SOURCES = \ |
503 | src/update-utmp.c \ | |
504 | src/dbus-common.c \ | |
505 | src/utmp-wtmp.c | |
506 | ||
507 | systemd_update_utmp_CFLAGS = \ | |
508 | $(AM_CFLAGS) \ | |
509 | $(DBUS_CFLAGS) \ | |
510 | $(AUDIT_CFLAGS) | |
511 | ||
512 | systemd_update_utmp_LDADD = \ | |
513 | libsystemd-basic.la \ | |
514 | $(DBUS_LIBS) \ | |
515 | $(AUDIT_LIBS) | |
516 | ||
8e274523 | 517 | systemd_cgroups_agent_SOURCES = \ |
3c661fad LP |
518 | src/cgroups-agent.c \ |
519 | src/dbus-common.c | |
8e274523 | 520 | |
10e87ee7 LP |
521 | systemd_cgroups_agent_CFLAGS = \ |
522 | $(AM_CFLAGS) \ | |
8e274523 LP |
523 | $(DBUS_CFLAGS) |
524 | ||
525 | systemd_cgroups_agent_LDADD = \ | |
139be57d | 526 | libsystemd-basic.la \ |
8e274523 LP |
527 | $(DBUS_LIBS) |
528 | ||
7e4249b9 LP |
529 | systemctl_SOURCES = \ |
530 | src/systemctl.c \ | |
9a1ac7b9 | 531 | src/utmp-wtmp.c \ |
ab35fb1b | 532 | src/dbus-common.c \ |
ee5762e3 LP |
533 | src/path-lookup.c \ |
534 | src/sd-daemon.c \ | |
c6c18be3 LP |
535 | src/cgroup-show.c \ |
536 | src/cgroup-util.c | |
139be57d LP |
537 | |
538 | systemctl_CFLAGS = \ | |
539 | $(AM_CFLAGS) \ | |
35d2e7ec | 540 | $(DBUS_CFLAGS) |
7e4249b9 | 541 | |
139be57d LP |
542 | systemctl_LDADD = \ |
543 | libsystemd-basic.la \ | |
35d2e7ec | 544 | $(DBUS_LIBS) |
7e4249b9 | 545 | |
4a2a8b5a LP |
546 | systemd_notify_SOURCES = \ |
547 | src/notify.c \ | |
139be57d LP |
548 | src/sd-daemon.c |
549 | ||
550 | systemd_notify_LDADD = \ | |
551 | libsystemd-basic.la | |
4a2a8b5a | 552 | |
fa776d8e | 553 | systemd_cgls_SOURCES = \ |
d04247cf | 554 | src/cgls.c \ |
c6c18be3 LP |
555 | src/cgroup-show.c \ |
556 | src/cgroup-util.c | |
fa776d8e LP |
557 | |
558 | systemd_cgls_CFLAGS = \ | |
35d2e7ec | 559 | $(AM_CFLAGS) |
c6c18be3 LP |
560 | |
561 | systemd_cgls_LDADD = \ | |
35d2e7ec | 562 | libsystemd-basic.la |
fa776d8e | 563 | |
47be870b | 564 | systemadm_SOURCES = \ |
e99e38bb LP |
565 | src/systemadm.vala \ |
566 | src/systemd-interfaces.vala | |
47be870b | 567 | |
10e87ee7 LP |
568 | systemadm_CFLAGS = \ |
569 | $(AM_CFLAGS) \ | |
570 | $(DBUSGLIB_CFLAGS) \ | |
571 | $(GTK_CFLAGS) \ | |
572 | -Wno-unused-variable \ | |
573 | -Wno-unused-function \ | |
574 | -Wno-shadow \ | |
575 | -Wno-format-nonliteral | |
576 | ||
577 | systemadm_VALAFLAGS = \ | |
578 | --pkg=dbus-glib-1 \ | |
579 | --pkg=posix \ | |
580 | --pkg=gtk+-2.0 \ | |
581 | -g | |
582 | ||
139be57d LP |
583 | systemadm_LDADD = \ |
584 | $(DBUSGLIB_LIBS) \ | |
585 | $(GTK_LIBS) | |
c1e1601e | 586 | |
8c6db833 LP |
587 | pam_systemd_la_SOURCES = \ |
588 | src/pam-module.c \ | |
589 | src/cgroup-util.c \ | |
590 | src/sd-daemon.c | |
591 | ||
592 | pam_systemd_la_CFLAGS = \ | |
35d2e7ec | 593 | $(AM_CFLAGS) |
8c6db833 LP |
594 | -fvisibility=hidden |
595 | ||
596 | pam_systemd_la_LDFLAGS = \ | |
597 | -module \ | |
598 | -export-dynamic \ | |
599 | -avoid-version \ | |
600 | -shared \ | |
601 | -export-symbols-regex '^pam_sm_.*' | |
602 | ||
603 | pam_systemd_la_LIBADD = \ | |
604 | libsystemd-basic.la \ | |
35d2e7ec | 605 | $(PAM_LIBS) |
8c6db833 | 606 | |
5e6afdd3 | 607 | SED_PROCESS = \ |
a00e4879 | 608 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
1136a371 | 609 | $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \ |
5e6afdd3 | 610 | -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \ |
1136a371 | 611 | -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \ |
8c6db833 LP |
612 | -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \ |
613 | -e 's,@pkgdatadir\@,$(pkgdatadir),g' \ | |
614 | -e 's,@systemunitdir\@,$(systemunitdir),g' \ | |
615 | -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ | |
616 | -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \ | |
617 | -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \ | |
618 | -e 's,@prefix\@,$(prefix),g' \ | |
2d02719c | 619 | < $< > $@ |
70fcff31 | 620 | |
9f2c5942 | 621 | units/%: units/%.in Makefile |
5e6afdd3 LP |
622 | $(SED_PROCESS) |
623 | ||
2a3d6294 | 624 | man/%: man/%.in Makefile |
5e6afdd3 LP |
625 | $(SED_PROCESS) |
626 | ||
8c6db833 LP |
627 | %.pc: %.pc.in Makefile |
628 | $(SED_PROCESS) | |
629 | ||
fb1bd35a | 630 | M4_PROCESS_SYSTEM = \ |
a00e4879 | 631 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
9f2c5942 | 632 | $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ |
fb1bd35a LP |
633 | |
634 | M4_PROCESS_SESSION = \ | |
a00e4879 | 635 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
9f2c5942 | 636 | $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SESSION=1 < $< > $@ |
5e6afdd3 | 637 | |
9f2c5942 | 638 | units/%: units/%.m4 Makefile |
fb1bd35a | 639 | $(M4_PROCESS_SYSTEM) |
5e6afdd3 | 640 | |
9f2c5942 | 641 | units/session/%: units/%.m4 Makefile |
fb1bd35a | 642 | $(M4_PROCESS_SESSION) |
a7b6f8e5 | 643 | |
c1e1601e | 644 | CLEANFILES = \ |
6f6083dc LP |
645 | $(nodist_systemunit_DATA) \ |
646 | $(nodist_sessionunit_DATA) \ | |
647 | $(nodist_man_MANS) \ | |
648 | ${XML_IN_FILES:.xml.in=.html} \ | |
649 | $(pkgconfigdata_DATA) | |
4697132b | 650 | |
42e39f0b LP |
651 | if HAVE_VALAC |
652 | CLEANFILES += \ | |
6f6083dc | 653 | ${systemadm_SOURCES:.vala=.c} |
42e39f0b LP |
654 | endif |
655 | ||
c3bd7322 | 656 | if HAVE_XSLTPROC |
c6365917 LP |
657 | XSLTPROC_FLAGS = \ |
658 | --nonet \ | |
659 | --param funcsynopsis.style "'ansi'" | |
660 | ||
9f2c5942 | 661 | XSLTPROC_PROCESS_MAN = \ |
a00e4879 | 662 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 663 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< |
d1ab0ca0 | 664 | |
9f2c5942 | 665 | XSLTPROC_PROCESS_MAN_IN = \ |
a00e4879 | 666 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 667 | $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \ |
9f2c5942 LP |
668 | mv ${@:.in=} $@ |
669 | ||
670 | XSLTPROC_PROCESS_HTML = \ | |
a00e4879 | 671 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 672 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< |
d1ab0ca0 | 673 | |
9f2c5942 | 674 | XSLTPROC_PROCESS_HTML_IN = \ |
a00e4879 | 675 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 676 | $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \ |
9f2c5942 LP |
677 | mv ${@:.in=} $@ |
678 | ||
6f6083dc | 679 | man/%.1: man/%.xml |
f9378423 LP |
680 | $(XSLTPROC_PROCESS_MAN) |
681 | ||
6f6083dc | 682 | man/%.1.in: man/%.xml.in |
f9378423 LP |
683 | $(XSLTPROC_PROCESS_MAN) |
684 | ||
6f6083dc | 685 | man/%.3: man/%.xml |
359957ee LP |
686 | $(XSLTPROC_PROCESS_MAN) |
687 | ||
6f6083dc | 688 | man/%.3.in: man/%.xml.in |
359957ee LP |
689 | $(XSLTPROC_PROCESS_MAN) |
690 | ||
9f2c5942 LP |
691 | man/%.5: man/%.xml |
692 | $(XSLTPROC_PROCESS_MAN) | |
693 | ||
694 | man/%.5.in: man/%.xml.in | |
695 | $(XSLTPROC_PROCESS_MAN) | |
696 | ||
697 | man/%.7: man/%.xml | |
698 | $(XSLTPROC_PROCESS_MAN) | |
699 | ||
700 | man/%.7.in: man/%.xml.in | |
701 | $(XSLTPROC_PROCESS_MAN_IN) | |
702 | ||
f9378423 LP |
703 | man/%.8: man/%.xml |
704 | $(XSLTPROC_PROCESS_MAN) | |
705 | ||
706 | man/%.8.in: man/%.xml.in | |
707 | $(XSLTPROC_PROCESS_MAN_IN) | |
708 | ||
9f2c5942 LP |
709 | man/%.html: man/%.xml |
710 | $(XSLTPROC_PROCESS_HTML) | |
711 | ||
712 | man/%.html.in: man/%.xml.in | |
713 | $(XSLTPROC_PROCESS_HTML_IN) | |
714 | ||
d1ab0ca0 LP |
715 | CLEANFILES += \ |
716 | $(dist_man_MANS) \ | |
6f6083dc LP |
717 | ${nodist_man_MANS:=.in} \ |
718 | ${XML_FILES:.xml=.html} \ | |
719 | ${XML_IN_FILES:.xml.in=.html.in} | |
c3bd7322 | 720 | endif |
d1ab0ca0 | 721 | |
4288f619 | 722 | org.freedesktop.systemd1.%.xml: systemd |
4627d396 | 723 | $(AM_V_GEN)SYSTEMD_SKIP_API_MOUNTS=1 ./systemd --introspect=${@:.xml=} > $@ |
4288f619 | 724 | |
6f6083dc LP |
725 | CLEANFILES += \ |
726 | $(dbusinterface_DATA) | |
4288f619 | 727 | |
4697132b | 728 | install-data-hook: |
64c1b5bf | 729 | $(MKDIR_P) -m 0755 \ |
43aa226d LP |
730 | $(DESTDIR)$(systemunitdir) \ |
731 | $(DESTDIR)$(sessionunitdir) \ | |
5e6afdd3 | 732 | $(DESTDIR)$(systemunitdir)/sockets.target.wants \ |
f92a18f5 | 733 | $(DESTDIR)$(systemunitdir)/sysinit.target.wants \ |
cd6d0a45 LP |
734 | $(DESTDIR)$(systemunitdir)/shutdown.target.wants \ |
735 | $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \ | |
736 | $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \ | |
737 | $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \ | |
738 | $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \ | |
739 | $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \ | |
64c1b5bf | 740 | $(DESTDIR)$(pkgsysconfdir)/system \ |
5e6afdd3 LP |
741 | $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \ |
742 | $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \ | |
743 | $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants \ | |
64c1b5bf | 744 | $(DESTDIR)$(pkgsysconfdir)/session \ |
e82e442b | 745 | $(DESTDIR)$(sysconfdir)/xdg/systemd |
a3723b97 LP |
746 | $(MKDIR_P) -m 0755 $(DESTDIR)/cgroup || \ |
747 | echo "Don't forget to create /cgroup! Couldn't create it for you, continuing anyway." | |
e9da3678 LP |
748 | ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \ |
749 | rm -f session && \ | |
5e6afdd3 LP |
750 | $(LN_S) $(pkgsysconfdir)/session session ) |
751 | ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \ | |
70449379 | 752 | rm -f systemd-initctl.socket systemd-logger.socket && \ |
5e6afdd3 LP |
753 | $(LN_S) ../systemd-logger.socket systemd-logger.socket && \ |
754 | $(LN_S) ../systemd-initctl.socket systemd-initctl.socket ) | |
cd6d0a45 LP |
755 | ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \ |
756 | rm -f systemd-update-utmp-runlevel.service && \ | |
757 | $(LN_S) ../systemd-update-utmp-runlevel.service ) | |
758 | ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \ | |
759 | rm -f systemd-update-utmp-runlevel.service && \ | |
760 | $(LN_S) ../systemd-update-utmp-runlevel.service ) | |
761 | ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \ | |
762 | rm -f systemd-update-utmp-runlevel.service && \ | |
763 | $(LN_S) ../systemd-update-utmp-runlevel.service ) | |
764 | ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \ | |
765 | rm -f systemd-update-utmp-runlevel.service && \ | |
766 | $(LN_S) ../systemd-update-utmp-runlevel.service ) | |
767 | ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \ | |
768 | rm -f systemd-update-utmp-runlevel.service && \ | |
769 | $(LN_S) ../systemd-update-utmp-runlevel.service ) | |
770 | ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \ | |
771 | rm -f systemd-update-utmp-shutdown.service && \ | |
772 | $(LN_S) ../systemd-update-utmp-shutdown.service ) | |
70449379 | 773 | ( cd $(DESTDIR)$(sessionunitdir) && \ |
da78e1b4 | 774 | rm -f shutdown.target sockets.target local-fs.target swap.target bluetooth.target printer.target && \ |
8c4a3079 LP |
775 | $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \ |
776 | $(LN_S) $(systemunitdir)/sockets.target sockets.target && \ | |
777 | $(LN_S) $(systemunitdir)/local-fs.target local-fs.target && \ | |
da78e1b4 LP |
778 | $(LN_S) $(systemunitdir)/swap.target swap.target && \ |
779 | $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \ | |
780 | $(LN_S) $(systemunitdir)/printer.target printer.target) | |
5e6afdd3 LP |
781 | ( cd $(DESTDIR)$(systemunitdir) && \ |
782 | rm -f runlevel0.target runlevel1.target runlevel6.target && \ | |
783 | $(LN_S) poweroff.target runlevel0.target && \ | |
784 | $(LN_S) rescue.target runlevel1.target && \ | |
785 | $(LN_S) reboot.target runlevel6.target ) | |
786 | ( cd $(DESTDIR)$(pkgsysconfdir)/system && \ | |
787 | rm -f default.target ctrl-alt-del.target kbrequest.target && \ | |
788 | $(LN_S) $(systemunitdir)/graphical.target default.target && \ | |
789 | $(LN_S) $(systemunitdir)/reboot.target ctrl-alt-del.target && \ | |
790 | $(LN_S) $(systemunitdir)/rescue.target kbrequest.target && \ | |
791 | rm -f runlevel2.target runlevel3.target runlevel4.target runlevel5.target && \ | |
792 | $(LN_S) $(systemunitdir)/multi-user.target runlevel2.target && \ | |
793 | $(LN_S) $(systemunitdir)/multi-user.target runlevel3.target && \ | |
794 | $(LN_S) $(systemunitdir)/multi-user.target runlevel4.target && \ | |
795 | $(LN_S) $(systemunitdir)/graphical.target runlevel5.target ) | |
796 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \ | |
797 | rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \ | |
798 | $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \ | |
799 | $(LN_S) $(systemunitdir)/getty@.service getty@tty2.service && \ | |
800 | $(LN_S) $(systemunitdir)/getty@.service getty@tty3.service && \ | |
801 | $(LN_S) $(systemunitdir)/getty@.service getty@tty4.service && \ | |
802 | $(LN_S) $(systemunitdir)/getty@.service getty@tty5.service && \ | |
803 | $(LN_S) $(systemunitdir)/getty@.service getty@tty6.service ) | |
804 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ | |
f92a18f5 LP |
805 | rm -f getty.target remote-fs.target && \ |
806 | $(LN_S) $(systemunitdir)/getty.target getty.target && \ | |
807 | $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target ) | |
808 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ | |
6d526de2 LP |
809 | rm -f dev-hugepages.automount \ |
810 | dev-mqueue.automount \ | |
811 | proc-sys-fs-binfmt_misc.automount \ | |
812 | sys-kernel-debug.automount \ | |
6d526de2 | 813 | sys-kernel-security.automount && \ |
670802d4 LP |
814 | $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \ |
815 | $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \ | |
816 | $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount && \ | |
6d526de2 | 817 | $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \ |
8c4a3079 | 818 | $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount ) |
d122948d LP |
819 | ( cd $(DESTDIR)$(dbussessionservicedir) && \ |
820 | rm -f org.freedesktop.systemd1.service && \ | |
821 | $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service ) | |
5e6afdd3 | 822 | if TARGET_FEDORA |
a3723b97 | 823 | $(MKDIR_P) -m 0755 \ |
f057408c | 824 | $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \ |
0278dfeb LP |
825 | $(DESTDIR)$(pkgsysconfdir)/system/reboot.target.wants \ |
826 | $(DESTDIR)$(pkgsysconfdir)/system/poweroff.target.wants \ | |
827 | $(DESTDIR)$(pkgsysconfdir)/system/halt.target.wants \ | |
cd6d0a45 | 828 | $(DESTDIR)$(systemunitdir)/rescue.target.wants |
1e287fe3 LP |
829 | ( cd $(DESTDIR)$(pkgsysconfdir)/system && \ |
830 | rm -f display-manager.service && \ | |
831 | $(LN_S) $(systemunitdir)/prefdm.service display-manager.service ) | |
5e6afdd3 | 832 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \ |
af65a091 | 833 | rm -f prefdm.service && \ |
83698d60 | 834 | $(LN_S) $(systemunitdir)/prefdm.service prefdm.service ) |
5e6afdd3 | 835 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ |
1310609b LP |
836 | rm -f rc-local.service plymouth-quit.service && \ |
837 | $(LN_S) $(systemunitdir)/rc-local.service rc-local.service && \ | |
838 | $(LN_S) $(systemunitdir)/plymouth-quit.service plymouth-quit.service ) | |
f057408c LP |
839 | ( cd $(DESTDIR)$(systemunitdir)/rescue.target.wants && \ |
840 | rm -f single.service && \ | |
841 | $(LN_S) $(systemunitdir)/single.service single.service ) | |
0278dfeb LP |
842 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/reboot.target.wants && \ |
843 | rm -f plymouth-reboot.service && \ | |
844 | $(LN_S) $(systemunitdir)/plymouth-reboot.service plymouth-reboot.service ) | |
845 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/poweroff.target.wants && \ | |
846 | rm -f plymouth-poweroff.service && \ | |
847 | $(LN_S) $(systemunitdir)/plymouth-poweroff.service plymouth-poweroff.service ) | |
848 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/halt.target.wants && \ | |
849 | rm -f plymouth-halt.service && \ | |
850 | $(LN_S) $(systemunitdir)/plymouth-halt.service plymouth-halt.service ) | |
5e6afdd3 LP |
851 | ( cd $(DESTDIR)$(systemunitdir) && \ |
852 | rm -f local.service && \ | |
853 | $(LN_S) rc-local.service local.service ) | |
a3723b97 | 854 | ( cd $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) && \ |
1afaf573 | 855 | $(LN_S) halt reboot > /dev/null 2>&1 || true ) |
5e6afdd3 | 856 | endif |
f306f4c4 MAP |
857 | if TARGET_GENTOO |
858 | ( cd $(DESTDIR)$(pkgsysconfdir)/system && \ | |
859 | rm -f display-manager.service && \ | |
860 | $(LN_S) $(systemunitdir)/xdm.service display-manager.service ) | |
861 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \ | |
83698d60 LP |
862 | rm -f xdm.service && \ |
863 | $(LN_S) $(systemunitdir)/xdm.service xdm.service ) | |
f306f4c4 | 864 | endif |
922cc001 LP |
865 | if !TARGET_SUSE |
866 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
867 | rm -f fsck.target && \ | |
868 | $(LN_S) sysinit.target fsck.target ) | |
869 | endif | |
5e6afdd3 | 870 | |
d1ab0ca0 | 871 | DISTCHECK_CONFIGURE_FLAGS = \ |
d2d12cd1 LP |
872 | --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \ |
873 | --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \ | |
874 | --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \ | |
875 | --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \ | |
8c4a3079 | 876 | --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \ |
8c6db833 | 877 | --with-pamlibdir=$$dc_install_base/$(pamlibdir) \ |
8c4a3079 | 878 | --with-rootdir=$$dc_install_base/$(rootdir) |
a45f61d7 LP |
879 | |
880 | upload: all distcheck | |
881 | cp -v systemd-$(VERSION).tar.bz2 /home/lennart/cvs.fedora/systemd/devel/ | |
882 | scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/ | |
883 | scp man/*.html tango:public/systemd-man/ | |
884 | ||
885 | git-tag: | |
886 | git tag "v$(VERSION)" -m "systemd $(VERSION)" |