Makefile.am revision 53f7d807bff9c39e9e565ad2fb20f29b4306af40
9262a519468491c80df2998eda238e2ac86a810dLennart Poettering# This file is part of systemd.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering#
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Copyright 2010 Lennart Poettering
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers#
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers# systemd is free software; you can redistribute it and/or modify it
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# under the terms of the GNU General Public License as published by
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# the Free Software Foundation; either version 2 of the License, or
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# (at your option) any later version.
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering#
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# systemd is distributed in the hope that it will be useful, but
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# WITHOUT ANY WARRANTY; without even the implied warranty of
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# General Public License for more details.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering#
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# You should have received a copy of the GNU General Public License
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# along with systemd; If not, see <http://www.gnu.org/licenses/>.
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringACLOCAL_AMFLAGS = -I m4
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardóndbuspolicydir=$(sysconfdir)/dbus-1/system.d
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardónudevrulesdir=@udevrulesdir@
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardón
f9b557200b6d59a3dce1623d0873a259ee2fe421Lennart Poetteringpkgsysconfdir=$(sysconfdir)/systemd
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardónsystemunitdir=$(pkgdatadir)/system
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardónsessionunitdir=$(pkgdatadir)/session
4e949c11a1df4547d5f102e4131e07b026369cd7Javier Jardón
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAM_CPPFLAGS = \
78a825f216d39ee0295b00647b059d45467e1d02Kay Sievers -include $(top_builddir)/config.h \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
a80db8bd5f7f15859e8891aab9fc3694ce4cd0bdJavier Jardón -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
a80db8bd5f7f15859e8891aab9fc3694ce4cd0bdJavier Jardón -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
4db6d587c37c0357d20c79bf1a7c9afd4c7ced61Kay Sievers -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \
907dd1953b7517534d646f5b2777780020c896e2Kay Sievers -DSESSION_DATA_UNIT_PATH=\"$(sessionunitdir)\" \
eb7bbee6cd182d5c4eb1e1180631c35158f59379Kay Sievers -DCGROUP_AGENT_PATH=\"$(pkglibexecdir)/systemd-cgroups-agent\" \
bbd9b8c2139a70005e4e83d198575e2a10fe1db2Lennart Poettering -DSYSTEMD_BINARY_PATH=\"$(sbindir)/systemd\" \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers -I $(top_srcdir)/src
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering
22be093ffb403a1c474037939ca9b88b1ee39f77Lennart Poetteringsbin_PROGRAMS = \
d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2bcee systemd
d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2bcee
d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2bceebin_PROGRAMS = \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering systemctl
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieversif HAVE_GTK
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poetteringbin_PROGRAMS += \
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Nocera systemadm
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Noceraendif
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Nocera
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Nocerapkglibexec_PROGRAMS = \
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Nocera systemd-logger \
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Nocera systemd-cgroups-agent \
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart Poettering systemd-initctl
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart Poettering
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart Poetteringnoinst_PROGRAMS = \
3ce4fad8f548db9edb19869ea540e3192d2123f4Kay Sievers test-engine \
f975e971accc4d50c73ae53167db3df7a7099cf2Lennart Poettering test-job-type \
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart Poettering test-ns \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering test-loopback
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poetteringdist_dbuspolicy_DATA = \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering src/org.freedesktop.systemd1.conf
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieversdist_udevrules_DATA = \
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmek src/99-systemd.rules
92ec4495f76a7a2a6c31f5bb2a5240f78dcfe1d2Javier Jardón
b51fc639f01ee6194af3e7e944a79accce474fe1Dave Reisnerdist_systemunit_DATA = \
b51fc639f01ee6194af3e7e944a79accce474fe1Dave Reisner units/emergency.service \
b51fc639f01ee6194af3e7e944a79accce474fe1Dave Reisner units/getty.target \
96ede2601f27cd5fe52eed96b873bef55cd0ce23Lennart Poettering units/halt.target \
96ede2601f27cd5fe52eed96b873bef55cd0ce23Lennart Poettering units/local-fs.target \
80a5cbace45a6adbf2f9119edc5a4b10db493064Kay Sievers units/network.target \
92ec4495f76a7a2a6c31f5bb2a5240f78dcfe1d2Javier Jardón units/nss-lookup.target \
9e45e7d8f0d8d3f31d790f85694585d0d4b368b8Javier Jardón units/poweroff.target \
6e92b23f0d6dd398848376bbaf47e54a90ed3389Kay Sievers units/reboot.target \
92ec4495f76a7a2a6c31f5bb2a5240f78dcfe1d2Javier Jardón units/remote-fs.target \
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmek units/rescue.target \
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmek units/rpcbind.target \
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmek units/rtc-set.target \
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmek units/shutdown.target \
6e92b23f0d6dd398848376bbaf47e54a90ed3389Kay Sievers units/sigpwr.target \
0eaeca1f2373a323b98c86b47561d98e59c67b25Kay Sievers units/sockets.target \
6e92b23f0d6dd398848376bbaf47e54a90ed3389Kay Sievers units/swap.target \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers units/systemd-initctl.socket \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering units/systemd-logger.socket
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poetteringsystemunit_DATA = \
b62cfcea00862ccbf0e5e297f8a339f70987edefMichael Biebl units/basic.target \
b62cfcea00862ccbf0e5e297f8a339f70987edefMichael Biebl units/getty@.service \
b62cfcea00862ccbf0e5e297f8a339f70987edefMichael Biebl units/graphical.target \
9a60da2834074d970ca063c210fe9d2f05c70532Thierry Reding units/multi-user.target \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering units/systemd-initctl.service \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering units/systemd-logger.service \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering units/syslog.target
9c4fa6ed1069e98db5f01a5d1056b443a04cc7d9Lennart Poettering
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poetteringsessionunit_DATA = \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering units/session/remote-fs.target
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart PoetteringEXTRA_DIST = \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering units/basic.target.m4 \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering units/getty@.service.m4 \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering units/graphical.target.m4 \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering units/multi-user.target.m4 \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering units/remote-fs.target.m4 \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering units/systemd-initctl.service.in \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering units/systemd-logger.service.in \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering units/syslog.target.in \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering LICENSE \
8d7e170a5230753d8406276f8b5598e5bb6766e6Lennart Poettering README \
9c4fa6ed1069e98db5f01a5d1056b443a04cc7d9Lennart Poettering DISTRO_PORTING
eb2e280f9c59b66965c9316eadc4c113a13ca744Lucas De Marchi
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart Poetteringif TARGET_FEDORA
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringdist_systemunit_DATA += \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering units/fedora/halt.service \
27765dfc7a32d790badb29e6498b34edb0b60c33Lennart Poettering units/fedora/killall.service \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering units/fedora/poweroff.service \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering units/fedora/prefdm.service \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering units/fedora/rc-local.service \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering units/fedora/reboot.service \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering units/fedora/sysinit.service
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringendif
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering# This is needed because automake is buggy in how it generates the
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering# rules for C programs, but not Vala programs. We therefore can't
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering# list the .h files as dependencies if we want make dist to work.
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringBASIC_SOURCES = \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering src/util.c \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering src/hashmap.c \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering src/set.c \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering src/strv.c \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering src/conf-parser.c \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering src/socket-util.c \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering src/log.c \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering src/ratelimit.c
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringCOMMON_SOURCES = \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering $(BASIC_SOURCES) \
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart Poettering src/unit.c \
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart Poettering src/job.c \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering src/manager.c \
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart Poettering src/load-fragment.c \
8745297f9853c4a17bac69e1b7e652fe81bc1940Lennart Poettering src/service.c \
d200735e13c52dcfe36c0e066f9f6c2fbfb85a9cMichal Schmidt src/automount.c \
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart Poettering src/mount.c \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering src/swap.c \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering src/device.c \
9b85fc6a89386582bfe792dba881800b0a093839Gustavo Sverzut Barbieri src/target.c \
9b85fc6a89386582bfe792dba881800b0a093839Gustavo Sverzut Barbieri src/snapshot.c \
9b85fc6a89386582bfe792dba881800b0a093839Gustavo Sverzut Barbieri src/socket.c \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering src/timer.c \
c1663b9daf5a43425e54bbe3daf6b10e64578f80Lennart Poettering src/load-dropin.c \
c1663b9daf5a43425e54bbe3daf6b10e64578f80Lennart Poettering src/execute.c \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering src/dbus.c \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering src/dbus-manager.c \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering src/dbus-unit.c \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering src/dbus-job.c \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering src/dbus-service.c \
9e7adc3ae1133fa08a468768a490812299fad030Lucas De Marchi src/dbus-socket.c \
9e7adc3ae1133fa08a468768a490812299fad030Lucas De Marchi src/dbus-target.c \
9b85fc6a89386582bfe792dba881800b0a093839Gustavo Sverzut Barbieri src/dbus-mount.c \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering src/dbus-automount.c \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering src/dbus-swap.c \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering src/dbus-snapshot.c \
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering src/dbus-device.c \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering src/dbus-execute.c \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering src/cgroup.c \
afea26ad7d406d8b6c95d2642cb5a1d807b87546Lennart Poettering src/mount-setup.c \
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael Biebl src/hostname-setup.c \
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael Biebl src/loopback-setup.c \
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael Biebl src/utmp-wtmp.c \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering src/specifier.c \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering src/unit-name.c \
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael Biebl src/fdset.c \
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael Biebl src/namespace.c
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael Biebl
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringEXTRA_DIST += \
9388e99e208a6487b26dcbda86005ee9eba8d93dMichael Olbrich ${COMMON_SOURCES:.c=.h} \
4db17f291c627c885de668200ff8cce2e57c933fZbigniew Jędrzejewski-Szmek src/macro.h \
9388e99e208a6487b26dcbda86005ee9eba8d93dMichael Olbrich src/ioprio.h \
a8348796c0d39435b1c3d85ce6e95dad1ac85fecLennart Poettering src/missing.h \
9388e99e208a6487b26dcbda86005ee9eba8d93dMichael Olbrich src/list.h \
9388e99e208a6487b26dcbda86005ee9eba8d93dMichael Olbrich src/securebits.h \
a8348796c0d39435b1c3d85ce6e95dad1ac85fecLennart Poettering src/linux/auto_dev-ioctl.h \
b237ef2cfac7ab0b33170809e8cb64628606207dTollef Fog Heen src/initreq.h \
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer src/sd-daemon.h
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieversdist_man_MANS = \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers man/systemd.unit.5 \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers man/systemd.service.5
728beb28a713709f521d374c9f8f3da781969d26Tom Gundersen
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieversnodist_man_MANS = \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu man/systemd.special.7
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassudist_noinst_DATA = \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu man/systemd.unit.html \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu man/systemd.service.html
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassunodist_noinst_DATA = \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu man/systemd.special.html
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu
816115863962548a9a0d9fbfe429c7f8e685beacRoberto SassuEXTRA_DIST += \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu man/systemd.unit.xml \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu man/systemd.service.xml \
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu man/systemd.special.xml.in \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers man/systemd.special.7.in \
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering man/systemd.special.html.in
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poetteringsystemd_SOURCES = \
3f8cc098d218525710e5cbad9adf37001d3b6060Jan Engelhardt $(COMMON_SOURCES) \
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering src/main.c
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poetteringsystemd_CPPFLAGS = \
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering $(AM_CPPFLAGS) \
56cf987fe74270bde4e16c7ec9e0414a9030723bDaniel J Walsh $(DBUS_CFLAGS) \
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering $(UDEV_CFLAGS) \
ed061a8dc2acd93c2eb569d2d983d5a77f7e5b77Michal Schmidt $(CGROUP_CFLAGS)
ed061a8dc2acd93c2eb569d2d983d5a77f7e5b77Michal Schmidt
ed061a8dc2acd93c2eb569d2d983d5a77f7e5b77Michal Schmidtsystemd_LDADD = \
ed061a8dc2acd93c2eb569d2d983d5a77f7e5b77Michal Schmidt $(DBUS_LIBS) \
ed061a8dc2acd93c2eb569d2d983d5a77f7e5b77Michal Schmidt $(UDEV_LIBS) \
ed061a8dc2acd93c2eb569d2d983d5a77f7e5b77Michal Schmidt $(CGROUP_LIBS)
56cf987fe74270bde4e16c7ec9e0414a9030723bDaniel J Walsh
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieverstest_engine_SOURCES = \
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering $(COMMON_SOURCES) \
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering src/test-engine.c
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering
807e17f05e217b474af39503efb9503d81b12596Lennart Poetteringtest_engine_CPPFLAGS = $(systemd_CPPFLAGS)
807e17f05e217b474af39503efb9503d81b12596Lennart Poetteringtest_engine_LDADD = $(systemd_LDADD)
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering
807e17f05e217b474af39503efb9503d81b12596Lennart Poetteringtest_job_type_SOURCES = \
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering $(COMMON_SOURCES) \
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering src/test-engine.c
807e17f05e217b474af39503efb9503d81b12596Lennart Poettering
807e17f05e217b474af39503efb9503d81b12596Lennart Poetteringtest_job_type_CPPFLAGS = $(systemd_CPPFLAGS)
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieverstest_job_type_LDADD = $(systemd_LDADD)
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poetteringtest_ns_SOURCES = \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering $(BASIC_SOURCES) \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering src/test-ns.c \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering src/namespace.c
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poetteringtest_ns_CPPFLAGS = $(systemd_CPPFLAGS)
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poetteringtest_ns_LDADD = $(systemd_LDADD)
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poetteringtest_loopback_SOURCES = \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering $(BASIC_SOURCES) \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering src/test-loopback.c \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering src/loopback-setup.c
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poetteringtest_loopback_CPPFLAGS = $(systemd_CPPFLAGS)
812cce323db081634f37e4ec6d29f2b9328a3f52Lennart Poetteringtest_loopback_LDADD = $(systemd_LDADD)
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poetteringsystemd_logger_SOURCES = \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering $(BASIC_SOURCES) \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering src/logger.c \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering src/sd-daemon.c
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poetteringsystemd_initctl_SOURCES = \
0213c3f8102bdc934c629d11a44ca0b408762287Lennart Poettering $(BASIC_SOURCES) \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/initctl.c \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering src/sd-daemon.c
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poetteringsystemd_initctl_CPPFLAGS = \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering $(AM_CPPFLAGS) \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering $(DBUS_CFLAGS)
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poetteringsystemd_initctl_LDADD = \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering $(DBUS_LIBS)
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poetteringsystemd_cgroups_agent_SOURCES = \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering $(BASIC_SOURCES) \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering src/cgroups-agent.c
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poetteringsystemd_cgroups_agent_CPPFLAGS = \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering $(AM_CPPFLAGS) \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering $(DBUS_CFLAGS)
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poetteringsystemd_cgroups_agent_LDADD = \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering $(DBUS_LIBS)
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart PoetteringVALAFLAGS = \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering -g \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering --save-temps \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering --pkg=dbus-glib-1 \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering --pkg=posix
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poetteringif HAVE_GTK
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart PoetteringVALAFLAGS += \
812cce323db081634f37e4ec6d29f2b9328a3f52Lennart Poettering --pkg=gtk+-2.0
812cce323db081634f37e4ec6d29f2b9328a3f52Lennart Poetteringendif
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart PoetteringVALA_CFLAGS = \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering -Wno-unused-variable \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering -Wno-unused-function
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poetteringsystemctl_SOURCES = \
5b6319dceedd81f3f1ce7eb70ea5defaef43bcecLennart Poettering src/systemctl.vala \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers src/systemd-interfaces.vala
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poetteringsystemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(VALA_CFLAGS)
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poetteringsystemctl_LDADD = $(DBUSGLIB_LIBS)
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poetteringsystemadm_SOURCES = \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering src/systemadm.vala \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering src/systemd-interfaces.vala
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poetteringsystemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(VALA_CFLAGS)
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poetteringsystemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS)
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering
5eda94dda25bccda928c4b33c790dbe748573a22Lennart PoetteringSED_PROCESS = \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering $(SED) -e 's,@libexecdir\@,$(libexecdir),g' \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering < $< > $@
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poetteringunits/%: units/%.in Makefile
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering $(SED_PROCESS)
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poetteringman/%: man/%.in Makefile
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering $(SED_PROCESS)
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering
5eda94dda25bccda928c4b33c790dbe748573a22Lennart PoetteringM4_PROCESS_SYSTEM = \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering
5eda94dda25bccda928c4b33c790dbe748573a22Lennart PoetteringM4_PROCESS_SESSION = \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SESSION=1 < $< > $@
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poetteringunits/%: units/%.m4 Makefile
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering $(M4_PROCESS_SYSTEM)
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poetteringunits/session/%: units/%.m4 Makefile
5eda94dda25bccda928c4b33c790dbe748573a22Lennart Poettering $(M4_PROCESS_SESSION)
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering
feb12d3ed2c7f9132c64773c7c41b9e3a608a814Lennart PoetteringCLEANFILES = \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering src/systemd-interfaces.c \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering src/systemctl.c \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering src/systemadm.c \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering units/systemd-initctl.service \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering units/systemd-logger.service \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering units/syslog.target \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering units/basic.target \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering units/getty@.service \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering units/graphical.target \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering units/multi-user.target \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering units/remote-fs.target \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering units/session/remote-fs.target \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering man/systemd.special.7 \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering man/systemd.special.html
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poetteringif HAVE_XSLTPROC
7560fffcd2531786b9c1ca657667a43e90331326Lennart PoetteringXSLTPROC_PROCESS_MAN = \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering $(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering
7560fffcd2531786b9c1ca657667a43e90331326Lennart PoetteringXSLTPROC_PROCESS_MAN_IN = \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering $(XSLTPROC) -o ${@:.in=} -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering mv ${@:.in=} $@
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering
7560fffcd2531786b9c1ca657667a43e90331326Lennart PoetteringXSLTPROC_PROCESS_HTML = \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering $(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering
7560fffcd2531786b9c1ca657667a43e90331326Lennart PoetteringXSLTPROC_PROCESS_HTML_IN = \
7560fffcd2531786b9c1ca657667a43e90331326Lennart Poettering $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers $(XSLTPROC) -o ${@:.in=} -nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering mv ${@:.in=} $@
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringman/%.5: man/%.xml
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(XSLTPROC_PROCESS_MAN)
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringman/%.5.in: man/%.xml.in
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(XSLTPROC_PROCESS_MAN)
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringman/%.7: man/%.xml
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(XSLTPROC_PROCESS_MAN)
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringman/%.7.in: man/%.xml.in
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(XSLTPROC_PROCESS_MAN_IN)
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringman/%.html: man/%.xml
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(XSLTPROC_PROCESS_HTML)
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringman/%.html.in: man/%.xml.in
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(XSLTPROC_PROCESS_HTML_IN)
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart PoetteringCLEANFILES += \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(dist_man_MANS) \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering man/systemd.special.7.in \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering man/systemd.unit.html \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering man/systemd.service.html \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering man/systemd.special.html.in
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringendif
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poetteringinstall-data-hook:
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(MKDIR_P) -m 0755 \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(DESTDIR)$(systemunitdir) \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(DESTDIR)$(sessionunitdir) \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(DESTDIR)$(systemunitdir)/sockets.target.wants \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(DESTDIR)$(pkgsysconfdir)/system \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
4927fcae48de061393b3ce9c12d49f80d73fbf1dLennart Poettering $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants \
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering $(DESTDIR)$(pkgsysconfdir)/session \
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering $(DESTDIR)$(sysconfdir)/xdg/systemd
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering $(MKDIR_P) -m 0755 $(DESTDIR)/cgroup/systemd || \
880a599e262b9193219e612d827b35bb0c292daeTom Gundersen echo "Don't forget to create /cgroup/systemd! Couldn't create it for you, continuing anyway."
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering rm -f session && \
591622d7efbc828f00f190d91b6608148b967ff5Lennart Poettering $(LN_S) $(pkgsysconfdir)/session session )
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering rm -f systemd-initctl.socket systemd-logger.socket && \
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
7f4e08056de0184b205a20632e62db73d299937eLennart Poettering $(LN_S) ../systemd-initctl.socket systemd-initctl.socket )
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering ( cd $(DESTDIR)$(sessionunitdir) && \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering rm -f shutdown.target sockets.target local-fs.target swap.target && \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering $(LN_S) ../system/shutdown.target shutdown.target && \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering $(LN_S) ../system/sockets.target sockets.target && \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering $(LN_S) ../system/local-fs.target local-fs.target && \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering $(LN_S) ../system/swap.target swap.target )
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering ( cd $(DESTDIR)$(systemunitdir) && \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering rm -f runlevel0.target runlevel1.target runlevel6.target && \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering $(LN_S) poweroff.target runlevel0.target && \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering $(LN_S) rescue.target runlevel1.target && \
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering $(LN_S) reboot.target runlevel6.target )
f6a971bc0bf1252e9614919ccca0d53db5fc53d9Lennart Poettering ( cd $(DESTDIR)$(pkgsysconfdir)/system && \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering rm -f default.target ctrl-alt-del.target kbrequest.target && \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering $(LN_S) $(systemunitdir)/graphical.target default.target && \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering $(LN_S) $(systemunitdir)/reboot.target ctrl-alt-del.target && \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering $(LN_S) $(systemunitdir)/rescue.target kbrequest.target && \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering rm -f runlevel2.target runlevel3.target runlevel4.target runlevel5.target && \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering $(LN_S) $(systemunitdir)/multi-user.target runlevel2.target && \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering $(LN_S) $(systemunitdir)/multi-user.target runlevel3.target && \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering $(LN_S) $(systemunitdir)/multi-user.target runlevel4.target && \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering $(LN_S) $(systemunitdir)/graphical.target runlevel5.target )
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers $(LN_S) $(systemunitdir)/getty@.service getty@tty2.service && \
27669061f40766457db93d5cc3dfe00dce240806Miklos Vajna $(LN_S) $(systemunitdir)/getty@.service getty@tty3.service && \
27669061f40766457db93d5cc3dfe00dce240806Miklos Vajna $(LN_S) $(systemunitdir)/getty@.service getty@tty4.service && \
27669061f40766457db93d5cc3dfe00dce240806Miklos Vajna $(LN_S) $(systemunitdir)/getty@.service getty@tty5.service && \
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers $(LN_S) $(systemunitdir)/getty@.service getty@tty6.service )
27669061f40766457db93d5cc3dfe00dce240806Miklos Vajna ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
27669061f40766457db93d5cc3dfe00dce240806Miklos Vajna rm -f getty.target && \
27669061f40766457db93d5cc3dfe00dce240806Miklos Vajna $(LN_S) $(systemunitdir)/getty.target getty.target )
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieversif TARGET_FEDORA
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering ( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering rm -f prefdm.service && \
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering $(LN_S) $(systemunitdir)/prefdm.service prefdm.service )
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay Sievers ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering rm -f rc-local.service && \
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering ( cd $(DESTDIR)$(systemunitdir) && \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers rm -f local.service && \
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering $(LN_S) rc-local.service local.service )
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poetteringendif
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering
be31376e6c9add0786f31a38eec2ecfdb73eb115Kay SieversDISTCHECK_CONFIGURE_FLAGS = \
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering --with-udevrulesdir=$$dc_install_base/$(udevrulesdir)
e5e83e8362e946890ac991fc86a2c5869f9befdfLennart Poettering