Makefile.am 90.2 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
LIBUDEV_CURRENT=1
27
LIBUDEV_REVISION=1
28
LIBUDEV_AGE=0
Kay Sievers's avatar
Kay Sievers committed
29 30

LIBGUDEV_CURRENT=1
31
LIBGUDEV_REVISION=2
Kay Sievers's avatar
Kay Sievers committed
32
LIBGUDEV_AGE=1
33

34
LIBSYSTEMD_LOGIN_CURRENT=2
Kay Sievers's avatar
Kay Sievers committed
35
LIBSYSTEMD_LOGIN_REVISION=4
36
LIBSYSTEMD_LOGIN_AGE=2
37

38
LIBSYSTEMD_DAEMON_CURRENT=0
39
LIBSYSTEMD_DAEMON_REVISION=2
40 41
LIBSYSTEMD_DAEMON_AGE=0

42
LIBSYSTEMD_ID128_CURRENT=0
43
LIBSYSTEMD_ID128_REVISION=5
44 45
LIBSYSTEMD_ID128_AGE=0

46
LIBSYSTEMD_JOURNAL_CURRENT=1
47
LIBSYSTEMD_JOURNAL_REVISION=1
48
LIBSYSTEMD_JOURNAL_AGE=1
49

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

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

# And these are the special ones for /
78 79 80
rootprefix=@rootprefix@
rootbindir=$(rootprefix)/bin
rootlibexecdir=$(rootprefix)/lib/systemd
81

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

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

149
AM_CFLAGS = $(WARNINGFLAGS)
150
AM_LDFLAGS = $(GCLDFLAGS)
151

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

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

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

224
dist_bin_SCRIPTS = \
225
	src/analyze/systemd-analyze
226

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

243
systemgenerator_PROGRAMS = \
244
	systemd-getty-generator \
245 246
	systemd-fstab-generator \
	systemd-system-update-generator
247

248
dist_bashcompletion_DATA = \
249
	bash-completion/systemd-bash-completion.sh
250

251 252
dist_tmpfiles_DATA = \
	tmpfiles.d/systemd.conf \
253
	tmpfiles.d/tmp.conf \
254 255
	tmpfiles.d/x11.conf

256 257
if HAVE_SYSV_COMPAT
dist_tmpfiles_DATA += \
258
	tmpfiles.d/legacy.conf
259 260
endif

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

316
nodist_systemunit_DATA = \
317
	units/getty@.service \
318
	units/serial-getty@.service \
319
	units/console-shell.service \
320
	units/console-getty.service \
321
	units/systemd-initctl.service \
322
	units/systemd-shutdownd.service \
323
	units/systemd-modules-load.service \
324
	units/systemd-remount-fs.service \
325 326
	units/systemd-update-utmp-runlevel.service \
	units/systemd-update-utmp-shutdown.service \
327 328
	units/systemd-tmpfiles-setup.service \
	units/systemd-tmpfiles-clean.service \
329
	units/systemd-ask-password-wall.service \
330
	units/systemd-ask-password-console.service \
331
	units/systemd-sysctl.service \
332
	units/emergency.service \
333
	units/rescue.service \
Kay Sievers's avatar
Kay Sievers committed
334
	units/user@.service \
335 336 337 338 339 340 341 342
	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 \
343
	units/systemd-udevd.service \
344
	units/systemd-udev-trigger.service \
345
	units/systemd-udev-settle.service \
346
	units/debug-shell.service
347

348 349 350
dist_userunit_DATA = \
	units/user/default.target \
	units/user/exit.target
351

352
nodist_userunit_DATA = \
353
	units/user/systemd-exit.service
354

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

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

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

408 409 410 411 412
if TARGET_FRUGALWARE
dist_systemunit_DATA += \
	units/frugalware/display-manager.service
endif

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

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

430 431
dist_doc_DATA = \
	README \
Kay Sievers's avatar
Kay Sievers committed
432
	NEWS \
433
	LICENSE.LGPL2.1 \
434 435
	LICENSE.GPL2 \
	LICENSE.MIT \
436
	DISTRO_PORTING
437

438
@INTLTOOL_POLICY_RULE@
439

