Makefile.am 96.7 KB
Newer Older
1 2
#  -*- Mode: makefile; indent-tabs-mode: t -*- */
#
3 4
#  This file is part of systemd.
#
Kay Sievers's avatar
Kay Sievers committed
5 6
#  Copyright 2010-2012 Lennart Poettering
#  Copyright 2010-2012 Kay Sievers
7 8
#
#  systemd is free software; you can redistribute it and/or modify it
9 10
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
11 12 13 14 15
#  (at your option) any later version.
#
#  systemd is distributed in the hope that it will be useful, but
#  WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
#  Lesser General Public License for more details.
17
#
18
#  You should have received a copy of the GNU Lesser General Public License
19 20
#  along with systemd; If not, see <http://www.gnu.org/licenses/>.

Kay Sievers's avatar
Kay Sievers committed
21 22
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AM_MAKEFLAGS = --no-print-directory
23

Kay Sievers's avatar
Kay Sievers committed
24 25
SUBDIRS = . po

26 27 28
# remove targets if the command fails
.DELETE_ON_ERROR:

29
LIBUDEV_CURRENT=1
30
LIBUDEV_REVISION=3
31
LIBUDEV_AGE=0
Kay Sievers's avatar
Kay Sievers committed
32 33

LIBGUDEV_CURRENT=1
34
LIBGUDEV_REVISION=2
Kay Sievers's avatar
Kay Sievers committed
35
LIBGUDEV_AGE=1
36

Lennart Poettering's avatar
Lennart Poettering committed
37
LIBSYSTEMD_LOGIN_CURRENT=3
Lennart Poettering's avatar
Lennart Poettering committed
38
LIBSYSTEMD_LOGIN_REVISION=1
Lennart Poettering's avatar
Lennart Poettering committed
39
LIBSYSTEMD_LOGIN_AGE=3
40

41
LIBSYSTEMD_DAEMON_CURRENT=0
Lennart Poettering's avatar
Lennart Poettering committed
42
LIBSYSTEMD_DAEMON_REVISION=3
43 44
LIBSYSTEMD_DAEMON_AGE=0

45
LIBSYSTEMD_ID128_CURRENT=0
Lennart Poettering's avatar
Lennart Poettering committed
46
LIBSYSTEMD_ID128_REVISION=7
47 48
LIBSYSTEMD_ID128_AGE=0

Lennart Poettering's avatar
Lennart Poettering committed
49
LIBSYSTEMD_JOURNAL_CURRENT=3
Lennart Poettering's avatar
Lennart Poettering committed
50
LIBSYSTEMD_JOURNAL_REVISION=0
Lennart Poettering's avatar
Lennart Poettering committed
51
LIBSYSTEMD_JOURNAL_AGE=3
52

53
# Dirs of external packages
54 55 56 57
dbuspolicydir=@dbuspolicydir@
dbussessionservicedir=@dbussessionservicedir@
dbussystemservicedir=@dbussystemservicedir@
dbusinterfacedir=@dbusinterfacedir@
58 59
pamlibdir=@pamlibdir@
pkgconfigdatadir=$(datadir)/pkgconfig
60
pkgconfiglibdir=$(libdir)/pkgconfig
61
polkitpolicydir=$(datadir)/polkit-1/actions
62
bashcompletiondir=$(sysconfdir)/bash_completion.d
63
rpmmacrosdir=$(sysconfdir)/rpm
64

65
# Our own, non-special dirs
66
pkgsysconfdir=$(sysconfdir)/systemd
67
userunitdir=$(prefix)/lib/systemd/user
68
tmpfilesdir=$(prefix)/lib/tmpfiles.d
69
sysctldir=$(prefix)/lib/sysctl.d
70
usergeneratordir=$(prefix)/lib/systemd/user-generators
71
pkgincludedir=$(includedir)/systemd
72 73
systemgeneratordir=$(rootlibexecdir)/system-generators
systemshutdowndir=$(rootlibexecdir)/system-shutdown
74
systemsleepdir=$(rootlibexecdir)/system-sleep
75
systemunitdir=$(rootprefix)/lib/systemd/system
Kay Sievers's avatar
Kay Sievers committed
76
udevlibexecdir=$(rootprefix)/lib/udev
77 78
udevhomedir = $(udevlibexecdir)
udevrulesdir = $(udevlibexecdir)/rules.d
79 80

