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