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