# And these are the special ones for /
81 82 83
rootprefix=@rootprefix@
rootbindir=$(rootprefix)/bin
rootlibexecdir=$(rootprefix)/lib/systemd
84

85
CLEANFILES = $(BUILT_SOURCES)
86
EXTRA_DIST =
Kay Sievers's avatar
Kay Sievers committed
87
BUILT_SOURCES =
88 89 90
INSTALL_EXEC_HOOKS =
UNINSTALL_EXEC_HOOKS =
INSTALL_DATA_HOOKS =
Kay Sievers's avatar
Kay Sievers committed
91
DISTCLEAN_LOCAL_HOOKS =
92
pkginclude_HEADERS =
93
noinst_LTLIBRARIES =
94
lib_LTLIBRARIES =
Kay Sievers's avatar
Kay Sievers committed
95
include_HEADERS =
96
pkgconfiglib_DATA =
97
polkitpolicy_in_files =
98
polkitpolicy_files =
99
dist_udevrules_DATA =
Kay Sievers's avatar
Kay Sievers committed
100 101
nodist_udevrules_DATA =
dist_man_MANS =
102
dist_pkgsysconf_DATA =
103
dist_pkgdata_DATA =
104 105 106
dist_dbuspolicy_DATA =
dbusinterface_DATA =
dist_dbussystemservice_DATA =
107
check_PROGRAMS =
108 109
check_DATA =
noinst_PROGRAMS =
110
TESTS =
111
udevlibexec_PROGRAMS =
112

113
AM_CPPFLAGS = \
114
	-include $(top_builddir)/config.h \
Kay Sievers's avatar
Kay Sievers committed
115
	-DSYSCONFDIR=\""$(sysconfdir)"\" \
116
	-DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \
117
	-DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
118
	-DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
119
	-DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
120
	-DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
121 122 123
	-DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \
	-DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
	-DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
124
	-DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
125
	-DSYSTEMD_BINARY_PATH=\"$(rootlibexecdir)/systemd\" \
126
	-DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
127
	-DSYSTEMD_SLEEP_BINARY_PATH=\"$(rootlibexecdir)/systemd-sleep\" \
128
	-DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
129
	-DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
130
	-DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
131
	-DROOTPREFIX=\"$(rootprefix)\" \
132
	-DRUNTIME_DIR=\"/run\" \
133
	-DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
134
	-DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
135
	-DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
136
	-DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
137
	-DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
138
	-DSYSTEM_SLEEP_PATH=\"$(systemsleepdir)\" \
139
	-DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
Kay Sievers's avatar
Kay Sievers committed
140
	-DX_SERVER=\"$(bindir)/X\" \
141
	-DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \
142
	-DPOLKIT_AGENT_BINARY_PATH=\"$(bindir)/pkttyagent\" \
143
	-I $(top_srcdir)/src \
144
	-I $(top_srcdir)/src/shared \
145
	-I $(top_srcdir)/src/login \
146
	-I $(top_srcdir)/src/journal \
Kay Sievers's avatar
Kay Sievers committed
147
	-I $(top_srcdir)/src/systemd \
148
	-I $(top_builddir)/src/core \
149
	-I $(top_srcdir)/src/core \
150 151
	-I $(top_srcdir)/src/libudev \
	-I $(top_srcdir)/src/udev
152

153
AM_CFLAGS = $(WARNINGFLAGS)
154
AM_LDFLAGS = $(GCLDFLAGS)
155

156
# ------------------------------------------------------------------------------
157 158 159 160 161 162
if TARGET_GENTOO
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
	-DKBD_SETFONT=\"/usr/bin/setfont\" \
	-DDEFAULT_FONT=\"LatArCyrHeb-16\"
else
163 164 165 166 167 168
if TARGET_ARCH
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
	-DKBD_SETFONT=\"/usr/bin/setfont\" \
	-DDEFAULT_FONT=\"LatArCyrHeb-16\"
else
169 170 171 172 173 174
if TARGET_FRUGALWARE
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
	-DKBD_SETFONT=\"/usr/bin/setfont\" \
	-DDEFAULT_FONT=\"LatArCyrHeb-16\"
else
175 176 177 178 179 180
if TARGET_MANDRIVA
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/bin/loadkeys\" \
	-DKBD_SETFONT=\"/bin/setfont\" \
	-DDEFAULT_FONT=\"LatArCyrHeb-16\"