440 441 442 443 444
# ------------------------------------------------------------------------------
MANPAGES = \
	man/systemd.1 \
	man/systemctl.1 \
	man/systemd-cgls.1 \
445
	man/systemd-delta.1 \
446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463
	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 \
	man/systemd.special.7 \
	man/systemd.journal-fields.7 \
464
	man/kernel-command-line.7 \
465
	man/daemon.7 \
Lennart Poettering's avatar
Lennart Poettering committed
466
	man/bootup.7 \
467 468 469 470 471 472 473 474 475 476 477 478 479 480
	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 \
481
	man/systemd-modules-load.service.8 \
482
	man/sysctl.d.5 \
483
	man/systemd-sysctl.service.8 \
484 485 486
	man/systemd-ask-password.1 \
	man/systemd-cat.1 \
	man/systemd-machine-id-setup.1 \
487
	man/systemd-detect-virt.1 \
488
	man/journald.conf.5 \
489
	man/systemd-journald.service.8 \
490
	man/journalctl.1 \
491
	man/systemd-inhibit.1 \
492
	man/systemd-remount-fs.service.8 \
493
	man/systemd-update-utmp-runlevel.service.8 \
494
	man/systemd-initctl.service.8 \
495
	man/systemd-shutdownd.service.8 \
496
	man/systemd-suspend.service.8 \
497
	man/systemd-halt.service.8 \
498
	man/systemd-fsck@.service.8 \
499
	man/systemd-ask-password-console.service.8 \
500
	man/systemd-analyze.1 \
501
	man/systemd-tty-ask-password-agent.1 \
502
	man/systemd-getty-generator.8 \
503
	man/systemd-system-update-generator.8 \
504 505
	man/systemd-fstab-generator.8 \
	man/systemd.preset.5
506 507 508 509

MANPAGES_ALIAS = \
	man/reboot.8 \
	man/poweroff.8 \
510 511
	man/init.1 \
	man/systemd-modules-load.8 \
512
	man/systemd-sysctl.8 \
513
	man/systemd-journald.socket.8 \
514
	man/systemd-journald.8 \
515 516
	man/systemd-remount-fs.8 \
	man/systemd-update-utmp-shutdown.service.8 \
517
	man/systemd-update-utmp.8 \
518
	man/systemd-initctl.socket.8 \
519
	man/systemd-initctl.8 \
520
	man/systemd-shutdownd.socket.8 \
521 522
	man/systemd-shutdownd.8 \
	man/systemd-hibernate.service.8 \
523 524 525 526
	man/systemd-sleep.8 \
	man/systemd-shutdown.8 \
	man/systemd-poweroff.service.8 \
	man/systemd-reboot.service.8 \
527
	man/systemd-kexec.service.8 \
528 529 530
	man/systemd-fsck-root.service.8 \
	man/systemd-ask-password-console.path.8 \
	man/systemd-ask-password-wall.service.8 \
531 532 533 534
	man/systemd-ask-password-wall.path.8 \
	man/systemd-tmpfiles-setup.service.8 \
	man/systemd-tmpfiles-clean.service.8 \
	man/systemd-tmpfiles-clean.timer.8
535 536 537 538

man/reboot.8: man/halt.8
man/poweroff.8: man/halt.8
man/init.1: man/systemd.1
539 540
man/systemd-modules-load.8: man/systemd-modules-load.service.8
man/systemd-sysctl.8: man/systemd-sysctl.service.8
541
man/systemd-journald.socket.8: man/systemd-journald.service.8
542
man/systemd-journald.8: man/systemd-journald.service.8
543
man/systemd-remount-fs.8: man/systemd-remount-fs.service.8
544 545
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
546
man/systemd-initctl.socket.8: man/systemd-initctl.service.8
547
man/systemd-initctl.8: man/systemd-initctl.service.8
548
man/systemd-shutdownd.socket.8: man/systemd-shutdownd.service.8
549
man/systemd-shutdownd.8: man/systemd-shutdownd.service.8
550 551
man/systemd-hibernate.service.8: man/systemd-suspend.service.8
man/systemd-sleep.8: man/systemd-suspend.service.8
552 553 554 555
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
556
man/systemd-fsck-root.service.8: man/systemd-fsck@.service.8
557 558 559
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
560 561 562
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
563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582

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}
endif

