Makefile.am 82.3 KB
Newer Older
1 2
#  This file is part of systemd.
#
Kay Sievers's avatar
Kay Sievers committed
3 4
#  Copyright 2010-2012 Lennart Poettering
#  Copyright 2010-2012 Kay Sievers
5 6 7 8 9 10 11 12 13 14 15 16 17 18
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (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
#  General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with systemd; If not, see <http://www.gnu.org/licenses/>.

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

Kay Sievers's avatar
Kay Sievers committed
22 23 24
SUBDIRS = . po

LIBUDEV_CURRENT=13
25
LIBUDEV_REVISION=3
Kay Sievers's avatar
Kay Sievers committed
26 27 28 29 30
LIBUDEV_AGE=13

LIBGUDEV_CURRENT=1
LIBGUDEV_REVISION=1
LIBGUDEV_AGE=1
31

32
LIBSYSTEMD_LOGIN_CURRENT=2
33
LIBSYSTEMD_LOGIN_REVISION=1
34
LIBSYSTEMD_LOGIN_AGE=2
35

36
LIBSYSTEMD_DAEMON_CURRENT=0
Lennart Poettering's avatar
Lennart Poettering committed
37
LIBSYSTEMD_DAEMON_REVISION=1
38 39
LIBSYSTEMD_DAEMON_AGE=0

40
LIBSYSTEMD_ID128_CURRENT=0
41
LIBSYSTEMD_ID128_REVISION=3
42 43 44
LIBSYSTEMD_ID128_AGE=0

LIBSYSTEMD_JOURNAL_CURRENT=0
45
LIBSYSTEMD_JOURNAL_REVISION=3
46 47
LIBSYSTEMD_JOURNAL_AGE=0

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

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

# And these are the special ones for /
74 75 76
rootprefix=@rootprefix@
rootbindir=$(rootprefix)/bin
rootlibexecdir=$(rootprefix)/lib/systemd
77

78 79
CLEANFILES =
EXTRA_DIST =
Kay Sievers's avatar
Kay Sievers committed
80
BUILT_SOURCES =
81 82 83
INSTALL_EXEC_HOOKS =
UNINSTALL_EXEC_HOOKS =
INSTALL_DATA_HOOKS =
Kay Sievers's avatar
Kay Sievers committed
84 85
DISTCHECK_HOOKS =
DISTCLEAN_LOCAL_HOOKS =
86
pkginclude_HEADERS =
87
lib_LTLIBRARIES =
Kay Sievers's avatar
Kay Sievers committed
88
include_HEADERS =
89
pkgconfiglib_DATA =
90
polkitpolicy_in_files =
91
dist_udevrules_DATA =
Kay Sievers's avatar
Kay Sievers committed
92 93
nodist_udevrules_DATA =
dist_man_MANS =
94

95
AM_CPPFLAGS = \
96
	-include $(top_builddir)/config.h \
Kay Sievers's avatar
Kay Sievers committed
97
	-DSYSCONFDIR=\""$(sysconfdir)"\" \
98
	-DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \
99
	-DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
100
	-DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
101
	-DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
102
	-DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
103 104 105
	-DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \
	-DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \
	-DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \
106
	-DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \
107
	-DSYSTEMD_BINARY_PATH=\"$(rootlibexecdir)/systemd\" \
108
	-DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \
109
	-DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \
110
	-DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \
111
	-DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \
112
	-DROOTPREFIX=\"$(rootprefix)\" \
113
	-DRUNTIME_DIR=\"/run\" \
114
	-DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \
115
	-DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \
116
	-DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
117
	-DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
118
	-DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
119
	-DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
Kay Sievers's avatar
Kay Sievers committed
120 121
	-DX_SERVER=\"$(bindir)/X\" \
	-DUDEVLIBEXECDIR=\""$(libexecdir)/udev"\" \
122
	-I $(top_srcdir)/src \
123
	-I $(top_srcdir)/src/shared \
124
	-I $(top_srcdir)/src/readahead \
125
	-I $(top_srcdir)/src/login \
126
	-I $(top_srcdir)/src/journal \
Kay Sievers's avatar
Kay Sievers committed
127 128
	-I $(top_srcdir)/src/systemd \
	-I $(top_srcdir)/src/udev
129

130
AM_CFLAGS = $(WARNINGFLAGS)
131
AM_LDFLAGS = $(GCLDFLAGS)
132

133
# ------------------------------------------------------------------------------
134 135 136 137 138 139
if TARGET_GENTOO
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
	-DKBD_SETFONT=\"/usr/bin/setfont\" \
	-DDEFAULT_FONT=\"LatArCyrHeb-16\"
else
140 141 142 143 144 145
if TARGET_ARCH
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
	-DKBD_SETFONT=\"/usr/bin/setfont\" \
	-DDEFAULT_FONT=\"LatArCyrHeb-16\"
else
146 147 148 149 150 151
if TARGET_FRUGALWARE
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
	-DKBD_SETFONT=\"/usr/bin/setfont\" \
	-DDEFAULT_FONT=\"LatArCyrHeb-16\"
else
152 153 154 155 156 157
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
158 159 160 161 162 163
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
164 165 166 167 168 169
if TARGET_ANGSTROM
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \
	-DKBD_SETFONT=\"/usr/bin/setfont\" \
	-DDEFAULT_FONT=\"LatArCyrHeb-16\"
else
170
if TARGET_MAGEIA
171 172 173
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/bin/loadkeys\" \
	-DKBD_SETFONT=\"/bin/setfont\" \
174
	-DDEFAULT_FONT=\"LatArCyrHeb-16\"
Dexter Morgan's avatar
Dexter Morgan committed
175 176 177 178
else
AM_CPPFLAGS += \
	-DKBD_LOADKEYS=\"/bin/loadkeys\" \
	-DKBD_SETFONT=\"/bin/setfont\" \
179
	-DDEFAULT_FONT=\"latarcyrheb-sun16\"
Dexter Morgan's avatar
Dexter Morgan committed
180
endif
181
endif
182
endif
183
endif
184
endif
Chris E Ferron's avatar
Chris E Ferron committed
185
endif
Koen Kooi's avatar
Koen Kooi committed
186
endif
187

188
# ------------------------------------------------------------------------------
189
rootbin_PROGRAMS = \
190
	systemctl \
191
	systemd-notify \
192
	systemd-ask-password \
193
	systemd-tty-ask-password-agent \
194
	systemd-tmpfiles \
Kay Sievers's avatar
Kay Sievers committed
195
	systemd-machine-id-setup
196

197
bin_PROGRAMS = \
198
	systemd-cgls \
Lennart Poettering's avatar
Lennart Poettering committed
199
	systemd-cgtop \
200
	systemd-stdio-bridge \
201
	systemd-nspawn
202

203
dist_bin_SCRIPTS = \
204
	src/systemd-analyze
205

206
rootlibexec_PROGRAMS = \
207
	systemd \
208
	systemd-cgroups-agent \
209
	systemd-initctl \
210
	systemd-update-utmp \
211
	systemd-shutdownd \
212
	systemd-shutdown \
213
	systemd-modules-load \
214
	systemd-remount-api-vfs \
215
	systemd-reply-password \
216
	systemd-fsck \
217
	systemd-timestamp \
218
	systemd-ac-power \
219
	systemd-detect-virt \
Kay Sievers's avatar
Kay Sievers committed
220
	systemd-sysctl
221

222
systemgenerator_PROGRAMS = \
223
	systemd-getty-generator
224

225 226
noinst_PROGRAMS = \
	test-engine \
227
	test-job-type \
228
	test-ns \
229
	test-loopback \
230
	test-hostname \
231
	test-daemon \
232
	test-cgroup \
233
	test-env-replace \
234
	test-strv \
235 236
	test-install \
        test-watchdog
237

238
dist_pkgsysconf_DATA = \
239
	src/system.conf \
240
	src/user.conf
241

242
dist_dbuspolicy_DATA = \
243
	src/org.freedesktop.systemd1.conf
244

245
dist_dbussystemservice_DATA = \
246
	src/org.freedesktop.systemd1.service
247 248

dbusinterface_DATA = \
249 250 251 252 253
	org.freedesktop.systemd1.Manager.xml \
	org.freedesktop.systemd1.Job.xml \
	org.freedesktop.systemd1.Unit.xml \
	org.freedesktop.systemd1.Service.xml \
	org.freedesktop.systemd1.Socket.xml \
254
	org.freedesktop.systemd1.Timer.xml \
255 256 257 258 259
	org.freedesktop.systemd1.Target.xml \
	org.freedesktop.systemd1.Device.xml \
	org.freedesktop.systemd1.Mount.xml \
	org.freedesktop.systemd1.Automount.xml \
	org.freedesktop.systemd1.Snapshot.xml \
260
	org.freedesktop.systemd1.Swap.xml \
261
	org.freedesktop.systemd1.Path.xml
262

263
dist_bashcompletion_DATA = \
264
	src/systemd-bash-completion.sh
265

266 267
dist_tmpfiles_DATA = \
	tmpfiles.d/systemd.conf \
268
	tmpfiles.d/tmp.conf \
269 270
	tmpfiles.d/x11.conf

271 272
if HAVE_SYSV_COMPAT
dist_tmpfiles_DATA += \
273
	tmpfiles.d/legacy.conf
274 275
endif

276
dist_systemunit_DATA = \
277 278
	units/graphical.target \
	units/multi-user.target \
279
	units/emergency.service \
280
	units/emergency.target \
281
	units/sysinit.target \
282
	units/basic.target \
283 284
	units/getty.target \
	units/halt.target \
285
	units/kexec.target \
286
	units/local-fs.target \
287
	units/local-fs-pre.target \
Lennart Poettering's avatar
Lennart Poettering committed
288
	units/remote-fs.target \
289
	units/remote-fs-pre.target \
290 291
	units/network.target \
	units/nss-lookup.target \
292
	units/mail-transfer-agent.target \
293
	units/http-daemon.target \
294 295 296
	units/poweroff.target \
	units/reboot.target \
	units/rescue.target \
297
	units/rpcbind.target \
298
	units/time-sync.target \
299
	units/shutdown.target \
300
	units/final.target \
301
	units/umount.target \
302 303 304
	units/sigpwr.target \
	units/sockets.target \
	units/swap.target \
305
	units/systemd-initctl.socket \
306
	units/systemd-shutdownd.socket \
307
	units/syslog.socket \
308 309
	units/dev-hugepages.mount \
	units/dev-mqueue.mount \
310
	units/sys-kernel-config.mount \
311
	units/sys-kernel-debug.mount \
312
	units/sys-fs-fuse-connections.mount \
Kay Sievers's avatar
Kay Sievers committed
313
	units/tmp.mount \
314
	units/remount-rootfs.service \
315
	units/printer.target \
316
	units/sound.target \
317
	units/bluetooth.target \
Kay Sievers's avatar
Kay Sievers committed
318
	units/smartcard.target \
319
	units/systemd-tmpfiles-clean.timer \
320
	units/quotaon.service \
321
	units/systemd-ask-password-wall.path \
322
	units/systemd-ask-password-console.path \
Kay Sievers's avatar
Kay Sievers committed
323 324 325
	units/syslog.target \
	units/udev-control.socket \
	units/udev-kernel.socket
326

327
nodist_systemunit_DATA = \
328
	units/getty@.service \
329
	units/serial-getty@.service \
330
	units/console-shell.service \
331
	units/systemd-initctl.service \
332
	units/systemd-shutdownd.service \
333
	units/systemd-modules-load.service \
334
	units/systemd-remount-api-vfs.service \
335 336
	units/systemd-update-utmp-runlevel.service \
	units/systemd-update-utmp-shutdown.service \
337 338
	units/systemd-tmpfiles-setup.service \
	units/systemd-tmpfiles-clean.service \
339
	units/systemd-ask-password-wall.service \
340
	units/systemd-ask-password-console.service \
341
	units/systemd-sysctl.service \
342
	units/halt.service \
343
	units/emergency.service \
344 345
	units/poweroff.service \
	units/reboot.service \
346 347
	units/kexec.service \
	units/fsck@.service \
348
	units/fsck-root.service \
349
	units/rescue.service \
Kay Sievers's avatar
Kay Sievers committed
350 351 352 353
	units/user@.service \
	units/udev.service \
	units/udev-trigger.service \
	units/udev-settle.service
354

355 356 357
dist_userunit_DATA = \
	units/user/default.target \
	units/user/exit.target
358

359 360
nodist_userunit_DATA = \
	units/user/exit.service
361

362
EXTRA_DIST += \
363
	units/getty@.service.m4 \
364
	units/serial-getty@.service.m4 \
365 366
	units/console-shell.service.m4.in \
	units/rescue.service.m4.in \
367
	units/systemd-initctl.service.in \
368
	units/systemd-shutdownd.service.in \
369
	units/systemd-modules-load.service.in \
370
	units/systemd-remount-api-vfs.service.in \
371 372
	units/systemd-update-utmp-runlevel.service.in \
	units/systemd-update-utmp-shutdown.service.in \
373 374
	units/systemd-tmpfiles-setup.service.in \
	units/systemd-tmpfiles-clean.service.in \
375
	units/systemd-ask-password-wall.service.in \
376
	units/systemd-ask-password-console.service.in \
377
	units/systemd-sysctl.service.in \
378
	units/emergency.service.in \
379 380 381
	units/halt.service.in \
	units/poweroff.service.in \
	units/reboot.service.in \
382
	units/kexec.service.in \
383
	units/user/exit.service.in \
384 385
	units/fsck@.service.in \
	units/fsck-root.service.in \
Kay Sievers's avatar
Kay Sievers committed
386
	units/user@.service.in \
Kay Sievers's avatar
Kay Sievers committed
387 388 389
	units/udev.service \
	units/udev-trigger.service \
	units/udev-settle.service \
390
	src/systemd.pc.in \
391
	introspect.awk \
392
	man/custom-html.xsl
393

394 395 396 397
if TARGET_FEDORA
dist_systemunit_DATA += \
	units/fedora/prefdm.service \
	units/fedora/rc-local.service \
398
	units/fedora/halt-local.service
399 400
systemgenerator_PROGRAMS += \
	systemd-rc-local-generator
401 402
endif

403 404 405 406 407
if TARGET_MANDRIVA
dist_systemunit_DATA += \
	units/mandriva/prefdm.service \
	units/fedora/rc-local.service \
	units/fedora/halt-local.service
408 409
systemgenerator_PROGRAMS += \
	systemd-rc-local-generator
410 411
endif

412 413 414 415 416
if TARGET_FRUGALWARE
dist_systemunit_DATA += \
	units/frugalware/display-manager.service
endif

417 418 419 420
if TARGET_SUSE
dist_systemunit_DATA += \
	units/suse/rc-local.service \
	units/suse/halt-local.service
421 422
systemgenerator_PROGRAMS += \
	systemd-rc-local-generator
423 424
endif

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

434 435 436 437 438
if HAVE_PLYMOUTH
dist_systemunit_DATA += \
	units/plymouth-start.service \
	units/plymouth-read-write.service \
	units/plymouth-quit.service \
439
	units/plymouth-quit-wait.service \
440 441 442
	units/plymouth-reboot.service \
	units/plymouth-kexec.service \
	units/plymouth-poweroff.service \
443 444 445 446 447 448 449 450
	units/plymouth-halt.service \
	units/systemd-ask-password-plymouth.path

nodist_systemunit_DATA += \
	units/systemd-ask-password-plymouth.service

EXTRA_DIST += \
	units/systemd-ask-password-plymouth.service.in
451 452
endif

453 454
dist_doc_DATA = \
	README \
Kay Sievers's avatar
Kay Sievers committed
455
	NEWS \
456
	LICENSE \
457
	DISTRO_PORTING
458

459
pkgconfigdata_DATA = \
460
	src/systemd.pc
461

462 463 464 465 466
# First passed through sed, followed by intltool
polkitpolicy_in_in_files = \
	src/org.freedesktop.systemd1.policy.in.in

nodist_polkitpolicy_DATA = \
467 468
	$(polkitpolicy_in_files:.policy.in=.policy) \
	$(polkitpolicy_in_in_files:.policy.in.in=.policy)
469 470

EXTRA_DIST += \
471 472
	$(polkitpolicy_in_files) \
	$(polkitpolicy_in_in_files)
473

474
@INTLTOOL_POLICY_RULE@
475

476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551
# ------------------------------------------------------------------------------
MANPAGES = \
	man/systemd.1 \
	man/systemctl.1 \
	man/systemd-cgls.1 \
	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 \
	man/daemon.7 \
	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 \
	man/sysctl.d.5 \
	man/systemd-ask-password.1 \
	man/systemd-cat.1 \
	man/systemd-machine-id-setup.1 \
	man/journald.conf.5 \
	man/journalctl.1 \
	man/udev.7 \
	man/udevadm.8 \
	man/udevd.8

MANPAGES_ALIAS = \
	man/reboot.8 \
	man/poweroff.8 \
	man/init.1

man/reboot.8: man/halt.8
man/poweroff.8: man/halt.8
man/init.1: man/systemd.1

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)