else
Koen Kooi's avatar
Koen Kooi committed
181 182 183 184 185 186
if TARGET_ANGSTROM
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
	-DKBD_SETFONT=\"/usr/bin/setfont\" \
	-DDEFAULT_FONT=\"LatArCyrHeb-16\"
else
187
if TARGET_MAGEIA
188 189 190
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/bin/loadkeys\" \
	-DKBD_SETFONT=\"/bin/setfont\" \
191
	-DDEFAULT_FONT=\"LatArCyrHeb-16\"
Dexter Morgan's avatar
Dexter Morgan committed
192 193 194 195
else
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/bin/loadkeys\" \
	-DKBD_SETFONT=\"/bin/setfont\" \
196
	-DDEFAULT_FONT=\"latarcyrheb-sun16\"
Dexter Morgan's avatar
Dexter Morgan committed
197
endif
198
endif
199
endif
200
endif
201
endif
Chris E Ferron's avatar
Chris E Ferron committed
202
endif
203

204
# ------------------------------------------------------------------------------
205
rootbin_PROGRAMS = \
206
	systemctl \
207
	systemd-notify \
208
	systemd-ask-password \
209
	systemd-tty-ask-password-agent \
210
	systemd-tmpfiles \
Kay Sievers's avatar
Kay Sievers committed
211
	systemd-machine-id-setup
212

213
bin_PROGRAMS = \
214
	systemd-cgls \
Lennart Poettering's avatar
Lennart Poettering committed
215
	systemd-cgtop \
216
	systemd-stdio-bridge \
217
	systemd-nspawn \
218 219
	systemd-detect-virt \
	systemd-delta
220

221
dist_bin_SCRIPTS = \
222
	src/analyze/systemd-analyze
223

224
rootlibexec_PROGRAMS = \
225
	systemd \
226
	systemd-cgroups-agent \
227
	systemd-initctl \
228
	systemd-update-utmp \
229
	systemd-shutdownd \
230
	systemd-shutdown \
231
	systemd-modules-load \
232
	systemd-remount-fs \
233
	systemd-reply-password \
234
	systemd-fsck \
235
	systemd-timestamp \
236
	systemd-ac-power \
237 238
	systemd-sysctl \
	systemd-sleep
239

240
systemgenerator_PROGRAMS = \
241
	systemd-getty-generator \
242 243
	systemd-fstab-generator \
	systemd-system-update-generator
244

245
dist_bashcompletion_DATA = \
246
	bash-completion/systemd-bash-completion.sh
247

248 249
dist_tmpfiles_DATA = \
	tmpfiles.d/systemd.conf \
250
	tmpfiles.d/tmp.conf \
251 252
	tmpfiles.d/x11.conf

253 254
if HAVE_SYSV_COMPAT
dist_tmpfiles_DATA += \
255
	tmpfiles.d/legacy.conf
256 257
endif

258
dist_systemunit_DATA = \
259 260
	units/graphical.target \
	units/multi-user.target \
261
	units/emergency.service \
262
	units/emergency.target \
263
	units/sysinit.target \
264
	units/basic.target \
265 266
	units/getty.target \
	units/halt.target \
267
	units/kexec.target \
268
	units/local-fs.target \
269
	units/local-fs-pre.target \
Lennart Poettering's avatar
Lennart Poettering committed
270
	units/remote-fs.target \
271
	units/remote-fs-pre.target \
272 273
	units/network.target \
	units/nss-lookup.target \
274
	units/nss-user-lookup.target \
275
	units/mail-transfer-agent.target \
276
	units/hibernate.target \
277
	units/http-daemon.target \
278 279 280
	units/poweroff.target \
	units/reboot.target \
	units/rescue.target \
281
	units/rpcbind.target \
282
	units/time-sync.target \
283
	units/shutdown.target \
284
	units/final.target \
285
	units/umount.target \
286
	units/sigpwr.target \
287
	units/sleep.target \
288
	units/sockets.target \
289
	units/suspend.target \
290
	units/swap.target \
291
	units/systemd-initctl.socket \
292
	units/systemd-shutdownd.socket \
293
	units/syslog.socket \
294 295
	units/dev-hugepages.mount \
	units/dev-mqueue.mount \
296
	units/sys-kernel-config.mount \
297
	units/sys-kernel-debug.mount \
298
	units/sys-fs-fuse-connections.mount \
Kay Sievers's avatar
Kay Sievers committed
299
	units/tmp.mount \
300
	units/printer.target \