EXTRA_DIST += \
	$(XML_FILES) \
	${XML_FILES:.xml=.html} \
	$(MANPAGES) \
	$(MANPAGES_ALIAS)

# ------------------------------------------------------------------------------
583
noinst_LTLIBRARIES += \
584
	libsystemd-shared.la
585

586
libsystemd_shared_la_SOURCES = \
587 588 589
	src/shared/linux/auto_dev-ioctl.h \
	src/shared/linux/fanotify.h \
	src/shared/missing.h \
590 591 592
	src/shared/list.h \
	src/shared/macro.h \
	src/shared/def.h \
593 594 595 596
	src/shared/util.c \
	src/shared/util.h \
	src/shared/virt.c \
	src/shared/virt.h \
Kay Sievers's avatar
Kay Sievers committed
597 598
	src/shared/path-util.c \
	src/shared/path-util.h \
599 600 601 602 603 604 605 606 607 608 609 610 611 612 613
	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
614
	src/shared/utf8.h \
Kay Sievers's avatar
Kay Sievers committed
615
	src/shared/pager.c \
616 617
	src/shared/pager.h \
	src/shared/ioprio.h \
618 619
	src/shared/socket-util.c \
	src/shared/socket-util.h \
Kay Sievers's avatar
Kay Sievers committed
620 621
	src/shared/conf-files.c \
	src/shared/conf-files.h \
622 623
	src/shared/cgroup-util.c \
	src/shared/cgroup-util.h \
624 625 626 627 628 629 630 631 632 633 634 635 636
	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
637 638 639
	src/shared/spawn-polkit-agent.h \
	src/shared/hwclock.c \
	src/shared/hwclock.h
640 641 642 643 644 645 646 647 648 649

#-------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
	libsystemd-dbus.la

libsystemd_dbus_la_SOURCES = \
	src/shared/dbus-common.c \
	src/shared/dbus-common.h \
	src/shared/dbus-loop.c \
	src/shared/dbus-loop.h \
650 651
	src/shared/polkit.c \
	src/shared/polkit.h
652

653
libsystemd_dbus_la_CFLAGS = \
654 655 656
	$(AM_CFLAGS) \
	$(DBUS_CFLAGS)

657 658 659
libsystemd_dbus_la_LIBADD = \
	$(DBUS_LIBS)

660 661
# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
662
	libsystemd-units.la
663

664
libsystemd_units_la_SOURCES = \
665 666 667
	src/shared/install.c \
	src/shared/install.h \
	src/shared/path-lookup.c \
668 669 670 671 672 673 674 675 676 677 678
	src/shared/path-lookup.h

libsystemd_units_la_CFLAGS = \
	$(AM_CFLAGS) \
	$(DBUS_CFLAGS)

# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
	libsystemd-label.la

libsystemd_label_la_SOURCES = \
679 680
	src/shared/cgroup-label.c \
	src/shared/socket-label.c \
681 682 683
	src/shared/label.c \
	src/shared/label.h \
	src/shared/mkdir.c \
684 685
	src/shared/mkdir.h \
	src/shared/ask-password-api.c \
686 687 688
	src/shared/ask-password-api.h \
	src/shared/dev-setup.c \
	src/shared/dev-setup.h
689

690
libsystemd_label_la_CFLAGS = \
691 692 693
	$(AM_CFLAGS) \
	$(SELINUX_CFLAGS)

694
libsystemd_label_la_LIBADD = \
695 696
	$(SELINUX_LIBS)

697 698 699 700 701 702 703 704 705 706 707 708 709 710 711
# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
	libsystemd-logs.la

libsystemd_logs_la_SOURCES = \
	src/shared/logs-show.c \
	src/shared/logs-show.h

libsystemd_logs_la_CFLAGS = \
	$(AM_CFLAGS)

libsystemd_logs_la_LIBADD = \
	libsystemd-journal.la \
	libsystemd-id128.la

712
# ------------------------------------------------------------------------------
713 714 715
noinst_LTLIBRARIES += \
	libsystemd-capability.la

716 717 718 719 720 721 722 723 724
libsystemd_capability_la_SOURCES = \
	src/shared/capability.c \
	src/shared/capability.h