# ------------------------------------------------------------------------------
552 553
noinst_LTLIBRARIES = \
	libsystemd-basic.la \
554 555
	libsystemd-capability.la \
	libsystemd-audit.la \
556
	libsystemd-acl.la \
557
	libsystemd-core.la
558 559

libsystemd_basic_la_SOURCES = \
560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583
	src/shared/util.c \
	src/shared/util.h \
	src/shared/virt.c \
	src/shared/virt.h \
	src/shared/label.c \
	src/shared/label.h \
	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/socket-util.c \
	src/shared/socket-util.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 \
	src/shared/utf8.h
584

585 586 587 588 589
libsystemd_basic_la_CFLAGS = \
	$(AM_CFLAGS) \
	$(SELINUX_CFLAGS)

libsystemd_basic_la_LIBADD = \
590 591 592 593 594 595 596 597 598 599 600 601 602
	libsystemd-capability.la \
	$(SELINUX_LIBS)

# ------------------------------------------------------------------------------
libsystemd_capability_la_SOURCES = \
	src/shared/capability.c \
	src/shared/capability.h

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

libsystemd_capability_la_LIBADD = \
603
	$(CAP_LIBS)
604

605 606 607 608 609 610 611 612
# ------------------------------------------------------------------------------
libsystemd_audit_la_SOURCES = \
	src/shared/audit.c \
	src/shared/audit.h

