]>
Commit | Line | Data |
---|---|---|
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 | ||
20 | # Dirs of external packages | |
21 | dbuspolicydir=@dbuspolicydir@ | |
22 | dbussessionservicedir=@dbussessionservicedir@ | |
23 | dbussystemservicedir=@dbussystemservicedir@ | |
24 | dbusinterfacedir=@dbusinterfacedir@ | |
25 | udevrulesdir=@udevrulesdir@ | |
26 | pamlibdir=@pamlibdir@ | |
27 | pkgconfigdatadir=$(datadir)/pkgconfig | |
28 | polkitpolicydir=$(datadir)/polkit-1/actions | |
29 | bashcompletiondir=$(sysconfdir)/bash_completion.d | |
30 | ||
31 | # Our own, non-special dirs | |
32 | pkgsysconfdir=$(sysconfdir)/systemd | |
33 | userunitdir=$(prefix)/lib/systemd/user | |
34 | tmpfilesdir=$(sysconfdir)/tmpfiles.d | |
35 | usergeneratordir=$(pkglibexecdir)/user-generators | |
36 | ||
37 | # And these are the special ones for / | |
38 | rootdir=@rootdir@ | |
39 | rootbindir=$(rootdir)/bin | |
40 | rootlibexecdir=$(rootdir)/lib/systemd | |
41 | systemgeneratordir=$(rootlibexecdir)/system-generators | |
42 | systemshutdowndir=$(rootlibexecdir)/system-shutdown | |
43 | systemunitdir=$(rootdir)/lib/systemd/system | |
44 | ||
45 | AM_CPPFLAGS = \ | |
46 | -include $(top_builddir)/config.h \ | |
47 | -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \ | |
48 | -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \ | |
49 | -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \ | |
50 | -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \ | |
51 | -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \ | |
52 | -DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \ | |
53 | -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \ | |
54 | -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \ | |
55 | -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \ | |
56 | -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \ | |
57 | -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \ | |
58 | -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \ | |
59 | -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \ | |
60 | -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \ | |
61 | -DRUNTIME_DIR=\"/run\" \ | |
62 | -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \ | |
63 | -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \ | |
64 | -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \ | |
65 | -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \ | |
66 | -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \ | |
67 | -I $(top_srcdir)/src | |
68 | ||
69 | if TARGET_GENTOO | |
70 | AM_CPPFLAGS += \ | |
71 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
72 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
73 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
74 | else | |
75 | if TARGET_ARCH | |
76 | AM_CPPFLAGS += \ | |
77 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
78 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
79 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
80 | else | |
81 | if TARGET_FRUGALWARE | |
82 | AM_CPPFLAGS += \ | |
83 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
84 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
85 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
86 | else | |
87 | if TARGET_MANDRIVA | |
88 | AM_CPPFLAGS += \ | |
89 | -DKBD_LOADKEYS=\"/bin/loadkeys\" \ | |
90 | -DKBD_SETFONT=\"/bin/setfont\" \ | |
91 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
92 | else | |
93 | AM_CPPFLAGS += \ | |
94 | -DKBD_LOADKEYS=\"/bin/loadkeys\" \ | |
95 | -DKBD_SETFONT=\"/bin/setfont\" \ | |
96 | -DDEFAULT_FONT=\"latarcyrheb-sun16\" | |
97 | endif | |
98 | endif | |
99 | endif | |
100 | endif | |
101 | ||
102 | rootbin_PROGRAMS = \ | |
103 | systemd \ | |
104 | systemctl \ | |
105 | systemd-notify \ | |
106 | systemd-ask-password \ | |
107 | systemd-tty-ask-password-agent \ | |
108 | systemd-tmpfiles \ | |
109 | systemd-machine-id-setup | |
110 | ||
111 | bin_PROGRAMS = \ | |
112 | systemd-cgls \ | |
113 | systemd-stdio-bridge \ | |
114 | systemd-nspawn | |
115 | ||
116 | dist_bin_SCRIPTS = \ | |
117 | src/systemd-analyze | |
118 | ||
119 | if HAVE_GTK | |
120 | bin_PROGRAMS += \ | |
121 | systemadm \ | |
122 | systemd-gnome-ask-password-agent | |
123 | endif | |
124 | ||
125 | rootlibexec_PROGRAMS = \ | |
126 | systemd-logger \ | |
127 | systemd-cgroups-agent \ | |
128 | systemd-initctl \ | |
129 | systemd-update-utmp \ | |
130 | systemd-random-seed \ | |
131 | systemd-shutdownd \ | |
132 | systemd-shutdown \ | |
133 | systemd-modules-load \ | |
134 | systemd-remount-api-vfs \ | |
135 | systemd-kmsg-syslogd \ | |
136 | systemd-vconsole-setup \ | |
137 | systemd-reply-password \ | |
138 | systemd-readahead-collect \ | |
139 | systemd-readahead-replay \ | |
140 | systemd-user-sessions \ | |
141 | systemd-fsck \ | |
142 | systemd-quotacheck \ | |
143 | systemd-timestamp \ | |
144 | systemd-ac-power \ | |
145 | systemd-detect-virt \ | |
146 | systemd-sysctl \ | |
147 | systemd-binfmt \ | |
148 | systemd-hostnamed | |
149 | ||
150 | systemgenerator_PROGRAMS = \ | |
151 | systemd-getty-generator | |
152 | ||
153 | if HAVE_LIBCRYPTSETUP | |
154 | rootlibexec_PROGRAMS += \ | |
155 | systemd-cryptsetup | |
156 | ||
157 | systemgenerator_PROGRAMS += \ | |
158 | systemd-cryptsetup-generator | |
159 | endif | |
160 | ||
161 | noinst_PROGRAMS = \ | |
162 | test-engine \ | |
163 | test-job-type \ | |
164 | test-ns \ | |
165 | test-loopback \ | |
166 | test-hostname \ | |
167 | test-daemon \ | |
168 | test-cgroup \ | |
169 | test-env-replace \ | |
170 | test-strv | |
171 | ||
172 | if HAVE_PAM | |
173 | pamlib_LTLIBRARIES = \ | |
174 | pam_systemd.la | |
175 | endif | |
176 | ||
177 | dist_pkgsysconf_DATA = \ | |
178 | src/system.conf | |
179 | ||
180 | dist_dbuspolicy_DATA = \ | |
181 | src/org.freedesktop.systemd1.conf \ | |
182 | src/org.freedesktop.hostname1.conf | |
183 | ||
184 | dist_dbussystemservice_DATA = \ | |
185 | src/org.freedesktop.systemd1.service \ | |
186 | src/org.freedesktop.hostname1.service | |
187 | ||
188 | dist_udevrules_DATA = \ | |
189 | src/99-systemd.rules | |
190 | ||
191 | dbusinterface_DATA = \ | |
192 | org.freedesktop.systemd1.Manager.xml \ | |
193 | org.freedesktop.systemd1.Job.xml \ | |
194 | org.freedesktop.systemd1.Unit.xml \ | |
195 | org.freedesktop.systemd1.Service.xml \ | |
196 | org.freedesktop.systemd1.Socket.xml \ | |
197 | org.freedesktop.systemd1.Timer.xml \ | |
198 | org.freedesktop.systemd1.Target.xml \ | |
199 | org.freedesktop.systemd1.Device.xml \ | |
200 | org.freedesktop.systemd1.Mount.xml \ | |
201 | org.freedesktop.systemd1.Automount.xml \ | |
202 | org.freedesktop.systemd1.Snapshot.xml \ | |
203 | org.freedesktop.systemd1.Swap.xml \ | |
204 | org.freedesktop.systemd1.Path.xml | |
205 | ||
206 | dist_bashcompletion_DATA = \ | |
207 | src/systemctl-bash-completion.sh | |
208 | ||
209 | dist_tmpfiles_DATA = \ | |
210 | tmpfiles.d/systemd.conf \ | |
211 | tmpfiles.d/x11.conf | |
212 | ||
213 | if HAVE_SYSV_COMPAT | |
214 | dist_tmpfiles_DATA += \ | |
215 | tmpfiles.d/legacy.conf | |
216 | endif | |
217 | ||
218 | dist_systemunit_DATA = \ | |
219 | units/graphical.target \ | |
220 | units/multi-user.target \ | |
221 | units/emergency.service \ | |
222 | units/emergency.target \ | |
223 | units/sysinit.target \ | |
224 | units/basic.target \ | |
225 | units/getty.target \ | |
226 | units/halt.target \ | |
227 | units/kexec.target \ | |
228 | units/local-fs.target \ | |
229 | units/cryptsetup.target \ | |
230 | units/network.target \ | |
231 | units/nss-lookup.target \ | |
232 | units/mail-transfer-agent.target \ | |
233 | units/http-daemon.target \ | |
234 | units/poweroff.target \ | |
235 | units/reboot.target \ | |
236 | units/rescue.target \ | |
237 | units/rpcbind.target \ | |
238 | units/time-sync.target \ | |
239 | units/shutdown.target \ | |
240 | units/final.target \ | |
241 | units/umount.target \ | |
242 | units/sigpwr.target \ | |
243 | units/sockets.target \ | |
244 | units/swap.target \ | |
245 | units/systemd-initctl.socket \ | |
246 | units/systemd-logger.socket \ | |
247 | units/systemd-shutdownd.socket \ | |
248 | units/syslog.socket \ | |
249 | units/dev-hugepages.automount \ | |
250 | units/dev-hugepages.mount \ | |
251 | units/dev-mqueue.automount \ | |
252 | units/dev-mqueue.mount \ | |
253 | units/proc-sys-fs-binfmt_misc.automount \ | |
254 | units/proc-sys-fs-binfmt_misc.mount \ | |
255 | units/sys-kernel-debug.automount \ | |
256 | units/sys-kernel-debug.mount \ | |
257 | units/sys-kernel-security.automount \ | |
258 | units/sys-kernel-security.mount \ | |
259 | units/var-run.mount \ | |
260 | units/media.mount \ | |
261 | units/hwclock-load.service \ | |
262 | units/hwclock-save.service \ | |
263 | units/remount-rootfs.service \ | |
264 | units/printer.target \ | |
265 | units/sound.target \ | |
266 | units/bluetooth.target \ | |
267 | units/smartcard.target \ | |
268 | units/systemd-readahead-done.timer \ | |
269 | units/systemd-tmpfiles-clean.timer \ | |
270 | units/quotaon.service \ | |
271 | units/systemd-ask-password-wall.path \ | |
272 | units/systemd-ask-password-console.path \ | |
273 | units/syslog.target | |
274 | ||
275 | if HAVE_SYSV_COMPAT | |
276 | dist_systemunit_DATA += \ | |
277 | units/var-lock.mount | |
278 | endif | |
279 | ||
280 | nodist_systemunit_DATA = \ | |
281 | units/getty@.service \ | |
282 | units/serial-getty@.service \ | |
283 | units/console-shell.service \ | |
284 | units/remote-fs.target \ | |
285 | units/systemd-initctl.service \ | |
286 | units/systemd-logger.service \ | |
287 | units/systemd-shutdownd.service \ | |
288 | units/systemd-hostnamed.service \ | |
289 | units/systemd-kmsg-syslogd.service \ | |
290 | units/systemd-modules-load.service \ | |
291 | units/systemd-vconsole-setup.service \ | |
292 | units/systemd-remount-api-vfs.service \ | |
293 | units/systemd-update-utmp-runlevel.service \ | |
294 | units/systemd-update-utmp-shutdown.service \ | |
295 | units/systemd-random-seed-save.service \ | |
296 | units/systemd-random-seed-load.service \ | |
297 | units/systemd-readahead-collect.service \ | |
298 | units/systemd-readahead-replay.service \ | |
299 | units/systemd-readahead-done.service \ | |
300 | units/systemd-tmpfiles-setup.service \ | |
301 | units/systemd-tmpfiles-clean.service \ | |
302 | units/systemd-user-sessions.service \ | |
303 | units/systemd-ask-password-wall.service \ | |
304 | units/systemd-ask-password-console.service \ | |
305 | units/systemd-sysctl.service \ | |
306 | units/systemd-binfmt.service \ | |
307 | units/halt.service \ | |
308 | units/poweroff.service \ | |
309 | units/reboot.service \ | |
310 | units/kexec.service \ | |
311 | units/fsck@.service \ | |
312 | units/fsck-root.service \ | |
313 | units/quotacheck.service \ | |
314 | units/rescue.service | |
315 | ||
316 | dist_userunit_DATA = \ | |
317 | units/user/default.target \ | |
318 | units/user/exit.target | |
319 | ||
320 | nodist_userunit_DATA = \ | |
321 | units/user/remote-fs.target \ | |
322 | units/user/exit.service | |
323 | ||
324 | EXTRA_DIST = \ | |
325 | units/getty@.service.m4 \ | |
326 | units/serial-getty@.service.m4 \ | |
327 | units/console-shell.service.m4 \ | |
328 | units/remote-fs.target.m4 \ | |
329 | units/rescue.service.m4 \ | |
330 | units/systemd-initctl.service.in \ | |
331 | units/systemd-logger.service.in \ | |
332 | units/systemd-shutdownd.service.in \ | |
333 | units/systemd-hostnamed.service.in \ | |
334 | units/systemd-kmsg-syslogd.service.in \ | |
335 | units/systemd-modules-load.service.in \ | |
336 | units/systemd-vconsole-setup.service.in \ | |
337 | units/systemd-remount-api-vfs.service.in \ | |
338 | units/systemd-update-utmp-runlevel.service.in \ | |
339 | units/systemd-update-utmp-shutdown.service.in \ | |
340 | units/systemd-random-seed-save.service.in \ | |
341 | units/systemd-random-seed-load.service.in \ | |
342 | units/systemd-readahead-collect.service.in \ | |
343 | units/systemd-readahead-replay.service.in \ | |
344 | units/systemd-readahead-done.service.in \ | |
345 | units/systemd-tmpfiles-setup.service.in \ | |
346 | units/systemd-tmpfiles-clean.service.in \ | |
347 | units/systemd-user-sessions.service.in \ | |
348 | units/systemd-ask-password-wall.service.in \ | |
349 | units/systemd-ask-password-console.service.in \ | |
350 | units/systemd-sysctl.service.in \ | |
351 | units/systemd-binfmt.service.in \ | |
352 | units/halt.service.in \ | |
353 | units/poweroff.service.in \ | |
354 | units/reboot.service.in \ | |
355 | units/kexec.service.in \ | |
356 | units/user/exit.service.in \ | |
357 | units/fsck@.service.in \ | |
358 | units/fsck-root.service.in \ | |
359 | units/quotacheck.service.in \ | |
360 | systemd.pc.in \ | |
361 | introspect.awk \ | |
362 | src/org.freedesktop.systemd1.policy.in | |
363 | ||
364 | if TARGET_FEDORA | |
365 | dist_systemunit_DATA += \ | |
366 | units/fedora/prefdm.service \ | |
367 | units/fedora/rc-local.service \ | |
368 | units/fedora/halt-local.service | |
369 | endif | |
370 | ||
371 | if TARGET_MANDRIVA | |
372 | dist_systemunit_DATA += \ | |
373 | units/mandriva/prefdm.service \ | |
374 | units/fedora/rc-local.service \ | |
375 | units/fedora/halt-local.service | |
376 | endif | |
377 | ||
378 | if TARGET_FRUGALWARE | |
379 | dist_systemunit_DATA += \ | |
380 | units/frugalware/display-manager.service | |
381 | endif | |
382 | ||
383 | if HAVE_PLYMOUTH | |
384 | dist_systemunit_DATA += \ | |
385 | units/plymouth-start.service \ | |
386 | units/plymouth-read-write.service \ | |
387 | units/plymouth-quit.service \ | |
388 | units/plymouth-quit-wait.service \ | |
389 | units/plymouth-reboot.service \ | |
390 | units/plymouth-kexec.service \ | |
391 | units/plymouth-poweroff.service \ | |
392 | units/plymouth-halt.service \ | |
393 | units/systemd-ask-password-plymouth.path | |
394 | ||
395 | nodist_systemunit_DATA += \ | |
396 | units/systemd-ask-password-plymouth.service | |
397 | ||
398 | EXTRA_DIST += \ | |
399 | units/systemd-ask-password-plymouth.service.in | |
400 | endif | |
401 | ||
402 | dist_doc_DATA = \ | |
403 | README \ | |
404 | LICENSE \ | |
405 | DISTRO_PORTING \ | |
406 | src/sd-daemon.h \ | |
407 | src/sd-daemon.c \ | |
408 | src/sd-readahead.h \ | |
409 | src/sd-readahead.c | |
410 | ||
411 | pkgconfigdata_DATA = \ | |
412 | systemd.pc | |
413 | ||
414 | nodist_polkitpolicy_DATA = \ | |
415 | src/org.freedesktop.systemd1.policy | |
416 | ||
417 | dist_polkitpolicy_DATA = \ | |
418 | src/org.freedesktop.hostname1.policy | |
419 | ||
420 | noinst_LTLIBRARIES = \ | |
421 | libsystemd-basic.la \ | |
422 | libsystemd-core.la \ | |
423 | libsystemd-daemon.la | |
424 | ||
425 | libsystemd_basic_la_SOURCES = \ | |
426 | src/util.c \ | |
427 | src/label.c \ | |
428 | src/hashmap.c \ | |
429 | src/set.c \ | |
430 | src/strv.c \ | |
431 | src/conf-parser.c \ | |
432 | src/socket-util.c \ | |
433 | src/log.c \ | |
434 | src/ratelimit.c \ | |
435 | src/exit-status.c | |
436 | ||
437 | libsystemd_basic_la_CFLAGS = \ | |
438 | $(AM_CFLAGS) \ | |
439 | $(SELINUX_CFLAGS) | |
440 | ||
441 | libsystemd_basic_la_LIBADD = \ | |
442 | $(SELINUX_LIBS) | |
443 | ||
444 | libsystemd_core_la_SOURCES = \ | |
445 | src/unit.c \ | |
446 | src/job.c \ | |
447 | src/manager.c \ | |
448 | src/path-lookup.c \ | |
449 | src/load-fragment.c \ | |
450 | src/service.c \ | |
451 | src/automount.c \ | |
452 | src/mount.c \ | |
453 | src/swap.c \ | |
454 | src/device.c \ | |
455 | src/target.c \ | |
456 | src/snapshot.c \ | |
457 | src/socket.c \ | |
458 | src/timer.c \ | |
459 | src/path.c \ | |
460 | src/load-dropin.c \ | |
461 | src/execute.c \ | |
462 | src/utmp-wtmp.c \ | |
463 | src/dbus.c \ | |
464 | src/dbus-manager.c \ | |
465 | src/dbus-unit.c \ | |
466 | src/dbus-job.c \ | |
467 | src/dbus-service.c \ | |
468 | src/dbus-socket.c \ | |
469 | src/dbus-timer.c \ | |
470 | src/dbus-target.c \ | |
471 | src/dbus-mount.c \ | |
472 | src/dbus-automount.c \ | |
473 | src/dbus-swap.c \ | |
474 | src/dbus-snapshot.c \ | |
475 | src/dbus-device.c \ | |
476 | src/dbus-execute.c \ | |
477 | src/dbus-path.c \ | |
478 | src/cgroup.c \ | |
479 | src/mount-setup.c \ | |
480 | src/hostname-setup.c \ | |
481 | src/selinux-setup.c \ | |
482 | src/loopback-setup.c \ | |
483 | src/kmod-setup.c \ | |
484 | src/locale-setup.c \ | |
485 | src/machine-id-setup.c \ | |
486 | src/specifier.c \ | |
487 | src/unit-name.c \ | |
488 | src/fdset.c \ | |
489 | src/namespace.c \ | |
490 | src/tcpwrap.c \ | |
491 | src/cgroup-util.c \ | |
492 | src/condition.c \ | |
493 | src/dbus-common.c | |
494 | ||
495 | libsystemd_core_la_CFLAGS = \ | |
496 | $(AM_CFLAGS) \ | |
497 | $(DBUS_CFLAGS) \ | |
498 | $(UDEV_CFLAGS) \ | |
499 | $(LIBWRAP_CFLAGS) \ | |
500 | $(PAM_CFLAGS) \ | |
501 | $(AUDIT_CFLAGS) | |
502 | ||
503 | libsystemd_core_la_LIBADD = \ | |
504 | libsystemd-basic.la \ | |
505 | $(DBUS_LIBS) \ | |
506 | $(UDEV_LIBS) \ | |
507 | $(LIBWRAP_LIBS) \ | |
508 | $(PAM_LIBS) \ | |
509 | $(AUDIT_LIBS) | |
510 | ||
511 | libsystemd_daemon_la_SOURCES = \ | |
512 | src/sd-daemon.c | |
513 | ||
514 | # This is needed because automake is buggy in how it generates the | |
515 | # rules for C programs, but not Vala programs. We therefore can't | |
516 | # list the .h files as dependencies if we want make dist to work. | |
517 | ||
518 | EXTRA_DIST += \ | |
519 | ${libsystemd_basic_la_SOURCES:.c=.h} \ | |
520 | ${libsystemd_core_la_SOURCES:.c=.h} \ | |
521 | ${libsystemd_daemon_la_SOURCES:.c=.h} \ | |
522 | src/macro.h \ | |
523 | src/def.h \ | |
524 | src/ioprio.h \ | |
525 | src/missing.h \ | |
526 | src/list.h \ | |
527 | src/securebits.h \ | |
528 | src/linux/auto_dev-ioctl.h \ | |
529 | src/linux/fanotify.h \ | |
530 | src/initreq.h \ | |
531 | src/sd-readahead.h \ | |
532 | src/special.h \ | |
533 | src/dbus-common.h \ | |
534 | src/bus-errors.h \ | |
535 | src/cgroup-show.h \ | |
536 | src/build.h \ | |
537 | src/shutdownd.h \ | |
538 | src/umount.h \ | |
539 | src/readahead-common.h \ | |
540 | src/ask-password-api.h | |
541 | ||
542 | MANPAGES = \ | |
543 | man/systemd.1 \ | |
544 | man/systemctl.1 \ | |
545 | man/systemadm.1 \ | |
546 | man/systemd-cgls.1 \ | |
547 | man/systemd-nspawn.1 \ | |
548 | man/systemd-tmpfiles.8 \ | |
549 | man/systemd-notify.1 \ | |
550 | man/sd_notify.3 \ | |
551 | man/sd_readahead.3 \ | |
552 | man/sd_booted.3 \ | |
553 | man/sd_listen_fds.3 \ | |
554 | man/sd_is_fifo.3 \ | |
555 | man/systemd.unit.5 \ | |
556 | man/systemd.service.5 \ | |
557 | man/systemd.socket.5 \ | |
558 | man/systemd.mount.5 \ | |
559 | man/systemd.automount.5 \ | |
560 | man/systemd.swap.5 \ | |
561 | man/systemd.timer.5 \ | |
562 | man/systemd.path.5 \ | |
563 | man/systemd.target.5 \ | |
564 | man/systemd.device.5 \ | |
565 | man/systemd.snapshot.5 \ | |
566 | man/systemd.exec.5 \ | |
567 | man/daemon.7 \ | |
568 | man/sd-daemon.7 \ | |
569 | man/sd-readahead.7 \ | |
570 | man/runlevel.8 \ | |
571 | man/telinit.8 \ | |
572 | man/halt.8 \ | |
573 | man/shutdown.8 \ | |
574 | man/pam_systemd.8 \ | |
575 | man/systemd.conf.5 \ | |
576 | man/tmpfiles.d.5 \ | |
577 | man/hostname.5 \ | |
578 | man/machine-id.5 \ | |
579 | man/vconsole.conf.5 \ | |
580 | man/locale.conf.5 \ | |
581 | man/os-release.5 \ | |
582 | man/machine-info.5 \ | |
583 | man/modules-load.d.5 \ | |
584 | man/binfmt.d.5 \ | |
585 | man/sysctl.d.5 \ | |
586 | man/systemd-ask-password.1 | |
587 | ||
588 | MANPAGES_ALIAS = \ | |
589 | man/reboot.8 \ | |
590 | man/poweroff.8 \ | |
591 | man/sd_is_socket.3 \ | |
592 | man/sd_is_socket_unix.3 \ | |
593 | man/sd_is_socket_inet.3 \ | |
594 | man/sd_notifyf.3 \ | |
595 | man/init.1 | |
596 | ||
597 | man/reboot.8: man/halt.8 | |
598 | man/poweroff.8: man/halt.8 | |
599 | man/sd_is_socket.3: man/sd_is_fifo.3 | |
600 | man/sd_is_socket_unix.3: man/sd_is_fifo.3 | |
601 | man/sd_is_socket_inet.3: man/sd_is_fifo.3 | |
602 | man/sd_notifyf.3: man/sd_notify.3 | |
603 | man/init.1: man/systemd.1 | |
604 | ||
605 | dist_man_MANS = \ | |
606 | $(MANPAGES) \ | |
607 | $(MANPAGES_ALIAS) | |
608 | ||
609 | nodist_man_MANS = \ | |
610 | man/systemd.special.7 | |
611 | ||
612 | XML_FILES = \ | |
613 | ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}} | |
614 | ||
615 | XML_IN_FILES = \ | |
616 | ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}} | |
617 | ||
618 | dist_noinst_DATA = \ | |
619 | ${XML_FILES:.xml=.html} | |
620 | ||
621 | nodist_noinst_DATA = \ | |
622 | ${XML_IN_FILES:.xml.in=.html} | |
623 | ||
624 | EXTRA_DIST += \ | |
625 | $(XML_FILES) \ | |
626 | $(XML_IN_FILES) \ | |
627 | ${nodist_man_MANS:=.in} \ | |
628 | ${XML_IN_FILES:.xml.in=.html.in} | |
629 | ||
630 | systemd_SOURCES = \ | |
631 | src/main.c | |
632 | ||
633 | systemd_CFLAGS = \ | |
634 | $(AM_CFLAGS) \ | |
635 | $(DBUS_CFLAGS) \ | |
636 | $(UDEV_CFLAGS) | |
637 | ||
638 | systemd_LDADD = \ | |
639 | libsystemd-core.la | |
640 | ||
641 | test_engine_SOURCES = \ | |
642 | src/test-engine.c | |
643 | ||
644 | test_engine_CFLAGS = $(systemd_CFLAGS) | |
645 | test_engine_LDADD = $(systemd_LDADD) | |
646 | ||
647 | test_job_type_SOURCES = \ | |
648 | src/test-job-type.c | |
649 | ||
650 | test_job_type_CFLAGS = $(systemd_CFLAGS) | |
651 | test_job_type_LDADD = $(systemd_LDADD) | |
652 | ||
653 | test_ns_SOURCES = \ | |
654 | src/test-ns.c | |
655 | ||
656 | test_ns_CFLAGS = $(systemd_CFLAGS) | |
657 | test_ns_LDADD = $(systemd_LDADD) | |
658 | ||
659 | test_loopback_SOURCES = \ | |
660 | src/test-loopback.c \ | |
661 | src/loopback-setup.c | |
662 | ||
663 | test_loopback_LDADD = \ | |
664 | libsystemd-basic.la | |
665 | ||
666 | test_hostname_SOURCES = \ | |
667 | src/test-hostname.c \ | |
668 | src/hostname-setup.c | |
669 | ||
670 | test_hostname_LDADD = \ | |
671 | libsystemd-basic.la | |
672 | ||
673 | test_daemon_SOURCES = \ | |
674 | src/test-daemon.c | |
675 | ||
676 | test_daemon_LDADD = \ | |
677 | libsystemd-basic.la \ | |
678 | libsystemd-daemon.la | |
679 | ||
680 | test_cgroup_SOURCES = \ | |
681 | src/test-cgroup.c \ | |
682 | src/cgroup-util.c | |
683 | ||
684 | test_cgroup_CFLAGS = \ | |
685 | $(AM_CFLAGS) | |
686 | ||
687 | test_cgroup_LDADD = \ | |
688 | libsystemd-basic.la | |
689 | ||
690 | test_env_replace_SOURCES = \ | |
691 | src/test-env-replace.c | |
692 | ||
693 | test_env_replace_CFLAGS = \ | |
694 | $(AM_CFLAGS) | |
695 | ||
696 | test_env_replace_LDADD = \ | |
697 | libsystemd-basic.la | |
698 | ||
699 | test_strv_SOURCES = \ | |
700 | src/test-strv.c \ | |
701 | src/specifier.c | |
702 | ||
703 | test_strv_CFLAGS = \ | |
704 | $(AM_CFLAGS) | |
705 | ||
706 | test_strv_LDADD = \ | |
707 | libsystemd-basic.la | |
708 | ||
709 | systemd_logger_SOURCES = \ | |
710 | src/logger.c \ | |
711 | src/tcpwrap.c | |
712 | ||
713 | systemd_logger_LDADD = \ | |
714 | libsystemd-basic.la \ | |
715 | libsystemd-daemon.la \ | |
716 | $(LIBWRAP_LIBS) | |
717 | ||
718 | systemd_initctl_SOURCES = \ | |
719 | src/initctl.c \ | |
720 | src/dbus-common.c | |
721 | ||
722 | systemd_initctl_CFLAGS = \ | |
723 | $(AM_CFLAGS) \ | |
724 | $(DBUS_CFLAGS) | |
725 | ||
726 | systemd_initctl_LDADD = \ | |
727 | libsystemd-basic.la \ | |
728 | libsystemd-daemon.la \ | |
729 | $(DBUS_LIBS) | |
730 | ||
731 | systemd_update_utmp_SOURCES = \ | |
732 | src/update-utmp.c \ | |
733 | src/dbus-common.c \ | |
734 | src/utmp-wtmp.c | |
735 | ||
736 | systemd_update_utmp_CFLAGS = \ | |
737 | $(AM_CFLAGS) \ | |
738 | $(DBUS_CFLAGS) \ | |
739 | $(AUDIT_CFLAGS) | |
740 | ||
741 | systemd_update_utmp_LDADD = \ | |
742 | libsystemd-basic.la \ | |
743 | $(DBUS_LIBS) \ | |
744 | $(AUDIT_LIBS) | |
745 | ||
746 | systemd_random_seed_SOURCES = \ | |
747 | src/random-seed.c | |
748 | ||
749 | systemd_random_seed_CFLAGS = \ | |
750 | $(AM_CFLAGS) | |
751 | ||
752 | systemd_random_seed_LDADD = \ | |
753 | libsystemd-basic.la | |
754 | ||
755 | systemd_shutdownd_SOURCES = \ | |
756 | src/utmp-wtmp.c \ | |
757 | src/shutdownd.c | |
758 | ||
759 | systemd_shutdownd_CFLAGS = \ | |
760 | $(AM_CFLAGS) | |
761 | ||
762 | systemd_shutdownd_LDADD = \ | |
763 | libsystemd-basic.la \ | |
764 | libsystemd-daemon.la | |
765 | ||
766 | systemd_hostnamed_SOURCES = \ | |
767 | src/hostnamed.c \ | |
768 | src/dbus-common.c | |
769 | ||
770 | systemd_hostnamed_CFLAGS = \ | |
771 | $(AM_CFLAGS) \ | |
772 | $(DBUS_CFLAGS) | |
773 | ||
774 | systemd_hostnamed_LDADD = \ | |
775 | libsystemd-basic.la \ | |
776 | libsystemd-daemon.la \ | |
777 | $(DBUS_LIBS) | |
778 | ||
779 | systemd_shutdown_SOURCES = \ | |
780 | src/mount-setup.c \ | |
781 | src/umount.c \ | |
782 | src/shutdown.c | |
783 | ||
784 | systemd_shutdown_CFLAGS = \ | |
785 | $(AM_CFLAGS) \ | |
786 | $(UDEV_CFLAGS) | |
787 | ||
788 | systemd_shutdown_LDADD = \ | |
789 | libsystemd-basic.la \ | |
790 | $(UDEV_LIBS) | |
791 | ||
792 | systemd_modules_load_SOURCES = \ | |
793 | src/modules-load.c | |
794 | ||
795 | systemd_modules_load_CFLAGS = \ | |
796 | $(AM_CFLAGS) | |
797 | ||
798 | systemd_modules_load_LDADD = \ | |
799 | libsystemd-basic.la | |
800 | ||
801 | systemd_tmpfiles_SOURCES = \ | |
802 | src/tmpfiles.c | |
803 | ||
804 | systemd_tmpfiles_CFLAGS = \ | |
805 | $(AM_CFLAGS) | |
806 | ||
807 | systemd_tmpfiles_LDADD = \ | |
808 | libsystemd-basic.la | |
809 | ||
810 | systemd_machine_id_setup_SOURCES = \ | |
811 | src/machine-id-setup.c \ | |
812 | src/machine-id-main.c | |
813 | ||
814 | systemd_machine_id_setup_CFLAGS = \ | |
815 | $(AM_CFLAGS) | |
816 | ||
817 | systemd_machine_id_setup_LDADD = \ | |
818 | libsystemd-basic.la | |
819 | ||
820 | systemd_sysctl_SOURCES = \ | |
821 | src/sysctl.c | |
822 | ||
823 | systemd_sysctl_CFLAGS = \ | |
824 | $(AM_CFLAGS) | |
825 | ||
826 | systemd_sysctl_LDADD = \ | |
827 | libsystemd-basic.la | |
828 | ||
829 | systemd_binfmt_SOURCES = \ | |
830 | src/binfmt.c | |
831 | ||
832 | systemd_binfmt_CFLAGS = \ | |
833 | $(AM_CFLAGS) | |
834 | ||
835 | systemd_binfmt_LDADD = \ | |
836 | libsystemd-basic.la | |
837 | ||
838 | systemd_fsck_SOURCES = \ | |
839 | src/fsck.c \ | |
840 | src/dbus-common.c | |
841 | ||
842 | systemd_fsck_CFLAGS = \ | |
843 | $(AM_CFLAGS) \ | |
844 | $(UDEV_CFLAGS) \ | |
845 | $(DBUS_CFLAGS) | |
846 | ||
847 | systemd_fsck_LDADD = \ | |
848 | libsystemd-basic.la \ | |
849 | $(UDEV_LIBS) \ | |
850 | $(DBUS_LIBS) | |
851 | ||
852 | systemd_quotacheck_SOURCES = \ | |
853 | src/quotacheck.c | |
854 | ||
855 | systemd_quotacheck_CFLAGS = \ | |
856 | $(AM_CFLAGS) | |
857 | ||
858 | systemd_quotacheck_LDADD = \ | |
859 | libsystemd-basic.la | |
860 | ||
861 | systemd_timestamp_SOURCES = \ | |
862 | src/timestamp.c | |
863 | ||
864 | systemd_timestamp_CFLAGS = \ | |
865 | $(AM_CFLAGS) | |
866 | ||
867 | systemd_timestamp_LDADD = \ | |
868 | libsystemd-basic.la | |
869 | ||
870 | systemd_ac_power_SOURCES = \ | |
871 | src/ac-power.c | |
872 | ||
873 | systemd_ac_power_CFLAGS = \ | |
874 | $(AM_CFLAGS) \ | |
875 | $(UDEV_CFLAGS) | |
876 | ||
877 | systemd_ac_power_LDADD = \ | |
878 | libsystemd-basic.la \ | |
879 | $(UDEV_LIBS) | |
880 | ||
881 | systemd_detect_virt_SOURCES = \ | |
882 | src/detect-virt.c | |
883 | ||
884 | systemd_detect_virt_CFLAGS = \ | |
885 | $(AM_CFLAGS) | |
886 | ||
887 | systemd_detect_virt_LDADD = \ | |
888 | libsystemd-basic.la | |
889 | ||
890 | systemd_cryptsetup_SOURCES = \ | |
891 | src/cryptsetup.c \ | |
892 | src/ask-password-api.c | |
893 | ||
894 | systemd_cryptsetup_CFLAGS = \ | |
895 | $(LIBCRYPTSETUP_CFLAGS) \ | |
896 | $(UDEV_CFLAGS) \ | |
897 | $(AM_CFLAGS) | |
898 | ||
899 | systemd_cryptsetup_LDADD = \ | |
900 | $(LIBCRYPTSETUP_LIBS) \ | |
901 | $(UDEV_LIBS) \ | |
902 | libsystemd-basic.la | |
903 | ||
904 | systemd_cryptsetup_generator_SOURCES = \ | |
905 | src/cryptsetup-generator.c \ | |
906 | src/unit-name.c | |
907 | ||
908 | systemd_cryptsetup_generator_CFLAGS = \ | |
909 | $(AM_CFLAGS) | |
910 | ||
911 | systemd_cryptsetup_generator_LDADD = \ | |
912 | libsystemd-basic.la | |
913 | ||
914 | systemd_getty_generator_SOURCES = \ | |
915 | src/getty-generator.c \ | |
916 | src/unit-name.c | |
917 | ||
918 | systemd_getty_generator_CFLAGS = \ | |
919 | $(AM_CFLAGS) | |
920 | ||
921 | systemd_getty_generator_LDADD = \ | |
922 | libsystemd-basic.la | |
923 | ||
924 | systemd_user_sessions_SOURCES = \ | |
925 | src/user-sessions.c \ | |
926 | src/cgroup-util.c | |
927 | ||
928 | systemd_user_sessions_CFLAGS = \ | |
929 | $(AM_CFLAGS) | |
930 | ||
931 | systemd_user_sessions_LDADD = \ | |
932 | libsystemd-basic.la | |
933 | ||
934 | systemd_vconsole_setup_SOURCES = \ | |
935 | src/vconsole-setup.c | |
936 | ||
937 | systemd_vconsole_setup_CFLAGS = \ | |
938 | $(AM_CFLAGS) | |
939 | ||
940 | systemd_vconsole_setup_LDADD = \ | |
941 | libsystemd-basic.la | |
942 | ||
943 | systemd_remount_api_vfs_SOURCES = \ | |
944 | src/remount-api-vfs.c \ | |
945 | src/mount-setup.c \ | |
946 | src/exit-status.c | |
947 | ||
948 | systemd_remount_api_vfs_CFLAGS = \ | |
949 | $(AM_CFLAGS) | |
950 | ||
951 | systemd_remount_api_vfs_LDADD = \ | |
952 | libsystemd-basic.la | |
953 | ||
954 | systemd_cgroups_agent_SOURCES = \ | |
955 | src/cgroups-agent.c \ | |
956 | src/dbus-common.c | |
957 | ||
958 | systemd_cgroups_agent_CFLAGS = \ | |
959 | $(AM_CFLAGS) \ | |
960 | $(DBUS_CFLAGS) | |
961 | ||
962 | systemd_cgroups_agent_LDADD = \ | |
963 | libsystemd-basic.la \ | |
964 | $(DBUS_LIBS) | |
965 | ||
966 | systemd_kmsg_syslogd_SOURCES = \ | |
967 | src/kmsg-syslogd.c \ | |
968 | src/fdset.c | |
969 | ||
970 | systemd_kmsg_syslogd_CFLAGS = \ | |
971 | $(AM_CFLAGS) | |
972 | ||
973 | systemd_kmsg_syslogd_LDADD = \ | |
974 | libsystemd-basic.la \ | |
975 | libsystemd-daemon.la | |
976 | ||
977 | systemctl_SOURCES = \ | |
978 | src/systemctl.c \ | |
979 | src/utmp-wtmp.c \ | |
980 | src/dbus-common.c \ | |
981 | src/path-lookup.c \ | |
982 | src/cgroup-show.c \ | |
983 | src/cgroup-util.c \ | |
984 | src/exit-status.c \ | |
985 | src/unit-name.c | |
986 | ||
987 | systemctl_CFLAGS = \ | |
988 | $(AM_CFLAGS) \ | |
989 | $(DBUS_CFLAGS) | |
990 | ||
991 | systemctl_LDADD = \ | |
992 | libsystemd-basic.la \ | |
993 | libsystemd-daemon.la \ | |
994 | $(DBUS_LIBS) | |
995 | ||
996 | systemd_notify_SOURCES = \ | |
997 | src/notify.c \ | |
998 | src/sd-readahead.c | |
999 | ||
1000 | systemd_notify_LDADD = \ | |
1001 | libsystemd-basic.la \ | |
1002 | libsystemd-daemon.la | |
1003 | ||
1004 | systemd_ask_password_SOURCES = \ | |
1005 | src/ask-password.c \ | |
1006 | src/ask-password-api.c | |
1007 | ||
1008 | systemd_ask_password_LDADD = \ | |
1009 | libsystemd-basic.la | |
1010 | ||
1011 | systemd_reply_password_SOURCES = \ | |
1012 | src/reply-password.c | |
1013 | ||
1014 | systemd_reply_password_LDADD = \ | |
1015 | libsystemd-basic.la | |
1016 | ||
1017 | systemd_readahead_collect_SOURCES = \ | |
1018 | src/readahead-collect.c \ | |
1019 | src/readahead-common.c | |
1020 | ||
1021 | systemd_readahead_collect_CFLAGS = \ | |
1022 | $(UDEV_CFLAGS) | |
1023 | ||
1024 | systemd_readahead_collect_LDADD = \ | |
1025 | libsystemd-basic.la \ | |
1026 | libsystemd-daemon.la \ | |
1027 | $(UDEV_LIBS) | |
1028 | ||
1029 | systemd_readahead_replay_SOURCES = \ | |
1030 | src/readahead-replay.c \ | |
1031 | src/readahead-common.c | |
1032 | ||
1033 | systemd_readahead_replay_CFLAGS = \ | |
1034 | $(UDEV_CFLAGS) | |
1035 | ||
1036 | systemd_readahead_replay_LDADD = \ | |
1037 | libsystemd-basic.la \ | |
1038 | libsystemd-daemon.la \ | |
1039 | $(UDEV_LIBS) | |
1040 | ||
1041 | systemd_cgls_SOURCES = \ | |
1042 | src/cgls.c \ | |
1043 | src/cgroup-show.c \ | |
1044 | src/cgroup-util.c | |
1045 | ||
1046 | systemd_cgls_CFLAGS = \ | |
1047 | $(AM_CFLAGS) | |
1048 | ||
1049 | systemd_cgls_LDADD = \ | |
1050 | libsystemd-basic.la | |
1051 | ||
1052 | systemd_nspawn_SOURCES = \ | |
1053 | src/nspawn.c \ | |
1054 | src/cgroup-util.c | |
1055 | ||
1056 | systemd_nspawn_CFLAGS = \ | |
1057 | $(AM_CFLAGS) | |
1058 | ||
1059 | systemd_nspawn_LDADD = \ | |
1060 | libsystemd-basic.la \ | |
1061 | libsystemd-daemon.la | |
1062 | ||
1063 | systemd_stdio_bridge_SOURCES = \ | |
1064 | src/bridge.c | |
1065 | ||
1066 | systemd_stdio_bridge_LDADD = \ | |
1067 | libsystemd-basic.la | |
1068 | ||
1069 | systemadm_SOURCES = \ | |
1070 | src/systemadm.vala \ | |
1071 | src/systemd-interfaces.vala | |
1072 | ||
1073 | systemadm_CFLAGS = \ | |
1074 | $(AM_CFLAGS) \ | |
1075 | $(GTK_CFLAGS) \ | |
1076 | -Wno-unused-variable \ | |
1077 | -Wno-unused-function \ | |
1078 | -Wno-shadow \ | |
1079 | -Wno-format-nonliteral | |
1080 | ||
1081 | systemadm_VALAFLAGS = \ | |
1082 | --pkg=posix \ | |
1083 | --pkg=gtk+-2.0 \ | |
1084 | -g | |
1085 | ||
1086 | systemadm_LDADD = \ | |
1087 | $(GTK_LIBS) | |
1088 | ||
1089 | systemd_gnome_ask_password_agent_SOURCES = \ | |
1090 | src/gnome-ask-password-agent.vala | |
1091 | ||
1092 | systemd_gnome_ask_password_agent_CFLAGS = \ | |
1093 | $(AM_CFLAGS) \ | |
1094 | $(LIBNOTIFY_CFLAGS) \ | |
1095 | $(GTK_CFLAGS) \ | |
1096 | -Wno-unused-variable \ | |
1097 | -Wno-unused-function \ | |
1098 | -Wno-shadow \ | |
1099 | -Wno-format-nonliteral | |
1100 | ||
1101 | systemd_gnome_ask_password_agent_VALAFLAGS = \ | |
1102 | --pkg=posix \ | |
1103 | --pkg=gtk+-2.0 \ | |
1104 | --pkg=linux \ | |
1105 | --pkg=gio-unix-2.0 \ | |
1106 | --pkg=libnotify | |
1107 | if LIBNOTIFY07 | |
1108 | systemd_gnome_ask_password_agent_VALAFLAGS += \ | |
1109 | -D LIBNOTIFY07 | |
1110 | endif | |
1111 | systemd_gnome_ask_password_agent_VALAFLAGS += \ | |
1112 | -g | |
1113 | ||
1114 | systemd_gnome_ask_password_agent_LDADD = \ | |
1115 | $(LIBNOTIFY_LIBS) \ | |
1116 | $(GTK_LIBS) | |
1117 | ||
1118 | systemd_tty_ask_password_agent_SOURCES = \ | |
1119 | src/tty-ask-password-agent.c \ | |
1120 | src/ask-password-api.c \ | |
1121 | src/utmp-wtmp.c | |
1122 | ||
1123 | systemd_tty_ask_password_agent_LDADD = \ | |
1124 | libsystemd-basic.la | |
1125 | ||
1126 | pam_systemd_la_SOURCES = \ | |
1127 | src/pam-module.c \ | |
1128 | src/cgroup-util.c | |
1129 | ||
1130 | pam_systemd_la_CFLAGS = \ | |
1131 | $(AM_CFLAGS) | |
1132 | -fvisibility=hidden | |
1133 | ||
1134 | pam_systemd_la_LDFLAGS = \ | |
1135 | -module \ | |
1136 | -export-dynamic \ | |
1137 | -avoid-version \ | |
1138 | -shared \ | |
1139 | -export-symbols-regex '^pam_sm_.*' | |
1140 | ||
1141 | pam_systemd_la_LIBADD = \ | |
1142 | libsystemd-basic.la \ | |
1143 | libsystemd-daemon.la \ | |
1144 | $(PAM_LIBS) | |
1145 | ||
1146 | SED_PROCESS = \ | |
1147 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ | |
1148 | $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \ | |
1149 | -e 's,@rootbindir\@,$(rootbindir),g' \ | |
1150 | -e 's,@bindir\@,$(bindir),g' \ | |
1151 | -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \ | |
1152 | -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \ | |
1153 | -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \ | |
1154 | -e 's,@pkgdatadir\@,$(pkgdatadir),g' \ | |
1155 | -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \ | |
1156 | -e 's,@systemunitdir\@,$(systemunitdir),g' \ | |
1157 | -e 's,@userunitdir\@,$(userunitdir),g' \ | |
1158 | -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ | |
1159 | -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \ | |
1160 | -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \ | |
1161 | -e 's,@prefix\@,$(prefix),g' \ | |
1162 | < $< > $@ || rm $@ | |
1163 | ||
1164 | units/%: units/%.in Makefile | |
1165 | $(SED_PROCESS) | |
1166 | ||
1167 | man/%: man/%.in Makefile | |
1168 | $(SED_PROCESS) | |
1169 | ||
1170 | %.pc: %.pc.in Makefile | |
1171 | $(SED_PROCESS) | |
1172 | ||
1173 | src/%.policy: src/%.policy.in Makefile | |
1174 | $(SED_PROCESS) | |
1175 | ||
1176 | M4_PROCESS_SYSTEM = \ | |
1177 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ | |
1178 | $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@ | |
1179 | ||
1180 | M4_PROCESS_USER = \ | |
1181 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ | |
1182 | $(M4) -P $(M4_DISTRO_FLAG) -DFOR_USER=1 < $< > $@ || rm $@ | |
1183 | ||
1184 | units/%: units/%.m4 Makefile | |
1185 | $(M4_PROCESS_SYSTEM) | |
1186 | ||
1187 | units/user/%: units/%.m4 Makefile | |
1188 | $(M4_PROCESS_USER) | |
1189 | ||
1190 | CLEANFILES = \ | |
1191 | $(nodist_systemunit_DATA) \ | |
1192 | $(nodist_userunit_DATA) \ | |
1193 | $(nodist_man_MANS) \ | |
1194 | ${XML_IN_FILES:.xml.in=.html} \ | |
1195 | $(pkgconfigdata_DATA) \ | |
1196 | src/org.freedesktop.systemd1.policy | |
1197 | ||
1198 | if HAVE_VALAC | |
1199 | CLEANFILES += \ | |
1200 | ${systemadm_SOURCES:.vala=.c} | |
1201 | endif | |
1202 | ||
1203 | if HAVE_XSLTPROC | |
1204 | XSLTPROC_FLAGS = \ | |
1205 | --nonet \ | |
1206 | --param funcsynopsis.style "'ansi'" | |
1207 | ||
1208 | XSLTPROC_PROCESS_MAN = \ | |
1209 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ | |
1210 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< | |
1211 | ||
1212 | XSLTPROC_PROCESS_MAN_IN = \ | |
1213 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ | |
1214 | $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \ | |
1215 | mv ${@:.in=} $@ | |
1216 | ||
1217 | XSLTPROC_PROCESS_HTML = \ | |
1218 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ | |
1219 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< | |
1220 | ||
1221 | XSLTPROC_PROCESS_HTML_IN = \ | |
1222 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ | |
1223 | $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \ | |
1224 | mv ${@:.in=} $@ | |
1225 | ||
1226 | man/%.1: man/%.xml | |
1227 | $(XSLTPROC_PROCESS_MAN) | |
1228 | ||
1229 | man/%.1.in: man/%.xml.in | |
1230 | $(XSLTPROC_PROCESS_MAN) | |
1231 | ||
1232 | man/%.3: man/%.xml | |
1233 | $(XSLTPROC_PROCESS_MAN) | |
1234 | ||
1235 | man/%.3.in: man/%.xml.in | |
1236 | $(XSLTPROC_PROCESS_MAN) | |
1237 | ||
1238 | man/%.5: man/%.xml | |
1239 | $(XSLTPROC_PROCESS_MAN) | |
1240 | ||
1241 | man/%.5.in: man/%.xml.in | |
1242 | $(XSLTPROC_PROCESS_MAN) | |
1243 | ||
1244 | man/%.7: man/%.xml | |
1245 | $(XSLTPROC_PROCESS_MAN) | |
1246 | ||
1247 | man/%.7.in: man/%.xml.in | |
1248 | $(XSLTPROC_PROCESS_MAN_IN) | |
1249 | ||
1250 | man/%.8: man/%.xml | |
1251 | $(XSLTPROC_PROCESS_MAN) | |
1252 | ||
1253 | man/%.8.in: man/%.xml.in | |
1254 | $(XSLTPROC_PROCESS_MAN_IN) | |
1255 | ||
1256 | man/%.html: man/%.xml | |
1257 | $(XSLTPROC_PROCESS_HTML) | |
1258 | ||
1259 | man/%.html.in: man/%.xml.in | |
1260 | $(XSLTPROC_PROCESS_HTML_IN) | |
1261 | ||
1262 | CLEANFILES += \ | |
1263 | $(dist_man_MANS) \ | |
1264 | ${nodist_man_MANS:=.in} \ | |
1265 | ${XML_FILES:.xml=.html} \ | |
1266 | ${XML_IN_FILES:.xml.in=.html.in} | |
1267 | endif | |
1268 | ||
1269 | DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h | |
1270 | ||
1271 | org.freedesktop.systemd1.%.xml: systemd | |
1272 | $(AM_V_GEN)$(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \ | |
1273 | $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \ | |
1274 | $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp | |
1275 | ||
1276 | CLEANFILES += \ | |
1277 | $(dbusinterface_DATA) | |
1278 | ||
1279 | install-data-hook: | |
1280 | $(MKDIR_P) -m 0755 \ | |
1281 | $(DESTDIR)$(tmpfilesdir) \ | |
1282 | $(DESTDIR)$(sysconfdir)/modules-load.d \ | |
1283 | $(DESTDIR)$(sysconfdir)/sysctl.d \ | |
1284 | $(DESTDIR)$(sysconfdir)/binfmt.d \ | |
1285 | $(DESTDIR)$(systemshutdowndir) \ | |
1286 | $(DESTDIR)$(systemgeneratordir) \ | |
1287 | $(DESTDIR)$(usergeneratordir) | |
1288 | $(MKDIR_P) -m 0755 \ | |
1289 | $(DESTDIR)$(systemunitdir) \ | |
1290 | $(DESTDIR)$(userunitdir) \ | |
1291 | $(DESTDIR)$(systemunitdir)/sysinit.target.wants \ | |
1292 | $(DESTDIR)$(systemunitdir)/sockets.target.wants \ | |
1293 | $(DESTDIR)$(systemunitdir)/basic.target.wants \ | |
1294 | $(DESTDIR)$(systemunitdir)/shutdown.target.wants \ | |
1295 | $(DESTDIR)$(systemunitdir)/local-fs.target.wants \ | |
1296 | $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \ | |
1297 | $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \ | |
1298 | $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \ | |
1299 | $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \ | |
1300 | $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \ | |
1301 | $(DESTDIR)$(systemunitdir)/multi-user.target.wants \ | |
1302 | $(DESTDIR)$(systemunitdir)/graphical.target.wants \ | |
1303 | $(DESTDIR)$(pkgsysconfdir)/system \ | |
1304 | $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \ | |
1305 | $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \ | |
1306 | $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \ | |
1307 | $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \ | |
1308 | $(DESTDIR)$(pkgsysconfdir)/user \ | |
1309 | $(DESTDIR)$(sysconfdir)/xdg/systemd | |
1310 | ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \ | |
1311 | rm -f user && \ | |
1312 | $(LN_S) $(pkgsysconfdir)/user user ) | |
1313 | ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \ | |
1314 | rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \ | |
1315 | $(LN_S) ../systemd-logger.socket systemd-logger.socket && \ | |
1316 | $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \ | |
1317 | $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \ | |
1318 | $(LN_S) ../syslog.socket syslog.socket ) | |
1319 | ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \ | |
1320 | rm -f systemd-update-utmp-runlevel.service && \ | |
1321 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) | |
1322 | ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \ | |
1323 | rm -f systemd-update-utmp-runlevel.service && \ | |
1324 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) | |
1325 | ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \ | |
1326 | rm -f systemd-update-utmp-runlevel.service && \ | |
1327 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) | |
1328 | ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \ | |
1329 | rm -f systemd-update-utmp-runlevel.service && \ | |
1330 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) | |
1331 | ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \ | |
1332 | rm -f systemd-update-utmp-runlevel.service && \ | |
1333 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) | |
1334 | ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \ | |
1335 | rm -f systemd-update-utmp-shutdown.service \ | |
1336 | hwclock-save.service \ | |
1337 | systemd-random-seed-save.service && \ | |
1338 | $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \ | |
1339 | $(LN_S) ../hwclock-save.service hwclock-save.service && \ | |
1340 | $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service ) | |
1341 | ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \ | |
1342 | rm -f systemd-remount-api-vfs.service \ | |
1343 | fsck-root.service \ | |
1344 | remount-rootfs.service \ | |
1345 | var-run.mount \ | |
1346 | media.mount && \ | |
1347 | $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \ | |
1348 | $(LN_S) ../fsck-root.service fsck-root.service && \ | |
1349 | $(LN_S) ../remount-rootfs.service remount-rootfs.service && \ | |
1350 | $(LN_S) ../var-run.mount var-run.mount && \ | |
1351 | $(LN_S) ../media.mount media.mount ) | |
1352 | ( cd $(DESTDIR)$(userunitdir) && \ | |
1353 | rm -f shutdown.target sockets.target local-fs.target swap.target bluetooth.target printer.target sound.target && \ | |
1354 | $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \ | |
1355 | $(LN_S) $(systemunitdir)/sockets.target sockets.target && \ | |
1356 | $(LN_S) $(systemunitdir)/local-fs.target local-fs.target && \ | |
1357 | $(LN_S) $(systemunitdir)/swap.target swap.target && \ | |
1358 | $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \ | |
1359 | $(LN_S) $(systemunitdir)/printer.target printer.target && \ | |
1360 | $(LN_S) $(systemunitdir)/sound.target sound.target ) | |
1361 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
1362 | rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \ | |
1363 | $(LN_S) poweroff.target runlevel0.target && \ | |
1364 | $(LN_S) rescue.target runlevel1.target && \ | |
1365 | $(LN_S) multi-user.target runlevel2.target && \ | |
1366 | $(LN_S) multi-user.target runlevel3.target && \ | |
1367 | $(LN_S) multi-user.target runlevel4.target && \ | |
1368 | $(LN_S) graphical.target runlevel5.target && \ | |
1369 | $(LN_S) reboot.target runlevel6.target ) | |
1370 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
1371 | rm -f default.target ctrl-alt-del.target dbus-org.freedesktop.hostname1.service && \ | |
1372 | $(LN_S) graphical.target default.target && \ | |
1373 | $(LN_S) reboot.target ctrl-alt-del.target && \ | |
1374 | $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service ) | |
1375 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ | |
1376 | rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path && \ | |
1377 | $(LN_S) ../getty.target getty.target && \ | |
1378 | $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \ | |
1379 | $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path ) | |
1380 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \ | |
1381 | rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \ | |
1382 | $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \ | |
1383 | $(LN_S) $(systemunitdir)/getty@.service getty@tty2.service && \ | |
1384 | $(LN_S) $(systemunitdir)/getty@.service getty@tty3.service && \ | |
1385 | $(LN_S) $(systemunitdir)/getty@.service getty@tty4.service && \ | |
1386 | $(LN_S) $(systemunitdir)/getty@.service getty@tty5.service && \ | |
1387 | $(LN_S) $(systemunitdir)/getty@.service getty@tty6.service ) | |
1388 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ | |
1389 | rm -f remote-fs.target && \ | |
1390 | $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target ) | |
1391 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \ | |
1392 | rm -f hwclock-load.service && \ | |
1393 | $(LN_S) $(systemunitdir)/hwclock-load.service hwclock-load.service ) | |
1394 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ | |
1395 | rm -f dev-hugepages.automount \ | |
1396 | dev-mqueue.automount \ | |
1397 | proc-sys-fs-binfmt_misc.automount \ | |
1398 | sys-kernel-debug.automount \ | |
1399 | sys-kernel-security.automount \ | |
1400 | systemd-vconsole-setup.service \ | |
1401 | systemd-modules-load.service \ | |
1402 | systemd-random-seed-load.service \ | |
1403 | systemd-tmpfiles-setup.service \ | |
1404 | systemd-sysctl.service \ | |
1405 | systemd-binfmt.service \ | |
1406 | systemd-ask-password-console.path \ | |
1407 | systemd-kmsg-syslogd.service \ | |
1408 | cryptsetup.target && \ | |
1409 | $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \ | |
1410 | $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \ | |
1411 | $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount && \ | |
1412 | $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \ | |
1413 | $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \ | |
1414 | $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \ | |
1415 | $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \ | |
1416 | $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \ | |
1417 | $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \ | |
1418 | $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \ | |
1419 | $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \ | |
1420 | $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \ | |
1421 | $(LN_S) ../systemd-kmsg-syslogd.service && \ | |
1422 | $(LN_S) ../cryptsetup.target cryptsetup.target ) | |
1423 | ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \ | |
1424 | rm -f systemd-tmpfiles-clean.timer && \ | |
1425 | $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer ) | |
1426 | ( cd $(DESTDIR)$(dbussessionservicedir) && \ | |
1427 | rm -f org.freedesktop.systemd1.service && \ | |
1428 | $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service ) | |
1429 | if HAVE_PLYMOUTH | |
1430 | $(MKDIR_P) -m 0755 \ | |
1431 | $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \ | |
1432 | $(DESTDIR)$(systemunitdir)/reboot.target.wants \ | |
1433 | $(DESTDIR)$(systemunitdir)/kexec.target.wants \ | |
1434 | $(DESTDIR)$(systemunitdir)/poweroff.target.wants \ | |
1435 | $(DESTDIR)$(systemunitdir)/halt.target.wants | |
1436 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ | |
1437 | rm -f plymouth-start.service plymouth-read-write.service && \ | |
1438 | $(LN_S) ../plymouth-start.service plymouth-start.service && \ | |
1439 | $(LN_S) ../plymouth-read-write.service plymouth-read-write.service ) | |
1440 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ | |
1441 | rm -f plymouth-quit.service plymouth-quit-wait.service && \ | |
1442 | $(LN_S) ../plymouth-quit.service plymouth-quit.service && \ | |
1443 | $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service ) | |
1444 | ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \ | |
1445 | rm -f plymouth-reboot.service && \ | |
1446 | $(LN_S) ../plymouth-reboot.service plymouth-reboot.service ) | |
1447 | ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \ | |
1448 | rm -f plymouth-kexec.service && \ | |
1449 | $(LN_S) ../plymouth-kexec.service plymouth-kexec.service ) | |
1450 | ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \ | |
1451 | rm -f plymouth-poweroff.service && \ | |
1452 | $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service ) | |
1453 | ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \ | |
1454 | rm -f plymouth-halt.service && \ | |
1455 | $(LN_S) ../plymouth-halt.service plymouth-halt.service ) | |
1456 | endif | |
1457 | ||
1458 | if TARGET_FEDORA | |
1459 | $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants | |
1460 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ | |
1461 | rm -f rc-local.service && \ | |
1462 | $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) | |
1463 | ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ | |
1464 | rm -f halt-local.service && \ | |
1465 | $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) | |
1466 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
1467 | rm -f display-manager.service single.service && \ | |
1468 | $(LN_S) prefdm.service display-manager.service && \ | |
1469 | $(LN_S) rescue.service single.service ) | |
1470 | ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \ | |
1471 | rm -f display-manager.service && \ | |
1472 | $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) | |
1473 | endif | |
1474 | ||
1475 | if TARGET_MANDRIVA | |
1476 | $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants | |
1477 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ | |
1478 | rm -f rc-local.service && \ | |
1479 | $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) | |
1480 | ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ | |
1481 | rm -f halt-local.service && \ | |
1482 | $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) | |
1483 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
1484 | rm -f display-manager.service dm.service single.service && \ | |
1485 | $(LN_S) prefdm.service display-manager.service && \ | |
1486 | $(LN_S) prefdm.service dm.service && \ | |
1487 | $(LN_S) rescue.service single.service ) | |
1488 | ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \ | |
1489 | rm -f display-manager.service && \ | |
1490 | $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) | |
1491 | endif | |
1492 | ||
1493 | if TARGET_DEBIAN_OR_UBUNTU | |
1494 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
1495 | rm -f runlevel5.target && \ | |
1496 | $(LN_S) multi-user.target runlevel5.target ) | |
1497 | endif | |
1498 | ||
1499 | if HAVE_SYSV_COMPAT | |
1500 | ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \ | |
1501 | rm -f var-lock.mount && \ | |
1502 | $(LN_S) ../var-lock.mount var-lock.mount ) | |
1503 | endif | |
1504 | ||
1505 | DISTCHECK_CONFIGURE_FLAGS = \ | |
1506 | --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \ | |
1507 | --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \ | |
1508 | --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \ | |
1509 | --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \ | |
1510 | --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \ | |
1511 | --with-pamlibdir=$$dc_install_base/$(pamlibdir) \ | |
1512 | --with-rootdir=$$dc_install_base/$(rootdir) | |
1513 | ||
1514 | upload: all distcheck | |
1515 | cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/ | |
1516 | scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/ | |
1517 | scp man/*.html tango:public/systemd-man/ | |
1518 | ||
1519 | git-tag: | |
1520 | git tag "v$(VERSION)" -m "systemd $(VERSION)" |