libsystemd_capability_la_CFLAGS = \
	$(AM_CFLAGS) \
	$(CAP_CFLAGS)

libsystemd_capability_la_LIBADD = \
725
	$(CAP_LIBS)
726

727
# ------------------------------------------------------------------------------
728 729 730
noinst_LTLIBRARIES += \
	libsystemd-audit.la

731 732 733 734 735 736 737
libsystemd_audit_la_SOURCES = \
	src/shared/audit.c \
	src/shared/audit.h

libsystemd_audit_la_LIBADD = \
	libsystemd-capability.la

738
# ------------------------------------------------------------------------------
739
if HAVE_ACL
740 741 742
noinst_LTLIBRARIES += \
	libsystemd-acl.la

743
libsystemd_acl_la_SOURCES = \
744 745
	src/shared/acl-util.c \
	src/shared/acl-util.h
746 747 748 749 750 751 752

libsystemd_acl_la_CFLAGS = \
	$(AM_CFLAGS) \
	$(ACL_CFLAGS)

libsystemd_acl_la_LIBADD = \
	$(ACL_LIBS)
753
endif
754

755
# ------------------------------------------------------------------------------
756 757 758
noinst_LTLIBRARIES += \
	libsystemd-core.la

759
libsystemd_core_la_SOURCES = \
760 761 762 763 764 765
	src/core/unit.c \
	src/core/unit.h \
	src/core/job.c \
	src/core/job.h \
	src/core/manager.c \
	src/core/manager.h \
766 767
	src/core/transaction.c \
	src/core/transaction.h \
768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833
	src/core/load-fragment.c \
	src/core/load-fragment.h \
	src/core/service.c \
	src/core/service.h \
	src/core/automount.c \
	src/core/automount.h \
	src/core/mount.c \
	src/core/mount.h \
	src/core/swap.c \
	src/core/swap.h \
	src/core/device.c \
	src/core/device.h \
	src/core/target.c \
	src/core/target.h \
	src/core/snapshot.c \
	src/core/snapshot.h \
	src/core/socket.c \
	src/core/socket.h \
	src/core/timer.c \
	src/core/timer.h \
	src/core/path.c \
	src/core/path.h \
	src/core/load-dropin.c \
	src/core/load-dropin.h \
	src/core/execute.c \
	src/core/execute.h \
	src/core/dbus.c \
	src/core/dbus.h \
	src/core/dbus-manager.c \
	src/core/dbus-manager.h \
	src/core/dbus-unit.c \
	src/core/dbus-unit.h \
	src/core/dbus-job.c \
	src/core/dbus-job.h \
	src/core/dbus-service.c \
	src/core/dbus-service.h \
	src/core/dbus-socket.c \
	src/core/dbus-socket.h \
	src/core/dbus-timer.c \
	src/core/dbus-timer.h \
	src/core/dbus-target.c \
	src/core/dbus-target.h \
	src/core/dbus-mount.c \
	src/core/dbus-mount.h \
	src/core/dbus-automount.c \
	src/core/dbus-automount.h \
	src/core/dbus-swap.c \
	src/core/dbus-swap.h \
	src/core/dbus-snapshot.c \
	src/core/dbus-snapshot.h \
	src/core/dbus-device.c \
	src/core/dbus-device.h \
	src/core/dbus-execute.c \
	src/core/dbus-execute.h \
	src/core/dbus-path.c \
	src/core/dbus-path.h \
	src/core/cgroup.c \
	src/core/cgroup.h \
	src/core/selinux-setup.c \
	src/core/selinux-setup.h \
	src/core/ima-setup.c \
	src/core/ima-setup.h \
	src/core/kmod-setup.c \
	src/core/kmod-setup.h \
	src/core/locale-setup.h \
	src/core/locale-setup.c \
834 835
	src/core/hostname-setup.c \
	src/core/hostname-setup.h \
836 837 838 839 840 841
	src/core/machine-id-setup.c \
	src/core/machine-id-setup.h \
	src/core/mount-setup.c \
	src/core/mount-setup.h \
	src/core/loopback-setup.h \
	src/core/loopback-setup.c \
842 843 844 845 846 847 848 8