301
	units/sound.target \
302
	units/bluetooth.target \
Kay Sievers's avatar
Kay Sievers committed
303
	units/smartcard.target \
304
	units/systemd-tmpfiles-clean.timer \
305
	units/quotaon.service \
306
	units/systemd-ask-password-wall.path \
307
	units/systemd-ask-password-console.path \
Kay Sievers's avatar
Kay Sievers committed
308
	units/syslog.target \
309 310
	units/systemd-udevd-control.socket \
	units/systemd-udevd-kernel.socket \
311
	units/system-update.target
312

313
nodist_systemunit_DATA = \
314
	units/getty@.service \
315
	units/serial-getty@.service \
316
	units/console-shell.service \
317
	units/console-getty.service \
318
	units/systemd-initctl.service \
319
	units/systemd-shutdownd.service \
320
	units/systemd-modules-load.service \
321
	units/systemd-remount-fs.service \
322 323
	units/systemd-update-utmp-runlevel.service \
	units/systemd-update-utmp-shutdown.service \
324 325
	units/systemd-tmpfiles-setup.service \
	units/systemd-tmpfiles-clean.service \
326
	units/systemd-ask-password-wall.service \
327
	units/systemd-ask-password-console.service \
328
	units/systemd-sysctl.service \
329
	units/emergency.service \
330
	units/rescue.service \
Kay Sievers's avatar
Kay Sievers committed
331
	units/user@.service \
332 333 334 335 336 337 338 339
	units/systemd-hibernate.service \
	units/systemd-suspend.service \
	units/systemd-halt.service \
	units/systemd-poweroff.service \
	units/systemd-reboot.service \
	units/systemd-kexec.service \
	units/systemd-fsck@.service \
	units/systemd-fsck-root.service \
340
	units/systemd-udevd.service \
341
	units/systemd-udev-trigger.service \
342
	units/systemd-udev-settle.service \
343
	units/debug-shell.service
344

345 346 347
dist_userunit_DATA = \
	units/user/default.target \
	units/user/exit.target
348

349
nodist_userunit_DATA = \
350
	units/user/systemd-exit.service
351

352
EXTRA_DIST += \
353
	units/getty@.service.m4 \
354
	units/serial-getty@.service.m4 \
355
	units/console-shell.service.m4.in \
356
	units/console-getty.service.m4.in \
357
	units/rescue.service.m4.in \
358
	units/systemd-initctl.service.in \
359
	units/systemd-shutdownd.service.in \
360
	units/systemd-modules-load.service.in \
361
	units/systemd-remount-fs.service.in \
362 363
	units/systemd-update-utmp-runlevel.service.in \
	units/systemd-update-utmp-shutdown.service.in \
364 365
	units/systemd-tmpfiles-setup.service.in \
	units/systemd-tmpfiles-clean.service.in \
366
	units/systemd-ask-password-wall.service.in \
367
	units/systemd-ask-password-console.service.in \
368
	units/systemd-sysctl.service.in \
369
	units/emergency.service.in \
370 371 372 373 374
	units/systemd-halt.service.in \
	units/systemd-poweroff.service.in \
	units/systemd-reboot.service.in \
	units/systemd-kexec.service.in \
	units/user/systemd-exit.service.in \
375 376
	units/systemd-fsck@.service.in \
	units/systemd-fsck-root.service.in \
Kay Sievers's avatar
Kay Sievers committed
377
	units/user@.service.in \
378
	units/systemd-udevd.service \
379 380
	units/systemd-udev-trigger.service \
	units/systemd-udev-settle.service \
381
	units/debug-shell.service.in \
382 383
	units/systemd-hibernate.service.in \
	units/systemd-suspend.service.in \
384
	introspect.awk \
385
	man/custom-html.xsl
386

387 388 389 390
if TARGET_FEDORA
dist_systemunit_DATA += \
	units/fedora/prefdm.service \
	units/fedora/rc-local.service \
391
	units/fedora/halt-local.service
392 393
systemgenerator_PROGRAMS += \
	systemd-rc-local-generator
394 395
endif

396 397 398 399 400
if TARGET_MANDRIVA
dist_systemunit_DATA += \
	units/mandriva/prefdm.service \
	units/fedora/rc-local.service \
	units/fedora/halt-local.service
401 402
systemgenerator_PROGRAMS += \
	systemd-rc-local-generator
403 404
endif