libsystemd_audit_la_LIBADD = \
	libsystemd-capability.la

613 614 615 616 617 618 619 620 621 622 623 624
# ------------------------------------------------------------------------------
libsystemd_acl_la_SOURCES = \
	src/shared/acl.c \
	src/shared/acl.h

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

libsystemd_acl_la_LIBADD = \
	$(ACL_LIBS)

625
# ------------------------------------------------------------------------------
626
libsystemd_core_la_SOURCES = \
627
	src/unit.c \
628
	src/unit.h \
629
	src/job.c \
630
	src/job.h \
631
	src/manager.c \
632
	src/manager.h \
633
	src/path-lookup.c \
634
	src/path-lookup.h \
635
	src/load-fragment.c \
636
	src/load-fragment.h \
637
	src/service.c \
638
	src/service.h \
639
	src/automount.c \
640
	src/automount.h \
641
	src/mount.c \
642
	src/mount.h \
643
	src/swap.c \
644
	src/swap.h \
645
	src/device.c \
646
	src/device.h \
647
	src/target.c \
648
	src/target.h \
649
	src/snapshot.c \
650
	src/snapshot.h \
651
	src/socket.c \
652
	src/socket.h \
653
	src/timer.c \
654
	src/timer.h \
655
	src/path.c \
656
	src/path.h \
