]>
Commit | Line | Data |
---|---|---|
47be870b LP |
1 | # This file is part of systemd. |
2 | # | |
3 | # Copyright 2010 Lennart Poettering | |
4 | # | |
5 | # systemd is free software; you can redistribute it and/or modify it | |
6 | # under the terms of the GNU General Public License as published by | |
7 | # the Free Software Foundation; either version 2 of the License, or | |
8 | # (at your option) any later version. | |
9 | # | |
10 | # systemd is distributed in the hope that it will be useful, but | |
11 | # WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | # General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU General Public License | |
16 | # along with systemd; If not, see <http://www.gnu.org/licenses/>. | |
17 | ||
18 | ACLOCAL_AMFLAGS = -I m4 | |
19 | ||
8c4a3079 | 20 | # Dirs of external packages |
d122948d LP |
21 | dbuspolicydir=@dbuspolicydir@ |
22 | dbussessionservicedir=@dbussessionservicedir@ | |
23 | dbussystemservicedir=@dbussystemservicedir@ | |
24 | dbusinterfacedir=@dbusinterfacedir@ | |
d1ab0ca0 | 25 | udevrulesdir=@udevrulesdir@ |
8c6db833 LP |
26 | pamlibdir=@pamlibdir@ |
27 | pkgconfigdatadir=$(datadir)/pkgconfig | |
490aed58 | 28 | polkitpolicydir=$(datadir)/polkit-1/actions |
5a1e9937 | 29 | bashcompletiondir=$(sysconfdir)/bash_completion.d |
036643a2 | 30 | |
8c4a3079 | 31 | # Our own, non-special dirs |
d1ab0ca0 | 32 | pkgsysconfdir=$(sysconfdir)/systemd |
af2d49f7 | 33 | userunitdir=$(pkgdatadir)/user |
34c8deaa | 34 | tmpfilesdir=$(sysconfdir)/tmpfiles.d |
af2d49f7 | 35 | usergeneratordir=$(pkglibexecdir)/user-generators |
8c4a3079 LP |
36 | |
37 | # And these are the special ones for / | |
38 | rootdir=@rootdir@ | |
8c4a3079 | 39 | rootbindir=$(rootdir)/bin |
b1b2a107 | 40 | rootsbindir=$(rootdir)/sbin |
8c4a3079 LP |
41 | rootlibexecdir=$(rootdir)/lib/systemd |
42 | systemunitdir=$(rootdir)/lib/systemd/system | |
5a1e9937 | 43 | systemgeneratordir=$(rootdir)/lib/systemd/system-generators |
83cc030f | 44 | systemshutdowndir=$(rootdir)/lib/systemd/system-shutdown |
70fcff31 | 45 | |
47be870b | 46 | AM_CPPFLAGS = \ |
d3f09cf3 | 47 | -include $(top_builddir)/config.h \ |
487393e9 | 48 | -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \ |
036643a2 | 49 | -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \ |
70fcff31 | 50 | -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \ |
0571e011 | 51 | -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \ |
061978fa | 52 | -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \ |
af2d49f7 LP |
53 | -DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \ |
54 | -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \ | |
55 | -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \ | |
91901329 | 56 | -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \ |
f401faf5 | 57 | -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \ |
b1b2a107 | 58 | -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \ |
2cb1a60d | 59 | -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \ |
501fc174 | 60 | -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \ |
8c6db833 | 61 | -DRUNTIME_DIR=\"$(localstatedir)/run\" \ |
ca2cab5d | 62 | -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \ |
e23a0ce8 | 63 | -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \ |
5a1e9937 | 64 | -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \ |
af2d49f7 | 65 | -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \ |
83cc030f | 66 | -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \ |
e99e38bb | 67 | -I $(top_srcdir)/src |
47be870b | 68 | |
9841e8e3 GSB |
69 | if TARGET_GENTOO |
70 | AM_CPPFLAGS += \ | |
71 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
72 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
73 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
74 | else | |
c226fa41 LDM |
75 | if TARGET_ARCH |
76 | AM_CPPFLAGS += \ | |
77 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
78 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
79 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
80 | else | |
f5c88ec1 MV |
81 | if TARGET_FRUGALWARE |
82 | AM_CPPFLAGS += \ | |
83 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
84 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
85 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
86 | else | |
9841e8e3 GSB |
87 | AM_CPPFLAGS += \ |
88 | -DKBD_LOADKEYS=\"/bin/loadkeys\" \ | |
89 | -DKBD_SETFONT=\"/bin/setfont\" \ | |
90 | -DDEFAULT_FONT=\"latarcyrheb-sun16\" | |
91 | endif | |
c226fa41 | 92 | endif |
f5c88ec1 | 93 | endif |
9841e8e3 | 94 | |
8c4a3079 | 95 | rootbin_PROGRAMS = \ |
134dc482 | 96 | systemd \ |
4a2a8b5a | 97 | systemctl \ |
490aed58 | 98 | systemd-notify \ |
ec863ba6 | 99 | systemd-ask-password \ |
74ce487d LP |
100 | systemd-tty-ask-password-agent \ |
101 | systemd-tmpfiles | |
a9b5b032 | 102 | |
8c4a3079 | 103 | bin_PROGRAMS = \ |
fa776d8e | 104 | systemd-cgls |
10e87ee7 LP |
105 | |
106 | if HAVE_GTK | |
107 | bin_PROGRAMS += \ | |
490aed58 | 108 | systemadm \ |
d674a4ab | 109 | systemd-gnome-ask-password-agent |
a9b5b032 | 110 | endif |
8e274523 | 111 | |
8c4a3079 | 112 | rootlibexec_PROGRAMS = \ |
8e274523 | 113 | systemd-logger \ |
0b7964b8 | 114 | systemd-cgroups-agent \ |
4927fcae | 115 | systemd-initctl \ |
ca2cab5d | 116 | systemd-update-utmp \ |
f6144808 | 117 | systemd-random-seed \ |
5192bd19 | 118 | systemd-shutdownd \ |
b1b2a107 | 119 | systemd-shutdown \ |
449ddb2d | 120 | systemd-modules-load \ |
addab137 | 121 | systemd-remount-api-vfs \ |
97c4a07d | 122 | systemd-kmsg-syslogd \ |
490aed58 | 123 | systemd-vconsole-setup \ |
22be093f LP |
124 | systemd-reply-password \ |
125 | systemd-readahead-collect \ | |
5008d581 | 126 | systemd-readahead-replay \ |
3d20ed6d LP |
127 | systemd-user-sessions \ |
128 | systemd-fsck \ | |
e23a0ce8 | 129 | systemd-quotacheck \ |
06cdd248 | 130 | systemd-timestamp \ |
8e1bd70d | 131 | systemd-ac-power \ |
07faed4f | 132 | systemd-detect-virt \ |
8e1bd70d | 133 | systemd-sysctl |
47be870b | 134 | |
7f4e0805 LP |
135 | if HAVE_LIBCRYPTSETUP |
136 | rootlibexec_PROGRAMS += \ | |
137 | systemd-cryptsetup | |
138 | ||
5a1e9937 LP |
139 | systemgenerator_PROGRAMS = \ |
140 | systemd-cryptsetup-generator | |
7f4e0805 | 141 | endif |
5a1e9937 | 142 | |
47be870b LP |
143 | noinst_PROGRAMS = \ |
144 | test-engine \ | |
15ae422b | 145 | test-job-type \ |
af5bc85d | 146 | test-ns \ |
8c47c732 | 147 | test-loopback \ |
e5907703 | 148 | test-hostname \ |
8c6db833 | 149 | test-daemon \ |
c24eb49e | 150 | test-cgroup \ |
f90cf44c LP |
151 | test-env-replace \ |
152 | test-strv | |
8c6db833 LP |
153 | |
154 | if HAVE_PAM | |
155 | pamlib_LTLIBRARIES = \ | |
156 | pam_systemd.la | |
157 | endif | |
47be870b | 158 | |
487393e9 LP |
159 | dist_pkgsysconf_DATA = \ |
160 | src/system.conf | |
161 | ||
d1ab0ca0 | 162 | dist_dbuspolicy_DATA = \ |
dfac97b2 | 163 | src/org.freedesktop.systemd1.conf |
e24067c3 | 164 | |
d122948d LP |
165 | dist_dbussystemservice_DATA = \ |
166 | src/org.freedesktop.systemd1.service | |
167 | ||
d1ab0ca0 | 168 | dist_udevrules_DATA = \ |
dfac97b2 | 169 | src/99-systemd.rules |
5cc5d790 | 170 | |
d122948d | 171 | dbusinterface_DATA = \ |
4288f619 LP |
172 | org.freedesktop.systemd1.Manager.xml \ |
173 | org.freedesktop.systemd1.Job.xml \ | |
174 | org.freedesktop.systemd1.Unit.xml \ | |
175 | org.freedesktop.systemd1.Service.xml \ | |
176 | org.freedesktop.systemd1.Socket.xml \ | |
871d7de4 | 177 | org.freedesktop.systemd1.Timer.xml \ |
4288f619 LP |
178 | org.freedesktop.systemd1.Target.xml \ |
179 | org.freedesktop.systemd1.Device.xml \ | |
180 | org.freedesktop.systemd1.Mount.xml \ | |
181 | org.freedesktop.systemd1.Automount.xml \ | |
182 | org.freedesktop.systemd1.Snapshot.xml \ | |
01f78473 LP |
183 | org.freedesktop.systemd1.Swap.xml \ |
184 | org.freedesktop.systemd1.Path.xml | |
4288f619 | 185 | |
42bb3074 RB |
186 | dist_bashcompletion_DATA = \ |
187 | src/systemctl-bash-completion.sh | |
188 | ||
34c8deaa LP |
189 | dist_tmpfiles_DATA = \ |
190 | tmpfiles.d/systemd.conf \ | |
191 | tmpfiles.d/x11.conf | |
192 | ||
d1ab0ca0 | 193 | dist_systemunit_DATA = \ |
70fcff31 | 194 | units/emergency.service \ |
f057408c | 195 | units/emergency.target \ |
de47ca9b | 196 | units/sysinit.target \ |
f92a18f5 | 197 | units/basic.target \ |
5e6afdd3 LP |
198 | units/getty.target \ |
199 | units/halt.target \ | |
85ed27f6 | 200 | units/kexec.target \ |
70449379 | 201 | units/local-fs.target \ |
2f8cd170 | 202 | units/cryptsetup.target \ |
70449379 LP |
203 | units/network.target \ |
204 | units/nss-lookup.target \ | |
683f468c | 205 | units/mail-transfer-agent.target \ |
a2ff477f | 206 | units/http-daemon.target \ |
5e6afdd3 LP |
207 | units/poweroff.target \ |
208 | units/reboot.target \ | |
5e6afdd3 | 209 | units/rescue.target \ |
f0b02ca2 | 210 | units/rpcbind.target \ |
70449379 LP |
211 | units/rtc-set.target \ |
212 | units/shutdown.target \ | |
9aac953a | 213 | units/final.target \ |
4e67ddd6 | 214 | units/umount.target \ |
70449379 LP |
215 | units/sigpwr.target \ |
216 | units/sockets.target \ | |
217 | units/swap.target \ | |
83bda358 | 218 | units/dbus.target \ |
70fcff31 | 219 | units/systemd-initctl.socket \ |
670802d4 | 220 | units/systemd-logger.socket \ |
f6144808 | 221 | units/systemd-shutdownd.socket \ |
52f319b2 | 222 | units/syslog.socket \ |
670802d4 LP |
223 | units/dev-hugepages.automount \ |
224 | units/dev-hugepages.mount \ | |
225 | units/dev-mqueue.automount \ | |
226 | units/dev-mqueue.mount \ | |
227 | units/proc-sys-fs-binfmt_misc.automount \ | |
228 | units/proc-sys-fs-binfmt_misc.mount \ | |
229 | units/sys-kernel-debug.automount \ | |
230 | units/sys-kernel-debug.mount \ | |
6d526de2 LP |
231 | units/sys-kernel-security.automount \ |
232 | units/sys-kernel-security.mount \ | |
233 | units/var-lock.mount \ | |
da78e1b4 | 234 | units/var-run.mount \ |
5481ab2b | 235 | units/hwclock-load.service \ |
f556ea46 | 236 | units/hwclock-save.service \ |
90685f7d | 237 | units/remount-rootfs.service \ |
da78e1b4 | 238 | units/printer.target \ |
88dfa293 | 239 | units/sound.target \ |
ceda54d9 | 240 | units/bluetooth.target \ |
b15124f1 | 241 | units/smartcard.target \ |
3b63d2d3 | 242 | units/systemd-readahead-done.timer \ |
a9e1f5ec | 243 | units/systemd-tmpfiles-clean.timer \ |
306a7fd8 | 244 | units/quotaon.service \ |
e0e1580a | 245 | units/systemd-ask-password-wall.path \ |
8cf3a8a9 LP |
246 | units/systemd-ask-password-plymouth.path \ |
247 | units/systemd-ask-password-console.path | |
70fcff31 | 248 | |
6f6083dc | 249 | nodist_systemunit_DATA = \ |
5e6afdd3 | 250 | units/getty@.service \ |
93a45c56 | 251 | units/serial-getty@.service \ |
5e6afdd3 | 252 | units/graphical.target \ |
6f6083dc | 253 | units/remote-fs.target \ |
5e6afdd3 | 254 | units/multi-user.target \ |
dfac97b2 | 255 | units/systemd-initctl.service \ |
a7b6f8e5 | 256 | units/systemd-logger.service \ |
f6144808 | 257 | units/systemd-shutdownd.service \ |
addab137 | 258 | units/systemd-kmsg-syslogd.service \ |
b2423f1f | 259 | units/systemd-modules-load.service \ |
97c4a07d | 260 | units/systemd-vconsole-setup.service \ |
449ddb2d | 261 | units/systemd-remount-api-vfs.service \ |
cd6d0a45 LP |
262 | units/systemd-update-utmp-runlevel.service \ |
263 | units/systemd-update-utmp-shutdown.service \ | |
ca2cab5d LP |
264 | units/systemd-random-seed-save.service \ |
265 | units/systemd-random-seed-load.service \ | |
4bb2357f LP |
266 | units/systemd-readahead-collect.service \ |
267 | units/systemd-readahead-replay.service \ | |
c7b50859 | 268 | units/systemd-readahead-done.service \ |
3b63d2d3 LP |
269 | units/systemd-tmpfiles-setup.service \ |
270 | units/systemd-tmpfiles-clean.service \ | |
447be155 | 271 | units/systemd-user-sessions.service \ |
306a7fd8 | 272 | units/systemd-ask-password-wall.service \ |
e0e1580a | 273 | units/systemd-ask-password-plymouth.service \ |
8cf3a8a9 | 274 | units/systemd-ask-password-console.service \ |
8e1bd70d | 275 | units/systemd-sysctl.service \ |
85ed27f6 | 276 | units/syslog.target \ |
46574a5b LP |
277 | units/halt.service \ |
278 | units/poweroff.service \ | |
279 | units/reboot.service \ | |
a9e1f5ec LP |
280 | units/kexec.service \ |
281 | units/fsck@.service \ | |
335aa753 | 282 | units/fsck-root.service \ |
de47ca9b LP |
283 | units/quotacheck.service \ |
284 | units/rescue.service | |
d1ab0ca0 | 285 | |
af2d49f7 LP |
286 | dist_userunit_DATA = \ |
287 | units/user/default.target \ | |
288 | units/user/exit.target | |
0d26c910 | 289 | |
af2d49f7 LP |
290 | nodist_userunit_DATA = \ |
291 | units/user/remote-fs.target \ | |
292 | units/user/exit.service | |
fb1bd35a | 293 | |
e24067c3 | 294 | EXTRA_DIST = \ |
5e6afdd3 | 295 | units/getty@.service.m4 \ |
93a45c56 | 296 | units/serial-getty@.service.m4 \ |
5e6afdd3 LP |
297 | units/graphical.target.m4 \ |
298 | units/multi-user.target.m4 \ | |
705dbf3a | 299 | units/remote-fs.target.m4 \ |
de47ca9b | 300 | units/rescue.service.m4 \ |
70fcff31 | 301 | units/systemd-initctl.service.in \ |
70fcff31 | 302 | units/systemd-logger.service.in \ |
f6144808 | 303 | units/systemd-shutdownd.service.in \ |
addab137 | 304 | units/systemd-kmsg-syslogd.service.in \ |
b2423f1f | 305 | units/systemd-modules-load.service.in \ |
97c4a07d | 306 | units/systemd-vconsole-setup.service.in \ |
449ddb2d | 307 | units/systemd-remount-api-vfs.service.in \ |
cd6d0a45 LP |
308 | units/systemd-update-utmp-runlevel.service.in \ |
309 | units/systemd-update-utmp-shutdown.service.in \ | |
ca2cab5d LP |
310 | units/systemd-random-seed-save.service.in \ |
311 | units/systemd-random-seed-load.service.in \ | |
4bb2357f LP |
312 | units/systemd-readahead-collect.service.in \ |
313 | units/systemd-readahead-replay.service.in \ | |
c7b50859 | 314 | units/systemd-readahead-done.service.in \ |
3b63d2d3 LP |
315 | units/systemd-tmpfiles-setup.service.in \ |
316 | units/systemd-tmpfiles-clean.service.in \ | |
447be155 | 317 | units/systemd-user-sessions.service.in \ |
306a7fd8 | 318 | units/systemd-ask-password-wall.service.in \ |
e0e1580a | 319 | units/systemd-ask-password-plymouth.service.in \ |
8cf3a8a9 | 320 | units/systemd-ask-password-console.service.in \ |
8e1bd70d | 321 | units/systemd-sysctl.service.in \ |
a7b6f8e5 | 322 | units/syslog.target.in \ |
46574a5b LP |
323 | units/halt.service.in \ |
324 | units/poweroff.service.in \ | |
325 | units/reboot.service.in \ | |
85ed27f6 | 326 | units/kexec.service.in \ |
af2d49f7 | 327 | units/user/exit.service.in \ |
a9e1f5ec LP |
328 | units/fsck@.service.in \ |
329 | units/fsck-root.service.in \ | |
335aa753 | 330 | units/quotacheck.service.in \ |
46891d97 TR |
331 | systemd.pc.in \ |
332 | introspect.awk | |
e24067c3 | 333 | |
5e6afdd3 LP |
334 | if TARGET_FEDORA |
335 | dist_systemunit_DATA += \ | |
5e6afdd3 LP |
336 | units/fedora/prefdm.service \ |
337 | units/fedora/rc-local.service \ | |
cd3f8b7d JM |
338 | units/fedora/halt-local.service |
339 | endif | |
340 | ||
341 | if HAVE_PLYMOUTH | |
342 | dist_systemunit_DATA += \ | |
343 | units/plymouth-start.service \ | |
344 | units/plymouth-read-write.service \ | |
345 | units/plymouth-quit.service \ | |
346 | units/plymouth-reboot.service \ | |
347 | units/plymouth-kexec.service \ | |
348 | units/plymouth-poweroff.service \ | |
349 | units/plymouth-halt.service | |
5e6afdd3 LP |
350 | endif |
351 | ||
240a3a85 LP |
352 | dist_doc_DATA = \ |
353 | README \ | |
795750ca LP |
354 | LICENSE \ |
355 | DISTRO_PORTING \ | |
240a3a85 | 356 | src/sd-daemon.h \ |
d0b48809 LP |
357 | src/sd-daemon.c \ |
358 | src/sd-readahead.h \ | |
359 | src/sd-readahead.c | |
240a3a85 | 360 | |
8c6db833 LP |
361 | pkgconfigdata_DATA = \ |
362 | systemd.pc | |
363 | ||
490aed58 LP |
364 | dist_polkitpolicy_DATA = \ |
365 | src/org.freedesktop.systemd1.policy | |
366 | ||
139be57d LP |
367 | noinst_LTLIBRARIES = \ |
368 | libsystemd-basic.la \ | |
2f6a1ab1 MB |
369 | libsystemd-core.la \ |
370 | libsystemd-daemon.la | |
139be57d | 371 | |
139be57d | 372 | libsystemd_basic_la_SOURCES = \ |
d3f09cf3 | 373 | src/util.c \ |
e51bc1a2 | 374 | src/label.c \ |
d3f09cf3 KS |
375 | src/hashmap.c \ |
376 | src/set.c \ | |
377 | src/strv.c \ | |
378 | src/conf-parser.c \ | |
379 | src/socket-util.c \ | |
380 | src/log.c \ | |
83cc030f LP |
381 | src/ratelimit.c \ |
382 | src/exit-status.c | |
47be870b | 383 | |
4927fcae LP |
384 | libsystemd_basic_la_CFLAGS = \ |
385 | $(AM_CFLAGS) \ | |
386 | $(SELINUX_CFLAGS) | |
387 | ||
388 | libsystemd_basic_la_LIBADD = \ | |
389 | $(SELINUX_LIBS) | |
390 | ||
139be57d | 391 | libsystemd_core_la_SOURCES = \ |
e99e38bb | 392 | src/unit.c \ |
d3f09cf3 KS |
393 | src/job.c \ |
394 | src/manager.c \ | |
84e3543e | 395 | src/path-lookup.c \ |
d3f09cf3 KS |
396 | src/load-fragment.c \ |
397 | src/service.c \ | |
398 | src/automount.c \ | |
399 | src/mount.c \ | |
400 | src/swap.c \ | |
401 | src/device.c \ | |
402 | src/target.c \ | |
403 | src/snapshot.c \ | |
404 | src/socket.c \ | |
405 | src/timer.c \ | |
01f78473 | 406 | src/path.c \ |
d3f09cf3 KS |
407 | src/load-dropin.c \ |
408 | src/execute.c \ | |
169c1bda | 409 | src/utmp-wtmp.c \ |
d3f09cf3 KS |
410 | src/dbus.c \ |
411 | src/dbus-manager.c \ | |
412 | src/dbus-unit.c \ | |
413 | src/dbus-job.c \ | |
e99e38bb LP |
414 | src/dbus-service.c \ |
415 | src/dbus-socket.c \ | |
871d7de4 | 416 | src/dbus-timer.c \ |
e99e38bb LP |
417 | src/dbus-target.c \ |
418 | src/dbus-mount.c \ | |
419 | src/dbus-automount.c \ | |
420 | src/dbus-swap.c \ | |
421 | src/dbus-snapshot.c \ | |
422 | src/dbus-device.c \ | |
423 | src/dbus-execute.c \ | |
01f78473 | 424 | src/dbus-path.c \ |
e99e38bb LP |
425 | src/cgroup.c \ |
426 | src/mount-setup.c \ | |
427 | src/hostname-setup.c \ | |
c4dcdb9f | 428 | src/selinux-setup.c \ |
e99e38bb | 429 | src/loopback-setup.c \ |
11c3a4ee | 430 | src/kmod-setup.c \ |
72bca11b | 431 | src/locale-setup.c \ |
e99e38bb LP |
432 | src/specifier.c \ |
433 | src/unit-name.c \ | |
434 | src/fdset.c \ | |
0213c3f8 | 435 | src/namespace.c \ |
8c6db833 | 436 | src/tcpwrap.c \ |
52661efd LP |
437 | src/cgroup-util.c \ |
438 | src/condition.c | |
47be870b | 439 | |
139be57d LP |
440 | libsystemd_core_la_CFLAGS = \ |
441 | $(AM_CFLAGS) \ | |
442 | $(DBUS_CFLAGS) \ | |
4927fcae LP |
443 | $(UDEV_CFLAGS) \ |
444 | $(LIBWRAP_CFLAGS) \ | |
445 | $(PAM_CFLAGS) \ | |
446 | $(AUDIT_CFLAGS) | |
139be57d LP |
447 | |
448 | libsystemd_core_la_LIBADD = \ | |
449 | libsystemd-basic.la \ | |
450 | $(DBUS_LIBS) \ | |
451 | $(UDEV_LIBS) \ | |
139be57d | 452 | $(LIBWRAP_LIBS) \ |
7a58bfa4 | 453 | $(PAM_LIBS) \ |
4927fcae | 454 | $(AUDIT_LIBS) |
139be57d | 455 | |
2f6a1ab1 MB |
456 | libsystemd_daemon_la_SOURCES = \ |
457 | src/sd-daemon.c | |
458 | ||
9a1ac7b9 LP |
459 | # This is needed because automake is buggy in how it generates the |
460 | # rules for C programs, but not Vala programs. We therefore can't | |
461 | # list the .h files as dependencies if we want make dist to work. | |
462 | ||
462b33e9 | 463 | EXTRA_DIST += \ |
139be57d LP |
464 | ${libsystemd_basic_la_SOURCES:.c=.h} \ |
465 | ${libsystemd_core_la_SOURCES:.c=.h} \ | |
2f6a1ab1 | 466 | ${libsystemd_daemon_la_SOURCES:.c=.h} \ |
e99e38bb LP |
467 | src/macro.h \ |
468 | src/ioprio.h \ | |
469 | src/missing.h \ | |
470 | src/list.h \ | |
471 | src/securebits.h \ | |
472 | src/linux/auto_dev-ioctl.h \ | |
30b89475 | 473 | src/linux/fanotify.h \ |
e99e38bb | 474 | src/initreq.h \ |
d0b48809 | 475 | src/sd-readahead.h \ |
9a1ac7b9 | 476 | src/special.h \ |
398ef8ba | 477 | src/dbus-common.h \ |
ab35fb1b | 478 | src/bus-errors.h \ |
cd6d0a45 | 479 | src/cgroup-show.h \ |
f6144808 | 480 | src/build.h \ |
30b89475 | 481 | src/shutdownd.h \ |
26e190cf | 482 | src/umount.h \ |
7f4e0805 LP |
483 | src/readahead-common.h \ |
484 | src/ask-password-api.h | |
6f6083dc LP |
485 | |
486 | MANPAGES = \ | |
160cd5c9 | 487 | man/systemd.1 \ |
6f6083dc LP |
488 | man/systemctl.1 \ |
489 | man/systemadm.1 \ | |
fa776d8e | 490 | man/systemd-cgls.1 \ |
522d4a49 | 491 | man/systemd-tmpfiles.8 \ |
c5abba08 | 492 | man/systemd-notify.1 \ |
f9378423 | 493 | man/sd_notify.3 \ |
6624768c | 494 | man/sd_readahead.3 \ |
f9378423 LP |
495 | man/sd_booted.3 \ |
496 | man/sd_listen_fds.3 \ | |
497 | man/sd_is_fifo.3 \ | |
6f6083dc LP |
498 | man/systemd.unit.5 \ |
499 | man/systemd.service.5 \ | |
1f812fea | 500 | man/systemd.socket.5 \ |
cdb788e4 | 501 | man/systemd.mount.5 \ |
65232ea7 | 502 | man/systemd.automount.5 \ |
e0cabd4b | 503 | man/systemd.swap.5 \ |
11fcc3ab | 504 | man/systemd.timer.5 \ |
b36b082c | 505 | man/systemd.path.5 \ |
da49e9ab | 506 | man/systemd.target.5 \ |
eec575d8 | 507 | man/systemd.device.5 \ |
b2c20dd9 | 508 | man/systemd.snapshot.5 \ |
dd1eb43b | 509 | man/systemd.exec.5 \ |
6f6083dc | 510 | man/daemon.7 \ |
359957ee | 511 | man/sd-daemon.7 \ |
e62e6670 | 512 | man/sd-readahead.7 \ |
359957ee | 513 | man/runlevel.8 \ |
160cd5c9 LP |
514 | man/telinit.8 \ |
515 | man/halt.8 \ | |
516 | man/shutdown.8 \ | |
f3e219a2 | 517 | man/pam_systemd.8 \ |
4149f86d | 518 | man/systemd.conf.5 \ |
6a7e63ef | 519 | man/tmpfiles.d.5 \ |
eeca220b | 520 | man/hostname.5 \ |
ee486472 | 521 | man/vconsole.conf.5 \ |
e17fb729 | 522 | man/locale.conf.5 \ |
a7c64469 LP |
523 | man/os-release.5 \ |
524 | man/modules-load.d.5 | |
6f6083dc LP |
525 | |
526 | MANPAGES_ALIAS = \ | |
527 | man/reboot.8 \ | |
528 | man/poweroff.8 \ | |
529 | man/sd_is_socket.3 \ | |
530 | man/sd_is_socket_unix.3 \ | |
531 | man/sd_is_socket_inet.3 \ | |
532 | man/sd_notifyf.3 \ | |
533 | man/init.1 | |
534 | ||
535 | man/reboot.8: man/halt.8 | |
536 | man/poweroff.8: man/halt.8 | |
537 | man/sd_is_socket.3: man/sd_is_fifo.3 | |
538 | man/sd_is_socket_unix.3: man/sd_is_fifo.3 | |
539 | man/sd_is_socket_inet.3: man/sd_is_fifo.3 | |
540 | man/sd_notifyf.3: man/sd_notify.3 | |
541 | man/init.1: man/systemd.1 | |
542 | ||
543 | dist_man_MANS = \ | |
544 | $(MANPAGES) \ | |
545 | $(MANPAGES_ALIAS) | |
9f2c5942 LP |
546 | |
547 | nodist_man_MANS = \ | |
9f235308 | 548 | man/systemd.special.7 |
d1ab0ca0 | 549 | |
6f6083dc LP |
550 | XML_FILES = \ |
551 | ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}} | |
552 | ||
553 | XML_IN_FILES = \ | |
554 | ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}} | |
555 | ||
9f2c5942 | 556 | dist_noinst_DATA = \ |
6f6083dc | 557 | ${XML_FILES:.xml=.html} |
d1ab0ca0 | 558 | |
9f2c5942 | 559 | nodist_noinst_DATA = \ |
6f6083dc | 560 | ${XML_IN_FILES:.xml.in=.html} |
d1ab0ca0 LP |
561 | |
562 | EXTRA_DIST += \ | |
6f6083dc LP |
563 | $(XML_FILES) \ |
564 | $(XML_IN_FILES) \ | |
565 | ${nodist_man_MANS:=.in} \ | |
566 | ${XML_IN_FILES:.xml.in=.html.in} | |
d1ab0ca0 | 567 | |
47be870b | 568 | systemd_SOURCES = \ |
e99e38bb | 569 | src/main.c |
47be870b | 570 | |
10e87ee7 LP |
571 | systemd_CFLAGS = \ |
572 | $(AM_CFLAGS) \ | |
47be870b | 573 | $(DBUS_CFLAGS) \ |
35d2e7ec | 574 | $(UDEV_CFLAGS) |
47be870b LP |
575 | |
576 | systemd_LDADD = \ | |
139be57d | 577 | libsystemd-core.la |
47be870b LP |
578 | |
579 | test_engine_SOURCES = \ | |
e99e38bb | 580 | src/test-engine.c |
47be870b | 581 | |
10e87ee7 | 582 | test_engine_CFLAGS = $(systemd_CFLAGS) |
47be870b LP |
583 | test_engine_LDADD = $(systemd_LDADD) |
584 | ||
585 | test_job_type_SOURCES = \ | |
e1d680ad | 586 | src/test-job-type.c |
47be870b | 587 | |
10e87ee7 | 588 | test_job_type_CFLAGS = $(systemd_CFLAGS) |
47be870b LP |
589 | test_job_type_LDADD = $(systemd_LDADD) |
590 | ||
15ae422b | 591 | test_ns_SOURCES = \ |
139be57d | 592 | src/test-ns.c |
15ae422b | 593 | |
10e87ee7 | 594 | test_ns_CFLAGS = $(systemd_CFLAGS) |
15ae422b LP |
595 | test_ns_LDADD = $(systemd_LDADD) |
596 | ||
af5bc85d | 597 | test_loopback_SOURCES = \ |
e99e38bb LP |
598 | src/test-loopback.c \ |
599 | src/loopback-setup.c | |
af5bc85d | 600 | |
139be57d LP |
601 | test_loopback_LDADD = \ |
602 | libsystemd-basic.la | |
603 | ||
e5907703 LP |
604 | test_hostname_SOURCES = \ |
605 | src/test-hostname.c \ | |
606 | src/hostname-setup.c | |
607 | ||
608 | test_hostname_LDADD = \ | |
609 | libsystemd-basic.la | |
610 | ||
8c47c732 | 611 | test_daemon_SOURCES = \ |
2f6a1ab1 | 612 | src/test-daemon.c |
af5bc85d | 613 | |
139be57d | 614 | test_daemon_LDADD = \ |
2f6a1ab1 MB |
615 | libsystemd-basic.la \ |
616 | libsystemd-daemon.la | |
139be57d | 617 | |
8c6db833 LP |
618 | test_cgroup_SOURCES = \ |
619 | src/test-cgroup.c \ | |
620 | src/cgroup-util.c | |
621 | ||
622 | test_cgroup_CFLAGS = \ | |
35d2e7ec | 623 | $(AM_CFLAGS) |
8c6db833 LP |
624 | |
625 | test_cgroup_LDADD = \ | |
35d2e7ec | 626 | libsystemd-basic.la |
8c6db833 | 627 | |
c24eb49e LP |
628 | test_env_replace_SOURCES = \ |
629 | src/test-env-replace.c | |
630 | ||
631 | test_env_replace_CFLAGS = \ | |
632 | $(AM_CFLAGS) | |
633 | ||
634 | test_env_replace_LDADD = \ | |
635 | libsystemd-basic.la | |
636 | ||
f90cf44c | 637 | test_strv_SOURCES = \ |
2c4b304e | 638 | src/test-strv.c \ |
c292c495 | 639 | src/specifier.c |
f90cf44c LP |
640 | |
641 | test_strv_CFLAGS = \ | |
642 | $(AM_CFLAGS) | |
643 | ||
644 | test_strv_LDADD = \ | |
645 | libsystemd-basic.la | |
646 | ||
47be870b | 647 | systemd_logger_SOURCES = \ |
e99e38bb | 648 | src/logger.c \ |
0213c3f8 LP |
649 | src/tcpwrap.c |
650 | ||
651 | systemd_logger_LDADD = \ | |
139be57d | 652 | libsystemd-basic.la \ |
2f6a1ab1 | 653 | libsystemd-daemon.la \ |
0213c3f8 | 654 | $(LIBWRAP_LIBS) |
47be870b | 655 | |
0b7964b8 | 656 | systemd_initctl_SOURCES = \ |
e99e38bb | 657 | src/initctl.c \ |
a822056b | 658 | src/dbus-common.c |
0b7964b8 | 659 | |
10e87ee7 LP |
660 | systemd_initctl_CFLAGS = \ |
661 | $(AM_CFLAGS) \ | |
0b7964b8 LP |
662 | $(DBUS_CFLAGS) |
663 | ||
664 | systemd_initctl_LDADD = \ | |
139be57d | 665 | libsystemd-basic.la \ |
2f6a1ab1 | 666 | libsystemd-daemon.la \ |
0b7964b8 LP |
667 | $(DBUS_LIBS) |
668 | ||
4927fcae LP |
669 | systemd_update_utmp_SOURCES = \ |
670 | src/update-utmp.c \ | |
671 | src/dbus-common.c \ | |
672 | src/utmp-wtmp.c | |
673 | ||
674 | systemd_update_utmp_CFLAGS = \ | |
675 | $(AM_CFLAGS) \ | |
676 | $(DBUS_CFLAGS) \ | |
677 | $(AUDIT_CFLAGS) | |
678 | ||
679 | systemd_update_utmp_LDADD = \ | |
680 | libsystemd-basic.la \ | |
681 | $(DBUS_LIBS) \ | |
682 | $(AUDIT_LIBS) | |
683 | ||
ca2cab5d LP |
684 | systemd_random_seed_SOURCES = \ |
685 | src/random-seed.c | |
686 | ||
687 | systemd_random_seed_CFLAGS = \ | |
688 | $(AM_CFLAGS) | |
689 | ||
690 | systemd_random_seed_LDADD = \ | |
691 | libsystemd-basic.la | |
692 | ||
f6144808 | 693 | systemd_shutdownd_SOURCES = \ |
9be9828c | 694 | src/utmp-wtmp.c \ |
f6144808 LP |
695 | src/shutdownd.c |
696 | ||
697 | systemd_shutdownd_CFLAGS = \ | |
698 | $(AM_CFLAGS) | |
699 | ||
700 | systemd_shutdownd_LDADD = \ | |
2f6a1ab1 MB |
701 | libsystemd-basic.la \ |
702 | libsystemd-daemon.la | |
f6144808 | 703 | |
b1b2a107 FF |
704 | systemd_shutdown_SOURCES = \ |
705 | src/mount-setup.c \ | |
706 | src/umount.c \ | |
707 | src/shutdown.c | |
708 | ||
709 | systemd_shutdown_CFLAGS = \ | |
710 | $(AM_CFLAGS) \ | |
711 | $(UDEV_CFLAGS) | |
712 | ||
713 | systemd_shutdown_LDADD = \ | |
714 | libsystemd-basic.la \ | |
715 | $(UDEV_LIBS) | |
716 | ||
b2423f1f LP |
717 | systemd_modules_load_SOURCES = \ |
718 | src/modules-load.c | |
719 | ||
720 | systemd_modules_load_CFLAGS = \ | |
721 | $(AM_CFLAGS) | |
722 | ||
3d20ed6d | 723 | systemd_modules_load_LDADD = \ |
5008d581 LP |
724 | libsystemd-basic.la |
725 | ||
bfaf42d2 LP |
726 | systemd_tmpfiles_SOURCES = \ |
727 | src/tmpfiles.c | |
5008d581 | 728 | |
bfaf42d2 | 729 | systemd_tmpfiles_CFLAGS = \ |
5008d581 LP |
730 | $(AM_CFLAGS) |
731 | ||
3d20ed6d LP |
732 | systemd_tmpfiles_LDADD = \ |
733 | libsystemd-basic.la | |
734 | ||
8e1bd70d LP |
735 | systemd_sysctl_SOURCES = \ |
736 | src/sysctl.c | |
737 | ||
738 | systemd_sysctl_CFLAGS = \ | |
739 | $(AM_CFLAGS) | |
740 | ||
741 | systemd_sysctl_LDADD = \ | |
742 | libsystemd-basic.la | |
743 | ||
3d20ed6d LP |
744 | systemd_fsck_SOURCES = \ |
745 | src/fsck.c \ | |
3d20ed6d LP |
746 | src/dbus-common.c |
747 | ||
748 | systemd_fsck_CFLAGS = \ | |
749 | $(AM_CFLAGS) \ | |
750 | $(UDEV_CFLAGS) \ | |
751 | $(DBUS_CFLAGS) | |
752 | ||
753 | systemd_fsck_LDADD = \ | |
754 | libsystemd-basic.la \ | |
755 | $(UDEV_LIBS) \ | |
756 | $(DBUS_LIBS) | |
757 | ||
758 | systemd_quotacheck_SOURCES = \ | |
759 | src/quotacheck.c | |
760 | ||
761 | systemd_quotacheck_CFLAGS = \ | |
762 | $(AM_CFLAGS) | |
763 | ||
764 | systemd_quotacheck_LDADD = \ | |
e9278741 LP |
765 | libsystemd-basic.la |
766 | ||
e9ddabc2 LP |
767 | systemd_timestamp_SOURCES = \ |
768 | src/timestamp.c | |
769 | ||
770 | systemd_timestamp_CFLAGS = \ | |
771 | $(AM_CFLAGS) | |
772 | ||
773 | systemd_timestamp_LDADD = \ | |
774 | libsystemd-basic.la | |
775 | ||
06cdd248 LP |
776 | systemd_ac_power_SOURCES = \ |
777 | src/ac-power.c | |
778 | ||
779 | systemd_ac_power_CFLAGS = \ | |
780 | $(AM_CFLAGS) \ | |
781 | $(UDEV_CFLAGS) | |
782 | ||
783 | systemd_ac_power_LDADD = \ | |
784 | libsystemd-basic.la \ | |
785 | $(UDEV_LIBS) | |
786 | ||
07faed4f LP |
787 | systemd_detect_virt_SOURCES = \ |
788 | src/detect-virt.c | |
789 | ||
790 | systemd_detect_virt_CFLAGS = \ | |
791 | $(AM_CFLAGS) | |
792 | ||
793 | systemd_detect_virt_LDADD = \ | |
794 | libsystemd-basic.la | |
795 | ||
e23a0ce8 | 796 | systemd_cryptsetup_SOURCES = \ |
7f4e0805 LP |
797 | src/cryptsetup.c \ |
798 | src/ask-password-api.c | |
e23a0ce8 LP |
799 | |
800 | systemd_cryptsetup_CFLAGS = \ | |
7f4e0805 | 801 | $(LIBCRYPTSETUP_CFLAGS) \ |
b1a2da0a | 802 | $(UDEV_CFLAGS) \ |
e23a0ce8 LP |
803 | $(AM_CFLAGS) |
804 | ||
805 | systemd_cryptsetup_LDADD = \ | |
7f4e0805 | 806 | $(LIBCRYPTSETUP_LIBS) \ |
b1a2da0a | 807 | $(UDEV_LIBS) \ |
e23a0ce8 LP |
808 | libsystemd-basic.la |
809 | ||
810 | systemd_cryptsetup_generator_SOURCES = \ | |
811 | src/cryptsetup-generator.c \ | |
812 | src/unit-name.c | |
813 | ||
814 | systemd_cryptsetup_generator_CFLAGS = \ | |
815 | $(AM_CFLAGS) | |
816 | ||
817 | systemd_cryptsetup_generator_LDADD = \ | |
818 | libsystemd-basic.la | |
819 | ||
e9278741 LP |
820 | systemd_user_sessions_SOURCES = \ |
821 | src/user-sessions.c \ | |
822 | src/cgroup-util.c | |
823 | ||
824 | systemd_user_sessions_CFLAGS = \ | |
825 | $(AM_CFLAGS) | |
826 | ||
3d20ed6d | 827 | systemd_user_sessions_LDADD = \ |
b2423f1f LP |
828 | libsystemd-basic.la |
829 | ||
97c4a07d LP |
830 | systemd_vconsole_setup_SOURCES = \ |
831 | src/vconsole-setup.c | |
832 | ||
833 | systemd_vconsole_setup_CFLAGS = \ | |
834 | $(AM_CFLAGS) | |
835 | ||
836 | systemd_vconsole_setup_LDADD = \ | |
837 | libsystemd-basic.la | |
838 | ||
449ddb2d LP |
839 | systemd_remount_api_vfs_SOURCES = \ |
840 | src/remount-api-vfs.c \ | |
9a57c629 LP |
841 | src/mount-setup.c \ |
842 | src/exit-status.c | |
449ddb2d LP |
843 | |
844 | systemd_remount_api_vfs_CFLAGS = \ | |
845 | $(AM_CFLAGS) | |
846 | ||
847 | systemd_remount_api_vfs_LDADD = \ | |
848 | libsystemd-basic.la | |
849 | ||
8e274523 | 850 | systemd_cgroups_agent_SOURCES = \ |
3c661fad LP |
851 | src/cgroups-agent.c \ |
852 | src/dbus-common.c | |
8e274523 | 853 | |
10e87ee7 LP |
854 | systemd_cgroups_agent_CFLAGS = \ |
855 | $(AM_CFLAGS) \ | |
8e274523 LP |
856 | $(DBUS_CFLAGS) |
857 | ||
858 | systemd_cgroups_agent_LDADD = \ | |
139be57d | 859 | libsystemd-basic.la \ |
8e274523 LP |
860 | $(DBUS_LIBS) |
861 | ||
addab137 LP |
862 | systemd_kmsg_syslogd_SOURCES = \ |
863 | src/kmsg-syslogd.c \ | |
addab137 LP |
864 | src/fdset.c |
865 | ||
866 | systemd_kmsg_syslogd_CFLAGS = \ | |
867 | $(AM_CFLAGS) | |
868 | ||
869 | systemd_kmsg_syslogd_LDADD = \ | |
2f6a1ab1 MB |
870 | libsystemd-basic.la \ |
871 | libsystemd-daemon.la | |
addab137 | 872 | |
7e4249b9 LP |
873 | systemctl_SOURCES = \ |
874 | src/systemctl.c \ | |
9a1ac7b9 | 875 | src/utmp-wtmp.c \ |
ab35fb1b | 876 | src/dbus-common.c \ |
ee5762e3 | 877 | src/path-lookup.c \ |
c6c18be3 | 878 | src/cgroup-show.c \ |
d06dacd0 | 879 | src/cgroup-util.c \ |
71fad675 LP |
880 | src/exit-status.c \ |
881 | src/unit-name.c | |
139be57d LP |
882 | |
883 | systemctl_CFLAGS = \ | |
884 | $(AM_CFLAGS) \ | |
35d2e7ec | 885 | $(DBUS_CFLAGS) |
7e4249b9 | 886 | |
139be57d LP |
887 | systemctl_LDADD = \ |
888 | libsystemd-basic.la \ | |
2f6a1ab1 | 889 | libsystemd-daemon.la \ |
35d2e7ec | 890 | $(DBUS_LIBS) |
7e4249b9 | 891 | |
4a2a8b5a LP |
892 | systemd_notify_SOURCES = \ |
893 | src/notify.c \ | |
d0b48809 | 894 | src/sd-readahead.c |
139be57d LP |
895 | |
896 | systemd_notify_LDADD = \ | |
2f6a1ab1 MB |
897 | libsystemd-basic.la \ |
898 | libsystemd-daemon.la | |
4a2a8b5a | 899 | |
490aed58 | 900 | systemd_ask_password_SOURCES = \ |
7f4e0805 LP |
901 | src/ask-password.c \ |
902 | src/ask-password-api.c | |
490aed58 LP |
903 | |
904 | systemd_ask_password_LDADD = \ | |
905 | libsystemd-basic.la | |
906 | ||
907 | systemd_reply_password_SOURCES = \ | |
908 | src/reply-password.c | |
909 | ||
910 | systemd_reply_password_LDADD = \ | |
911 | libsystemd-basic.la | |
912 | ||
22be093f LP |
913 | systemd_readahead_collect_SOURCES = \ |
914 | src/readahead-collect.c \ | |
22be093f LP |
915 | src/readahead-common.c |
916 | ||
917 | systemd_readahead_collect_CFLAGS = \ | |
918 | $(UDEV_CFLAGS) | |
919 | ||
920 | systemd_readahead_collect_LDADD = \ | |
921 | libsystemd-basic.la \ | |
2f6a1ab1 | 922 | libsystemd-daemon.la \ |
22be093f LP |
923 | $(UDEV_LIBS) |
924 | ||
925 | systemd_readahead_replay_SOURCES = \ | |
926 | src/readahead-replay.c \ | |
22be093f LP |
927 | src/readahead-common.c |
928 | ||
929 | systemd_readahead_replay_CFLAGS = \ | |
930 | $(UDEV_CFLAGS) | |
931 | ||
932 | systemd_readahead_replay_LDADD = \ | |
933 | libsystemd-basic.la \ | |
2f6a1ab1 | 934 | libsystemd-daemon.la \ |
22be093f LP |
935 | $(UDEV_LIBS) |
936 | ||
fa776d8e | 937 | systemd_cgls_SOURCES = \ |
d04247cf | 938 | src/cgls.c \ |
c6c18be3 LP |
939 | src/cgroup-show.c \ |
940 | src/cgroup-util.c | |
fa776d8e LP |
941 | |
942 | systemd_cgls_CFLAGS = \ | |
35d2e7ec | 943 | $(AM_CFLAGS) |
c6c18be3 LP |
944 | |
945 | systemd_cgls_LDADD = \ | |
35d2e7ec | 946 | libsystemd-basic.la |
fa776d8e | 947 | |
47be870b | 948 | systemadm_SOURCES = \ |
e99e38bb LP |
949 | src/systemadm.vala \ |
950 | src/systemd-interfaces.vala | |
47be870b | 951 | |
10e87ee7 LP |
952 | systemadm_CFLAGS = \ |
953 | $(AM_CFLAGS) \ | |
10e87ee7 LP |
954 | $(GTK_CFLAGS) \ |
955 | -Wno-unused-variable \ | |
956 | -Wno-unused-function \ | |
957 | -Wno-shadow \ | |
958 | -Wno-format-nonliteral | |
959 | ||
960 | systemadm_VALAFLAGS = \ | |
10e87ee7 LP |
961 | --pkg=posix \ |
962 | --pkg=gtk+-2.0 \ | |
963 | -g | |
964 | ||
139be57d | 965 | systemadm_LDADD = \ |
139be57d | 966 | $(GTK_LIBS) |
c1e1601e | 967 | |
d674a4ab LP |
968 | systemd_gnome_ask_password_agent_SOURCES = \ |
969 | src/gnome-ask-password-agent.vala | |
490aed58 | 970 | |
d674a4ab | 971 | systemd_gnome_ask_password_agent_CFLAGS = \ |
490aed58 | 972 | $(AM_CFLAGS) \ |
2fa47da5 | 973 | $(LIBNOTIFY_CFLAGS) \ |
490aed58 LP |
974 | $(GTK_CFLAGS) \ |
975 | -Wno-unused-variable \ | |
976 | -Wno-unused-function \ | |
977 | -Wno-shadow \ | |
978 | -Wno-format-nonliteral | |
979 | ||
d674a4ab | 980 | systemd_gnome_ask_password_agent_VALAFLAGS = \ |
490aed58 LP |
981 | --pkg=posix \ |
982 | --pkg=gtk+-2.0 \ | |
983 | --pkg=linux \ | |
984 | --pkg=gio-unix-2.0 \ | |
d0ef2204 KS |
985 | --pkg=libnotify |
986 | if LIBNOTIFY07 | |
987 | systemd_gnome_ask_password_agent_VALAFLAGS += \ | |
988 | -D LIBNOTIFY07 | |
989 | endif | |
990 | systemd_gnome_ask_password_agent_VALAFLAGS += \ | |
490aed58 LP |
991 | -g |
992 | ||
d674a4ab | 993 | systemd_gnome_ask_password_agent_LDADD = \ |
2fa47da5 | 994 | $(LIBNOTIFY_LIBS) \ |
490aed58 LP |
995 | $(GTK_LIBS) |
996 | ||
ec863ba6 LP |
997 | systemd_tty_ask_password_agent_SOURCES = \ |
998 | src/tty-ask-password-agent.c \ | |
7f4e0805 | 999 | src/ask-password-api.c \ |
ec863ba6 LP |
1000 | src/utmp-wtmp.c |
1001 | ||
1002 | systemd_tty_ask_password_agent_LDADD = \ | |
1003 | libsystemd-basic.la | |
1004 | ||
8c6db833 LP |
1005 | pam_systemd_la_SOURCES = \ |
1006 | src/pam-module.c \ | |
2f6a1ab1 | 1007 | src/cgroup-util.c |
8c6db833 LP |
1008 | |
1009 | pam_systemd_la_CFLAGS = \ | |
35d2e7ec | 1010 | $(AM_CFLAGS) |
8c6db833 LP |
1011 | -fvisibility=hidden |
1012 | ||
1013 | pam_systemd_la_LDFLAGS = \ | |
1014 | -module \ | |
1015 | -export-dynamic \ | |
1016 | -avoid-version \ | |
1017 | -shared \ | |
1018 | -export-symbols-regex '^pam_sm_.*' | |
1019 | ||
1020 | pam_systemd_la_LIBADD = \ | |
1021 | libsystemd-basic.la \ | |
2f6a1ab1 | 1022 | libsystemd-daemon.la \ |
35d2e7ec | 1023 | $(PAM_LIBS) |
8c6db833 | 1024 | |
5e6afdd3 | 1025 | SED_PROCESS = \ |
a00e4879 | 1026 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
1136a371 | 1027 | $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \ |
306a7fd8 | 1028 | -e 's,@rootbindir\@,$(rootbindir),g' \ |
5e6afdd3 | 1029 | -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \ |
1136a371 | 1030 | -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \ |
c7b50859 | 1031 | -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \ |
8c6db833 LP |
1032 | -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \ |
1033 | -e 's,@pkgdatadir\@,$(pkgdatadir),g' \ | |
1034 | -e 's,@systemunitdir\@,$(systemunitdir),g' \ | |
1035 | -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ | |
1036 | -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \ | |
1037 | -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \ | |
1038 | -e 's,@prefix\@,$(prefix),g' \ | |
de47ca9b | 1039 | < $< > $@ || rm $@ |
70fcff31 | 1040 | |
9f2c5942 | 1041 | units/%: units/%.in Makefile |
5e6afdd3 LP |
1042 | $(SED_PROCESS) |
1043 | ||
2a3d6294 | 1044 | man/%: man/%.in Makefile |
5e6afdd3 LP |
1045 | $(SED_PROCESS) |
1046 | ||
8c6db833 LP |
1047 | %.pc: %.pc.in Makefile |
1048 | $(SED_PROCESS) | |
1049 | ||
fb1bd35a | 1050 | M4_PROCESS_SYSTEM = \ |
a00e4879 | 1051 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
de47ca9b | 1052 | $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@ |
fb1bd35a | 1053 | |
af2d49f7 | 1054 | M4_PROCESS_USER = \ |
a00e4879 | 1055 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
af2d49f7 | 1056 | $(M4) -P $(M4_DISTRO_FLAG) -DFOR_USER=1 < $< > $@ || rm $@ |
5e6afdd3 | 1057 | |
9f2c5942 | 1058 | units/%: units/%.m4 Makefile |
fb1bd35a | 1059 | $(M4_PROCESS_SYSTEM) |
5e6afdd3 | 1060 | |
af2d49f7 LP |
1061 | units/user/%: units/%.m4 Makefile |
1062 | $(M4_PROCESS_USER) | |
a7b6f8e5 | 1063 | |
c1e1601e | 1064 | CLEANFILES = \ |
6f6083dc | 1065 | $(nodist_systemunit_DATA) \ |
af2d49f7 | 1066 | $(nodist_userunit_DATA) \ |
6f6083dc LP |
1067 | $(nodist_man_MANS) \ |
1068 | ${XML_IN_FILES:.xml.in=.html} \ | |
1069 | $(pkgconfigdata_DATA) | |
4697132b | 1070 | |
42e39f0b LP |
1071 | if HAVE_VALAC |
1072 | CLEANFILES += \ | |
6f6083dc | 1073 | ${systemadm_SOURCES:.vala=.c} |
42e39f0b LP |
1074 | endif |
1075 | ||
c3bd7322 | 1076 | if HAVE_XSLTPROC |
c6365917 LP |
1077 | XSLTPROC_FLAGS = \ |
1078 | --nonet \ | |
1079 | --param funcsynopsis.style "'ansi'" | |
1080 | ||
9f2c5942 | 1081 | XSLTPROC_PROCESS_MAN = \ |
a00e4879 | 1082 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 1083 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< |
d1ab0ca0 | 1084 | |
9f2c5942 | 1085 | XSLTPROC_PROCESS_MAN_IN = \ |
a00e4879 | 1086 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 1087 | $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \ |
9f2c5942 LP |
1088 | mv ${@:.in=} $@ |
1089 | ||
1090 | XSLTPROC_PROCESS_HTML = \ | |
a00e4879 | 1091 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 1092 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< |
d1ab0ca0 | 1093 | |
9f2c5942 | 1094 | XSLTPROC_PROCESS_HTML_IN = \ |
a00e4879 | 1095 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 1096 | $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \ |
9f2c5942 LP |
1097 | mv ${@:.in=} $@ |
1098 | ||
6f6083dc | 1099 | man/%.1: man/%.xml |
f9378423 LP |
1100 | $(XSLTPROC_PROCESS_MAN) |
1101 | ||
6f6083dc | 1102 | man/%.1.in: man/%.xml.in |
f9378423 LP |
1103 | $(XSLTPROC_PROCESS_MAN) |
1104 | ||
6f6083dc | 1105 | man/%.3: man/%.xml |
359957ee LP |
1106 | $(XSLTPROC_PROCESS_MAN) |
1107 | ||
6f6083dc | 1108 | man/%.3.in: man/%.xml.in |
359957ee LP |
1109 | $(XSLTPROC_PROCESS_MAN) |
1110 | ||
9f2c5942 LP |
1111 | man/%.5: man/%.xml |
1112 | $(XSLTPROC_PROCESS_MAN) | |
1113 | ||
1114 | man/%.5.in: man/%.xml.in | |
1115 | $(XSLTPROC_PROCESS_MAN) | |
1116 | ||
1117 | man/%.7: man/%.xml | |
1118 | $(XSLTPROC_PROCESS_MAN) | |
1119 | ||
1120 | man/%.7.in: man/%.xml.in | |
1121 | $(XSLTPROC_PROCESS_MAN_IN) | |
1122 | ||
f9378423 LP |
1123 | man/%.8: man/%.xml |
1124 | $(XSLTPROC_PROCESS_MAN) | |
1125 | ||
1126 | man/%.8.in: man/%.xml.in | |
1127 | $(XSLTPROC_PROCESS_MAN_IN) | |
1128 | ||
9f2c5942 LP |
1129 | man/%.html: man/%.xml |
1130 | $(XSLTPROC_PROCESS_HTML) | |
1131 | ||
1132 | man/%.html.in: man/%.xml.in | |
1133 | $(XSLTPROC_PROCESS_HTML_IN) | |
1134 | ||
d1ab0ca0 LP |
1135 | CLEANFILES += \ |
1136 | $(dist_man_MANS) \ | |
6f6083dc LP |
1137 | ${nodist_man_MANS:=.in} \ |
1138 | ${XML_FILES:.xml=.html} \ | |
1139 | ${XML_IN_FILES:.xml.in=.html.in} | |
c3bd7322 | 1140 | endif |
d1ab0ca0 | 1141 | |
9a60da28 TR |
1142 | DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h |
1143 | ||
4288f619 | 1144 | org.freedesktop.systemd1.%.xml: systemd |
9a60da28 | 1145 | $(AM_V_GEN)$(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \ |
382a0310 | 1146 | $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \ |
9a60da28 | 1147 | $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp |
4288f619 | 1148 | |
6f6083dc LP |
1149 | CLEANFILES += \ |
1150 | $(dbusinterface_DATA) | |
4288f619 | 1151 | |
4697132b | 1152 | install-data-hook: |
64c1b5bf | 1153 | $(MKDIR_P) -m 0755 \ |
43aa226d | 1154 | $(DESTDIR)$(systemunitdir) \ |
af2d49f7 | 1155 | $(DESTDIR)$(userunitdir) \ |
42eacdad | 1156 | $(DESTDIR)$(systemunitdir)/sysinit.target.wants \ |
5e6afdd3 | 1157 | $(DESTDIR)$(systemunitdir)/sockets.target.wants \ |
c0a1b6e9 | 1158 | $(DESTDIR)$(systemunitdir)/basic.target.wants \ |
cd6d0a45 | 1159 | $(DESTDIR)$(systemunitdir)/shutdown.target.wants \ |
65ae3821 | 1160 | $(DESTDIR)$(systemunitdir)/local-fs.target.wants \ |
cd6d0a45 LP |
1161 | $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \ |
1162 | $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \ | |
1163 | $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \ | |
1164 | $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \ | |
1165 | $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \ | |
45cf9716 | 1166 | $(DESTDIR)$(systemunitdir)/multi-user.target.wants \ |
c980a279 | 1167 | $(DESTDIR)$(systemunitdir)/graphical.target.wants \ |
64c1b5bf | 1168 | $(DESTDIR)$(pkgsysconfdir)/system \ |
42eacdad | 1169 | $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \ |
980d8750 | 1170 | $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \ |
5e6afdd3 | 1171 | $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \ |
980d8750 | 1172 | $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \ |
af2d49f7 | 1173 | $(DESTDIR)$(pkgsysconfdir)/user \ |
e82e442b | 1174 | $(DESTDIR)$(sysconfdir)/xdg/systemd |
e9da3678 | 1175 | ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \ |
af2d49f7 LP |
1176 | rm -f user && \ |
1177 | $(LN_S) $(pkgsysconfdir)/user user ) | |
5e6afdd3 | 1178 | ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \ |
52f319b2 | 1179 | rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \ |
5e6afdd3 | 1180 | $(LN_S) ../systemd-logger.socket systemd-logger.socket && \ |
a145090c | 1181 | $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \ |
52f319b2 LP |
1182 | $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \ |
1183 | $(LN_S) ../syslog.socket syslog.socket ) | |
cd6d0a45 LP |
1184 | ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \ |
1185 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1186 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1187 | ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \ |
1188 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1189 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1190 | ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \ |
1191 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1192 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1193 | ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \ |
1194 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1195 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1196 | ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \ |
1197 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1198 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 | 1199 | ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \ |
d3f09cf3 | 1200 | rm -f systemd-update-utmp-shutdown.service \ |
7376cffd | 1201 | hwclock-save.service \ |
d3f09cf3 | 1202 | systemd-random-seed-save.service && \ |
45cf9716 KS |
1203 | $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \ |
1204 | $(LN_S) ../hwclock-save.service hwclock-save.service && \ | |
1205 | $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service ) | |
65ae3821 | 1206 | ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \ |
c0a1b6e9 | 1207 | rm -f systemd-remount-api-vfs.service \ |
980d8750 | 1208 | fsck-root.service \ |
c0a1b6e9 LP |
1209 | remount-rootfs.service \ |
1210 | var-run.mount \ | |
63c862b0 | 1211 | var-lock.mount && \ |
c0a1b6e9 | 1212 | $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \ |
980d8750 | 1213 | $(LN_S) ../fsck-root.service fsck-root.service && \ |
c0a1b6e9 LP |
1214 | $(LN_S) ../remount-rootfs.service remount-rootfs.service && \ |
1215 | $(LN_S) ../var-run.mount var-run.mount && \ | |
63c862b0 | 1216 | $(LN_S) ../var-lock.mount var-lock.mount ) |
af2d49f7 | 1217 | ( cd $(DESTDIR)$(userunitdir) && \ |
88dfa293 | 1218 | rm -f shutdown.target sockets.target local-fs.target swap.target bluetooth.target printer.target sound.target && \ |
8c4a3079 LP |
1219 | $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \ |
1220 | $(LN_S) $(systemunitdir)/sockets.target sockets.target && \ | |
1221 | $(LN_S) $(systemunitdir)/local-fs.target local-fs.target && \ | |
da78e1b4 LP |
1222 | $(LN_S) $(systemunitdir)/swap.target swap.target && \ |
1223 | $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \ | |
88dfa293 LP |
1224 | $(LN_S) $(systemunitdir)/printer.target printer.target && \ |
1225 | $(LN_S) $(systemunitdir)/sound.target sound.target ) | |
5e6afdd3 | 1226 | ( cd $(DESTDIR)$(systemunitdir) && \ |
c88f64bd | 1227 | rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \ |
5e6afdd3 LP |
1228 | $(LN_S) poweroff.target runlevel0.target && \ |
1229 | $(LN_S) rescue.target runlevel1.target && \ | |
c88f64bd LP |
1230 | $(LN_S) multi-user.target runlevel2.target && \ |
1231 | $(LN_S) multi-user.target runlevel3.target && \ | |
1232 | $(LN_S) multi-user.target runlevel4.target && \ | |
1233 | $(LN_S) graphical.target runlevel5.target && \ | |
5e6afdd3 | 1234 | $(LN_S) reboot.target runlevel6.target ) |
45cf9716 KS |
1235 | ( cd $(DESTDIR)$(systemunitdir) && \ |
1236 | rm -f default.target ctrl-alt-del.target && \ | |
1237 | $(LN_S) graphical.target default.target && \ | |
1238 | $(LN_S) reboot.target ctrl-alt-del.target ) | |
3e24da51 | 1239 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ |
306a7fd8 | 1240 | rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path && \ |
447be155 | 1241 | $(LN_S) ../getty.target getty.target && \ |
306a7fd8 LP |
1242 | $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \ |
1243 | $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path ) | |
5e6afdd3 | 1244 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \ |
b2bb3dbe | 1245 | rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \ |
5e6afdd3 LP |
1246 | $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \ |
1247 | $(LN_S) $(systemunitdir)/getty@.service getty@tty2.service && \ | |
1248 | $(LN_S) $(systemunitdir)/getty@.service getty@tty3.service && \ | |
1249 | $(LN_S) $(systemunitdir)/getty@.service getty@tty4.service && \ | |
1250 | $(LN_S) $(systemunitdir)/getty@.service getty@tty5.service && \ | |
b2bb3dbe | 1251 | $(LN_S) $(systemunitdir)/getty@.service getty@tty6.service ) |
980d8750 LP |
1252 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \ |
1253 | rm -f quotaon.service quotacheck.service && \ | |
1254 | $(LN_S) $(systemunitdir)/quotacheck.service quotacheck.service && \ | |
1255 | $(LN_S) $(systemunitdir)/quotaon.service quotaon.service ) | |
5e6afdd3 | 1256 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ |
3e24da51 | 1257 | rm -f remote-fs.target && \ |
f92a18f5 | 1258 | $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target ) |
42eacdad | 1259 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \ |
980d8750 LP |
1260 | rm -f hwclock-load.service && \ |
1261 | $(LN_S) $(systemunitdir)/hwclock-load.service hwclock-load.service ) | |
42eacdad | 1262 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ |
6d526de2 LP |
1263 | rm -f dev-hugepages.automount \ |
1264 | dev-mqueue.automount \ | |
1265 | proc-sys-fs-binfmt_misc.automount \ | |
1266 | sys-kernel-debug.automount \ | |
f0a73e24 | 1267 | sys-kernel-security.automount \ |
d3f09cf3 KS |
1268 | systemd-vconsole-setup.service \ |
1269 | systemd-modules-load.service \ | |
1270 | systemd-random-seed-load.service \ | |
3b63d2d3 | 1271 | systemd-tmpfiles-setup.service \ |
8e1bd70d | 1272 | systemd-sysctl.service \ |
63c862b0 LP |
1273 | systemd-ask-password-console.path \ |
1274 | cryptsetup.target && \ | |
670802d4 LP |
1275 | $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \ |
1276 | $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \ | |
1277 | $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount && \ | |
6d526de2 | 1278 | $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \ |
f0a73e24 | 1279 | $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \ |
45cf9716 KS |
1280 | $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \ |
1281 | $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \ | |
1282 | $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \ | |
3b63d2d3 | 1283 | $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \ |
8e1bd70d | 1284 | $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \ |
63c862b0 LP |
1285 | $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \ |
1286 | $(LN_S) ../cryptsetup.target cryptsetup.target ) | |
42eacdad LP |
1287 | ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \ |
1288 | rm -f systemd-tmpfiles-clean.timer && \ | |
3b63d2d3 | 1289 | $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer ) |
d122948d LP |
1290 | ( cd $(DESTDIR)$(dbussessionservicedir) && \ |
1291 | rm -f org.freedesktop.systemd1.service && \ | |
1292 | $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service ) | |
cd3f8b7d | 1293 | if HAVE_PLYMOUTH |
a3723b97 | 1294 | $(MKDIR_P) -m 0755 \ |
f057408c | 1295 | $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \ |
3cc144eb | 1296 | $(DESTDIR)$(systemunitdir)/reboot.target.wants \ |
42eacdad | 1297 | $(DESTDIR)$(systemunitdir)/kexec.target.wants \ |
3cc144eb | 1298 | $(DESTDIR)$(systemunitdir)/poweroff.target.wants \ |
cd3f8b7d | 1299 | $(DESTDIR)$(systemunitdir)/halt.target.wants |
42eacdad | 1300 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ |
8cf3a8a9 | 1301 | rm -f plymouth-start.service plymouth-read-write.service && \ |
42eacdad | 1302 | $(LN_S) ../plymouth-start.service plymouth-start.service && \ |
8cf3a8a9 | 1303 | $(LN_S) ../plymouth-read-write.service plymouth-read-write.service ) |
198b625b LP |
1304 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ |
1305 | rm -f plymouth-quit.service && \ | |
1306 | $(LN_S) ../plymouth-quit.service plymouth-quit.service ) | |
3cc144eb | 1307 | ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \ |
0278dfeb | 1308 | rm -f plymouth-reboot.service && \ |
3cc144eb | 1309 | $(LN_S) ../plymouth-reboot.service plymouth-reboot.service ) |
42eacdad LP |
1310 | ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \ |
1311 | rm -f plymouth-kexec.service && \ | |
1312 | $(LN_S) ../plymouth-kexec.service plymouth-kexec.service ) | |
3cc144eb | 1313 | ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \ |
0278dfeb | 1314 | rm -f plymouth-poweroff.service && \ |
3cc144eb LP |
1315 | $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service ) |
1316 | ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \ | |
0278dfeb | 1317 | rm -f plymouth-halt.service && \ |
3cc144eb | 1318 | $(LN_S) ../plymouth-halt.service plymouth-halt.service ) |
cd3f8b7d JM |
1319 | endif |
1320 | ||
1321 | if TARGET_FEDORA | |
1322 | $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants | |
1323 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ | |
1324 | rm -f rc-local.service && \ | |
1325 | $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) | |
1326 | ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ | |
1327 | rm -f halt-local.service && \ | |
1328 | $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) | |
5e6afdd3 | 1329 | ( cd $(DESTDIR)$(systemunitdir) && \ |
73d35ff8 BN |
1330 | rm -f display-manager.service && \ |
1331 | $(LN_S) prefdm.service display-manager.service ) | |
6b2a56f0 | 1332 | ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \ |
42eacdad LP |
1333 | rm -f display-manager.service && \ |
1334 | $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) | |
f306f4c4 | 1335 | endif |
858dae18 | 1336 | if TARGET_DEBIAN_OR_UBUNTU |
e082d6c8 MB |
1337 | ( cd $(DESTDIR)$(systemunitdir) && \ |
1338 | rm -f runlevel5.target && \ | |
1339 | $(LN_S) multi-user.target runlevel5.target ) | |
a5dc0a45 | 1340 | endif |
5e6afdd3 | 1341 | |
d1ab0ca0 | 1342 | DISTCHECK_CONFIGURE_FLAGS = \ |
d2d12cd1 LP |
1343 | --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \ |
1344 | --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \ | |
1345 | --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \ | |
1346 | --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \ | |
8c4a3079 | 1347 | --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \ |
8c6db833 | 1348 | --with-pamlibdir=$$dc_install_base/$(pamlibdir) \ |
8c4a3079 | 1349 | --with-rootdir=$$dc_install_base/$(rootdir) |
a45f61d7 LP |
1350 | |
1351 | upload: all distcheck | |
53eff0c7 | 1352 | cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/ |
a45f61d7 LP |
1353 | scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/ |
1354 | scp man/*.html tango:public/systemd-man/ | |
1355 | ||
1356 | git-tag: | |
1357 | git tag "v$(VERSION)" -m "systemd $(VERSION)" |