405 406 407 408 409
if TARGET_FRUGALWARE
dist_systemunit_DATA += \
	units/frugalware/display-manager.service
endif

410 411 412 413
if TARGET_SUSE
dist_systemunit_DATA += \
	units/suse/rc-local.service \
	units/suse/halt-local.service
414 415
systemgenerator_PROGRAMS += \
	systemd-rc-local-generator
416 417
endif

Dexter Morgan's avatar
Dexter Morgan committed
418 419 420 421 422
if TARGET_MAGEIA
dist_systemunit_DATA += \
	units/mageia/prefdm.service \
	units/fedora/rc-local.service \
	units/fedora/halt-local.service
423 424
systemgenerator_PROGRAMS += \
	systemd-rc-local-generator
Dexter Morgan's avatar
Dexter Morgan committed
425 426
endif

427 428
dist_doc_DATA = \
	README \
Kay Sievers's avatar
Kay Sievers committed
429
	NEWS \
430
	LICENSE.LGPL2.1 \
431 432
	LICENSE.GPL2 \
	LICENSE.MIT \
433
	DISTRO_PORTING
434

435
@INTLTOOL_POLICY_RULE@
436

437 438 439 440 441
# ------------------------------------------------------------------------------
MANPAGES = \
	man/systemd.1 \
	man/systemctl.1 \
	man/systemd-cgls.1 \
442
	man/systemd-delta.1 \
443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458
	man/systemd-cgtop.1 \
	man/systemd-nspawn.1 \
	man/systemd-tmpfiles.8 \
	man/systemd-notify.1 \
	man/systemd.unit.5 \
	man/systemd.service.5 \
	man/systemd.socket.5 \
	man/systemd.mount.5 \
	man/systemd.automount.5 \
	man/systemd.swap.5 \
	man/systemd.timer.5 \
	man/systemd.path.5 \
	man/systemd.target.5 \
	man/systemd.device.5 \
	man/systemd.snapshot.5 \
	man/systemd.exec.5 \
459
	man/systemd.kill.5 \
460 461
	man/systemd.special.7 \
	man/systemd.journal-fields.7 \
462
	man/kernel-command-line.7 \
463
	man/daemon.7 \
Lennart Poettering's avatar
Lennart Poettering committed
464
	man/bootup.7 \
465 466 467 468 469 470 471 472 473 474 475 476 477 478
	man/runlevel.8 \
	man/telinit.8 \
	man/halt.8 \
	man/shutdown.8 \
	man/pam_systemd.8 \
	man/systemd.conf.5 \
	man/tmpfiles.d.5 \
	man/hostname.5 \
	man/timezone.5 \
	man/machine-id.5 \
	man/locale.conf.5 \
	man/os-release.5 \
	man/machine-info.5 \
	man/modules-load.d.5 \
479
	man/systemd-modules-load.service.8 \
480
	man/sysctl.d.5 \
481
	man/systemd-sysctl.service.8 \
482 483 484
	man/systemd-ask-password.1 \
	man/systemd-cat.1 \
	man/systemd-machine-id-setup.1 \
485
	man/systemd-detect-virt.1 \
486
	man/journald.conf.5 \
487
	man/systemd-journald.service.8 \
488
	man/journalctl.1 \
489
	man/systemd-inhibit.1 \
490
	man/systemd-remount-fs.service.8 \
491
	man/systemd-update-utmp-runlevel.service.8 \
492
	man/systemd-initctl.service.8 \
493
	man/systemd-shutdownd.service.8 \
494
	man/systemd-suspend.service.8 \
495
	man/systemd-halt.service.8 \
496
	man/systemd-fsck@.service.8 \
497
	man/systemd-ask-password-console.service.8 \
498
	man/systemd-analyze.1 \
499
	man/systemd-tty-ask-password-agent.1 \
500
	man/systemd-getty-generator.8 \
501
	man/systemd-system-update-generator.8 \
502
	man/systemd-fstab-generator.8 \
503
	man/systemd.preset.5 \
504
	man/sd-id128.3 \
505
	man/sd_id128_to_string.3 \
506
	man/sd_id128_randomize.3 \
507
	man/sd_id128_get_machine.3 \
508
	man/sd-journal.3 \
509
	man/sd_journal_print.3 \
510
	man/sd_journal_stream_fd.3 \
511
	man/sd_journal_open.3 \
512
	man/sd_journal_next.3 \
513
	man/sd_journal_get_data.3 \