657
	src/load-dropin.c \
658
	src/load-dropin.h \
659
	src/execute.c \
660
	src/execute.h \
661
	src/utmp-wtmp.c \
662
	src/utmp-wtmp.h \
663
	src/dbus.c \
664
	src/dbus.h \
665
	src/dbus-manager.c \
666
	src/dbus-manager.h \
667
	src/dbus-unit.c \
668
	src/dbus-unit.h \
669
	src/dbus-job.c \
670
	src/dbus-job.h \
671
	src/dbus-service.c \
672
	src/dbus-service.h \
673
	src/dbus-socket.c \
674
	src/dbus-socket.h \
675
	src/dbus-timer.c \
676
	src/dbus-timer.h \
677
	src/dbus-target.c \
678
	src/dbus-target.h \
679
	src/dbus-mount.c \
680
	src/dbus-mount.h \
681
	src/dbus-automount.c \
682
	src/dbus-automount.h \
683
	src/dbus-swap.c \
684
	src/dbus-swap.h \
685
	src/dbus-snapshot.c \
686
	src/dbus-snapshot.h \
687
	src/dbus-device.c \
688
	src/dbus-device.h \
689
	src/dbus-execute.c \
690
	src/dbus-execute.h \
691
	src/dbus-path.c \
692
	src/dbus-path.h \