514
	man/sd_journal_get_realtime_usec.3 \
515
	man/sd_journal_get_cutoff_realtime_usec.3 \
516
	man/sd_journal_get_cursor.3 \
517
	man/sd_journal_get_fd.3 \
518 519
	man/sd_journal_add_match.3 \
	man/sd_journal_seek_head.3
520 521 522 523

MANPAGES_ALIAS = \
	man/reboot.8 \
	man/poweroff.8 \
524 525
	man/init.1 \
	man/systemd-modules-load.8 \
526
	man/systemd-sysctl.8 \
527
	man/systemd-journald.socket.8 \
528
	man/systemd-journald.8 \
529 530
	man/systemd-remount-fs.8 \
	man/systemd-update-utmp-shutdown.service.8 \
531
	man/systemd-update-utmp.8 \
532
	man/systemd-initctl.socket.8 \
533
	man/systemd-initctl.8 \
534
	man/systemd-shutdownd.socket.8 \
535 536
	man/systemd-shutdownd.8 \
	man/systemd-hibernate.service.8 \
537 538 539 540
	man/systemd-sleep.8 \
	man/systemd-shutdown.8 \
	man/systemd-poweroff.service.8 \
	man/systemd-reboot.service.8 \
541
	man/systemd-kexec.service.8 \
542
	man/systemd-fsck.8 \
543 544 545
	man/systemd-fsck-root.service.8 \
	man/systemd-ask-password-console.path.8 \
	man/systemd-ask-password-wall.service.8 \
546 547 548
	man/systemd-ask-password-wall.path.8 \
	man/systemd-tmpfiles-setup.service.8 \
	man/systemd-tmpfiles-clean.service.8 \
549
	man/systemd-tmpfiles-clean.timer.8 \
550 551 552 553 554
	man/sd_id128_t.3 \
	man/SD_ID128_MAKE.3 \
	man/SD_ID128_FORMAT_STR.3 \
	man/SD_ID128_FORMAT_VAL.3 \
	man/sd_id128_equal.3 \
555
	man/sd_id128_from_string.3 \
556 557 558
	man/sd_id128_get_boot.3 \
	man/sd_journal_printv.3 \
	man/sd_journal_send.3 \
559
	man/sd_journal_sendv.3 \
560
	man/SD_JOURNAL_SUPPRESS_LOCATION.3 \
561
	man/sd_journal_open_directory.3 \
562
	man/sd_journal_close.3 \
563 564 565 566
	man/sd_journal.3 \
	man/SD_JOURNAL_RUNTIME_ONLY.3 \
	man/SD_JOURNAL_SYSTEM_ONLY.3 \
	man/SD_JOURNAL_LOCAL_ONLY.3 \
567 568
	man/sd_journal_previous.3 \
	man/sd_journal_next_skip.3 \
569 570 571 572 573
	man/sd_journal_previous_skip.3 \
	man/SD_JOURNAL_FOREACH.3 \
	man/SD_JOURNAL_FOREACH_BACKWARDS.3 \
	man/sd_journal_enumerate_data.3 \
	man/sd_journal_restart_data.3 \
574
	man/SD_JOURNAL_FOREACH_DATA.3 \
575
	man/sd_journal_get_monotonic_usec.3 \
576 577
	man/sd_journal_get_cutoff_monotonic_usec.3 \
	man/sd_journal_process.3 \
578
	man/sd_journal_wait.3 \
579 580 581
	man/SD_JOURNAL_NOP.3 \
	man/SD_JOURNAL_APPEND.3 \
	man/SD_JOURNAL_INVALIDATE.3 \
582
	man/sd_journal_add_disjunction.3 \
583 584 585 586 587
	man/sd_journal_flush_matches.3 \
	man/sd_journal_seek_tail.3 \
	man/sd_journal_seek_monotonic_usec.3 \
	man/sd_journal_seek_realtime_usec.3 \
	man/sd_journal_seek_cursor.3
588 589 590 591