693
	src/cgroup.c \
694
	src/cgroup.h \
695
	src/mount-setup.c \
696
	src/mount-setup.h \
697
	src/hostname-setup.c \
698
	src/hostname-setup.h \
699
	src/selinux-setup.c \
700
	src/selinux-setup.h \
701
	src/ima-setup.c \
702 703
	src/ima-setup.h \
	src/loopback-setup.h \
704
	src/loopback-setup.c \
705
	src/kmod-setup.c \
706 707
	src/kmod-setup.h \
	src/locale-setup.h \
708
	src/locale-setup.c \
709
	src/machine-id-setup.c \
710
	src/machine-id-setup.h \
711
	src/fdset.c \
712
	src/fdset.h \
713
	src/cgroup-util.c \
714
	src/cgroup-util.h \
715
	src/condition.c \
716
	src/condition.h \
717
	src/dbus-common.c \
718
	src/dbus-common.h \
719
	src/install.c \
720 721
	src/install.h \
	src/specifier.c \
722
	src/specifier.h \
723
	src/namespace.c \
724
	src/namespace.h \
725
	src/unit-name.c \
726
	src/unit-name.h \
727
	src/tcpwrap.c \
728
	src/tcpwrap.h \
729
	src/cgroup-attr.c \
730
	src/cgroup-attr.h \