man/reboot.8: man/halt.8
man/poweroff.8: man/halt.8
man/init.1: man/systemd.1
592 593
man/systemd-modules-load.8: man/systemd-modules-load.service.8
man/systemd-sysctl.8: man/systemd-sysctl.service.8
594
man/systemd-journald.socket.8: man/systemd-journald.service.8
595
man/systemd-journald.8: man/systemd-journald.service.8
596
man/systemd-remount-fs.8: man/systemd-remount-fs.service.8
597 598
man/systemd-update-utmp-shutdown.service.8: man/systemd-update-utmp-runlevel.service.8
man/systemd-update-utmp.8: man/systemd-update-utmp-runlevel.service.8
599
man/systemd-initctl.socket.8: man/systemd-initctl.service.8
600
man/systemd-initctl.8: man/systemd-initctl.service.8
601
man/systemd-shutdownd.socket.8: man/systemd-shutdownd.service.8
602
man/systemd-shutdownd.8: man/systemd-shutdownd.service.8
603 604
man/systemd-hibernate.service.8: man/systemd-suspend.service.8
man/systemd-sleep.8: man/systemd-suspend.service.8
605 606 607 608
man/systemd-shutdown.8: man/systemd-halt.service.8
man/systemd-poweroff.service.8: man/systemd-halt.service.8
man/systemd-reboot.service.8: man/systemd-halt.service.8
man/systemd-kexec.service.8: man/systemd-halt.service.8
609
man/systemd-fsck.8: man/systemd-fsck@.service.8
610
man/systemd-fsck-root.service.8: man/systemd-fsck@.service.8
611 612 613
man/systemd-ask-password-console.path.8: man/systemd-ask-password-console.service.8
man/systemd-ask-password-wall.service.8: man/systemd-ask-password-console.service.8
man/systemd-ask-password-wall.path.8: man/systemd-ask-password-console.service.8
614 615 616
man/systemd-tmpfiles-setup.service.8: man/systemd-tmpfiles.8
man/systemd-tmpfiles-clean.service.8: man/systemd-tmpfiles.8
man/systemd-tmpfiles-clean.timer.8: man/systemd-tmpfiles.8
617 618 619 620 621
man/sd_id128_t.3: man/sd-id128.3
man/SD_ID128_MAKE.3: man/sd-id128.3
man/SD_ID128_FORMAT_STR.3: man/sd-id128.3
man/SD_ID128_FORMAT_VAL.3: man/sd-id128.3
man/sd_id128_equal.3: man/sd-id128.3
622
man/sd_id128_from_string.3: man/sd_id128_to_string.3
623
man/sd_id128_get_boot.3: man/sd_id128_get_machine.3
624 625 626
man/sd_journal_printv.3: man/sd_journal_print.3
man/sd_journal_send.3: man/sd_journal_print.3
man/sd_journal_sendv.3: man/sd_journal_print.3
627
man/SD_JOURNAL_SUPPRESS_LOCATION.3: man/sd_journal_print.3
628 629
man/sd_journal_open_directory.3: man/sd_journal_open.3
man/sd_journal_close.3: man/sd_journal_open.3
630 631 632 633
man/sd_journal.3: man/sd_journal_open.3
man/SD_JOURNAL_RUNTIME_ONLY.3: man/sd_journal_open.3
man/SD_JOURNAL_SYSTEM_ONLY.3: man/sd_journal_open.3
man/SD_JOURNAL_LOCAL_ONLY.3: man/sd_journal_open.3
634 635 636
man/sd_journal_previous.3: man/sd_journal_next.3
man/sd_journal_next_skip.3: man/sd_journal_next.3
man/sd_journal_previous_skip.3: man/sd_journal_next.3
637 638 639 640 641
man/SD_JOURNAL_FOREACH.3: man/sd_journal_next.3
man/SD_JOURNAL_FOREACH_BACKWARDS.3: man/sd_journal_next.3
man/sd_journal_enumerate_data.3: man/sd_journal_get_data.3
man/sd_journal_restart_data.3: man/sd_journal_get_data.3
man/SD_JOURNAL_FOREACH_DATA.3: man/sd_journal_get_data.3
642
man/sd_journal_get_monotonic_usec.3: man/sd_journal_get_realtime_usec.3
643
man/sd_journal_get_cutoff_monotonic_usec.3: man/sd_journal_get_cutoff_realtime_usec.3
644 645
man/sd_journal_process.3: man/sd_journal_get_fd.3
man/sd_journal_wait.3: man/sd_journal_get_fd.3
646 647 648
man/SD_JOURNAL_NOP.3: man/sd_journal_get_fd.3
man/SD_JOURNAL_APPEND.3: man/sd_journal_get_fd.3
man/SD_JOURNAL_INVALIDATE.3: man/sd_journal_get_fd.3
649 650
man/sd_journal_add_disjunction.3: man/sd_journal_add_match.3
man/sd_journal_flush_matches.3: man/sd_journal_add_match.3
651 652 653 654
man/sd_journal_seek_tail.3: man/sd_journal_seek_head.3
man/sd_journal_seek_monotonic_usec.3: man/sd_journal_seek_head.3
man/sd_journal_seek_realtime_usec.3: man/sd_journal_seek_head.3
man/sd_journal_seek_cursor.3: man/sd_journal_seek_head.3
655 656 657 658 659 660 661 662 663 664 665

XML_FILES = \
	${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}

if ENABLE_MANPAGES
man_MANS = \
	$(MANPAGES) \
	$(MANPAGES_ALIAS)

noinst_DATA = \
	${XML_FILES:.xml=.html}
666 667 668

CLEANFILES += \
	$(MANPAGES) \
669 670 671 672 673 674 675 676 677 678
	$(MANPAGES_ALIAS) \
	${XML_FILES:.xml=.html}

if HAVE_PYTHON
noinst_DATA += \
	man/index.html

CLEANFILES += \
	man/index.html

679
man/index.html: make-man-index.py $(XML_FILES)
680 681
	$(AM_V_at)$(MKDIR_P) $(dir $@)
	$(AM_V_GEN)$(PYTHON) $^ > $@
682

683 684
EXTRA_DIST += \
	man/index.html
685 686
endif

687 688 689 690 691 692
endif

EXTRA_DIST += \
	$(XML_FILES) \
	${XML_FILES:.xml=.html} \
	$(MANPAGES) \
693 694
	$(MANPAGES_ALIAS) \
	make-man-index.py
695 696

# ------------------------------------------------------------------------------
697
noinst_LTLIBRARIES += \
698
	libsystemd-shared.la
699

700
libsystemd_shared_la_SOURCES = \
701 702
	src/shared/linux/auto_dev-ioctl.h \
	src/shared/linux/fanotify.h \
703 704
	src/shared/linux/seccomp.h \
	src/shared/linux/seccomp-bpf.h \
705
	src/shared/missing.h \
706 707 708
	src/shared/list.h \
	src/shared/macro.h \
	src/shared/def.h \
709 710 711 712
	src/shared/util.c \
	src/shared/util.h \
	src/shared/virt.c \
	src/shared/virt.h \
Kay Sievers's avatar
Kay Sievers committed
713 714
	src/shared/path-util.c \
	src/shared/path-util.h \
715 716 717 718 719 720 721 722 723 724 725 726 727 728 729
	src/shared/hashmap.c \
	src/shared/hashmap.h \
	src/shared/set.c \
	src/shared/set.h \
	src/shared/strv.c \
	src/shared/strv.h \
	src/shared/conf-parser.c \
	src/shared/conf-parser.h \
	src/shared/log.c \
	src/shared/log.h \
	src/shared/ratelimit.h \
	src/shared/ratelimit.c \
	src/shared/exit-status.c \
	src/shared/exit-status.h \
	src/shared/utf8.c \
Kay Sievers's avatar
Kay Sievers committed
730
	src/shared/utf8.h \
Kay Sievers's avatar
Kay Sievers committed
731
	src/shared/pager.c \
732 733
	src/shared/pager.h \
	src/shared/ioprio.h \
734 735
	src/shared/socket-util.c \
	src/shared/socket-util.h \
Kay Sievers's avatar
Kay Sievers committed
736 737
	src/shared/conf-files.c \
	src/shared/conf-files.h \
738 739
	src/shared/cgroup-util.c \
	src/shared/cgroup-util.h \
740 741 742 743 744 745 746 747 748 749 750 751 752
	src/shared/cgroup-show.c \
	src/shared/cgroup-show.h \
	src/shared/unit-name.c \
	src/shared/unit-name.h \
	src/shared/utmp-wtmp.c \
	src/shared/utmp-wtmp.h \
	src/shared/watchdog.c \
	src/shared/watchdog.h \
	src/shared/spawn-ask-password-agent.c \
	src/shared/spawn-ask-password-agent.h \
	src/shared/specifier.c \
	src/shared/specifier.h \
	src/shared/spawn-polkit-agent.c \
Kay Sievers's avatar
Kay Sievers committed
753 754 755
	src/shared/spawn-polkit-agent.h \
	src/shared/hwclock.c \
	src/shared/hwclock.h
756 757 758 759 760 761 762 763 764