731 732
	src/watchdog.c \
	src/watchdog.h \
733 734
	src/sd-daemon.c \
	src/sd-id128.c \
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757
	src/macro.h \
	src/def.h \
	src/ioprio.h \
	src/missing.h \
	src/list.h \
	src/securebits.h \
	src/linux/auto_dev-ioctl.h \
	src/linux/fanotify.h \
	src/initreq.h \
	src/special.h \
	src/dbus-common.h \
	src/bus-errors.h \
	src/cgroup-show.h \
	src/build.h \
	src/shutdownd.h \
	src/umount.h \
	src/ask-password-api.h \
	src/pager.h \
	src/sysfs-show.h \
	src/polkit.h \
	src/dbus-loop.h \
	src/spawn-agent.h \
	src/logs-show.h
758

759
nodist_libsystemd_core_la_SOURCES = \
760 761
	src/load-fragment-gperf.c \
	src/load-fragment-gperf-nulstr.c
762

763
EXTRA_DIST += \
764
	src/load-fragment-gperf.gperf.m4
765

766 767 768
libsystemd_core_la_CFLAGS = \
	$(AM_CFLAGS) \
	$(DBUS_CFLAGS) \
769 770
	$(LIBWRAP_CFLAGS) \
	$(PAM_CFLAGS) \
771 772
	$(AUDIT_CFLAGS) \
	$(KMOD_CFLAGS)
773 774 775

libsystemd_core_la_LIBADD = \
	libsystemd-basic.la \
Kay Sievers's avatar
Kay Sievers committed
776
	libudev.la \
777 778
	$(DBUS_LIBS) \
	$(LIBWRAP_LIBS) \
779
	$(PAM_LIBS) \
780
	$(AUDIT_LIBS) \
781 782
	$(CAP_LIBS) \
	$(KMOD_LIBS)
783

784
# ------------------------------------------------------------------------------
785
systemd_SOURCES = \
786
	src/main.c
787

788 789
systemd_CFLAGS = \
	$(AM_CFLAGS) \
Kay Sievers's avatar
Kay Sievers committed
790