]>
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 | ||
1c7dde3e BN |
20 | SUBDIRS = po |
21 | ||
74b91131 | 22 | LIBSYSTEMD_LOGIN_CURRENT=0 |
47675042 | 23 | LIBSYSTEMD_LOGIN_REVISION=2 |
74b91131 LP |
24 | LIBSYSTEMD_LOGIN_AGE=0 |
25 | ||
114a50f8 LP |
26 | LIBSYSTEMD_DAEMON_CURRENT=0 |
27 | LIBSYSTEMD_DAEMON_REVISION=0 | |
28 | LIBSYSTEMD_DAEMON_AGE=0 | |
29 | ||
8c4a3079 | 30 | # Dirs of external packages |
d122948d LP |
31 | dbuspolicydir=@dbuspolicydir@ |
32 | dbussessionservicedir=@dbussessionservicedir@ | |
33 | dbussystemservicedir=@dbussystemservicedir@ | |
34 | dbusinterfacedir=@dbusinterfacedir@ | |
d1ab0ca0 | 35 | udevrulesdir=@udevrulesdir@ |
8c6db833 LP |
36 | pamlibdir=@pamlibdir@ |
37 | pkgconfigdatadir=$(datadir)/pkgconfig | |
02f130cb | 38 | pkgconfiglibdir=$(libdir)/pkgconfig |
490aed58 | 39 | polkitpolicydir=$(datadir)/polkit-1/actions |
5a1e9937 | 40 | bashcompletiondir=$(sysconfdir)/bash_completion.d |
036643a2 | 41 | |
8c4a3079 | 42 | # Our own, non-special dirs |
d1ab0ca0 | 43 | pkgsysconfdir=$(sysconfdir)/systemd |
32d0463d | 44 | userunitdir=$(prefix)/lib/systemd/user |
772f8371 | 45 | tmpfilesdir=$(prefix)/lib/tmpfiles.d |
af2d49f7 | 46 | usergeneratordir=$(pkglibexecdir)/user-generators |
74b91131 | 47 | pkgincludedir=$(includedir)/systemd |
8c4a3079 LP |
48 | |
49 | # And these are the special ones for / | |
50 | rootdir=@rootdir@ | |
8c4a3079 LP |
51 | rootbindir=$(rootdir)/bin |
52 | rootlibexecdir=$(rootdir)/lib/systemd | |
cb06add7 LP |
53 | systemgeneratordir=$(rootlibexecdir)/system-generators |
54 | systemshutdowndir=$(rootlibexecdir)/system-shutdown | |
8c4a3079 | 55 | systemunitdir=$(rootdir)/lib/systemd/system |
70fcff31 | 56 | |
47be870b | 57 | AM_CPPFLAGS = \ |
d3f09cf3 | 58 | -include $(top_builddir)/config.h \ |
487393e9 | 59 | -DSYSTEM_CONFIG_FILE=\"$(pkgsysconfdir)/system.conf\" \ |
036643a2 | 60 | -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \ |
70fcff31 | 61 | -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \ |
0571e011 | 62 | -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \ |
061978fa | 63 | -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \ |
af2d49f7 LP |
64 | -DUSER_CONFIG_FILE=\"$(pkgsysconfdir)/user.conf\" \ |
65 | -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \ | |
66 | -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \ | |
91901329 | 67 | -DSYSTEMD_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/systemd-cgroups-agent\" \ |
f401faf5 | 68 | -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \ |
b1b2a107 | 69 | -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \ |
2cb1a60d | 70 | -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \ |
501fc174 | 71 | -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \ |
5b754353 | 72 | -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"$(bindir)/systemd-stdio-bridge\" \ |
bb29785e | 73 | -DRUNTIME_DIR=\"/run\" \ |
ca2cab5d | 74 | -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \ |
e23a0ce8 | 75 | -DSYSTEMD_CRYPTSETUP_PATH=\"$(rootlibexecdir)/systemd-cryptsetup\" \ |
5a1e9937 | 76 | -DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \ |
af2d49f7 | 77 | -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \ |
83cc030f | 78 | -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \ |
e99e38bb | 79 | -I $(top_srcdir)/src |
47be870b | 80 | |
9841e8e3 GSB |
81 | if TARGET_GENTOO |
82 | AM_CPPFLAGS += \ | |
83 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
84 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
85 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
86 | else | |
c226fa41 LDM |
87 | if TARGET_ARCH |
88 | AM_CPPFLAGS += \ | |
89 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
90 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
91 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
92 | else | |
f5c88ec1 MV |
93 | if TARGET_FRUGALWARE |
94 | AM_CPPFLAGS += \ | |
95 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
96 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
97 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
98 | else | |
1de4d79b AB |
99 | if TARGET_MANDRIVA |
100 | AM_CPPFLAGS += \ | |
101 | -DKBD_LOADKEYS=\"/bin/loadkeys\" \ | |
102 | -DKBD_SETFONT=\"/bin/setfont\" \ | |
103 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
104 | else | |
54e4fdef CF |
105 | if TARGET_MEEGO |
106 | AM_CPPFLAGS += \ | |
107 | -DKBD_LOADKEYS=\"/bin/loadkeys\" \ | |
108 | -DKBD_SETFONT=\"/bin/setfont\" \ | |
109 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
110 | else | |
1bd8b818 KK |
111 | if TARGET_ANGSTROM |
112 | AM_CPPFLAGS += \ | |
113 | -DKBD_LOADKEYS=\"/usr/bin/loadkeys\" \ | |
114 | -DKBD_SETFONT=\"/usr/bin/setfont\" \ | |
115 | -DDEFAULT_FONT=\"LatArCyrHeb-16\" | |
116 | else | |
9841e8e3 GSB |
117 | AM_CPPFLAGS += \ |
118 | -DKBD_LOADKEYS=\"/bin/loadkeys\" \ | |
119 | -DKBD_SETFONT=\"/bin/setfont\" \ | |
120 | -DDEFAULT_FONT=\"latarcyrheb-sun16\" | |
121 | endif | |
c226fa41 | 122 | endif |
f5c88ec1 | 123 | endif |
1de4d79b | 124 | endif |
54e4fdef | 125 | endif |
1bd8b818 | 126 | endif |
9841e8e3 | 127 | |
8c4a3079 | 128 | rootbin_PROGRAMS = \ |
134dc482 | 129 | systemd \ |
4a2a8b5a | 130 | systemctl \ |
abca4822 | 131 | systemd-loginctl \ |
490aed58 | 132 | systemd-notify \ |
ec863ba6 | 133 | systemd-ask-password \ |
74ce487d | 134 | systemd-tty-ask-password-agent \ |
a5f9be45 | 135 | systemd-tmpfiles \ |
d7ccca2e | 136 | systemd-machine-id-setup |
a9b5b032 | 137 | |
8c4a3079 | 138 | bin_PROGRAMS = \ |
a8f11321 | 139 | systemd-cgls \ |
a5f9be45 | 140 | systemd-stdio-bridge \ |
5b754353 | 141 | systemd-nspawn |
88213476 | 142 | |
f695b3b0 | 143 | dist_bin_SCRIPTS = \ |
5b754353 | 144 | src/systemd-analyze |
f695b3b0 | 145 | |
10e87ee7 LP |
146 | if HAVE_GTK |
147 | bin_PROGRAMS += \ | |
490aed58 | 148 | systemadm \ |
d674a4ab | 149 | systemd-gnome-ask-password-agent |
a9b5b032 | 150 | endif |
8e274523 | 151 | |
8c4a3079 | 152 | rootlibexec_PROGRAMS = \ |
8e274523 | 153 | systemd-logger \ |
0b7964b8 | 154 | systemd-cgroups-agent \ |
4927fcae | 155 | systemd-initctl \ |
ca2cab5d | 156 | systemd-update-utmp \ |
f6144808 | 157 | systemd-random-seed \ |
5192bd19 | 158 | systemd-shutdownd \ |
b1b2a107 | 159 | systemd-shutdown \ |
449ddb2d | 160 | systemd-modules-load \ |
addab137 | 161 | systemd-remount-api-vfs \ |
97c4a07d | 162 | systemd-kmsg-syslogd \ |
490aed58 | 163 | systemd-vconsole-setup \ |
22be093f LP |
164 | systemd-reply-password \ |
165 | systemd-readahead-collect \ | |
5008d581 | 166 | systemd-readahead-replay \ |
3d20ed6d LP |
167 | systemd-user-sessions \ |
168 | systemd-fsck \ | |
e23a0ce8 | 169 | systemd-quotacheck \ |
06cdd248 | 170 | systemd-timestamp \ |
8e1bd70d | 171 | systemd-ac-power \ |
07faed4f | 172 | systemd-detect-virt \ |
151b190e | 173 | systemd-sysctl \ |
f401e48c | 174 | systemd-localed \ |
5eda94dd LP |
175 | systemd-logind \ |
176 | systemd-uaccess | |
47be870b | 177 | |
27669061 MV |
178 | if ENABLE_BINFMT |
179 | rootlibexec_PROGRAMS += \ | |
180 | systemd-binfmt | |
181 | endif | |
182 | ||
b2e9fb99 MV |
183 | if ENABLE_HOSTNAMED |
184 | rootlibexec_PROGRAMS += \ | |
185 | systemd-hostnamed | |
186 | endif | |
187 | ||
f47cd184 MV |
188 | if ENABLE_TIMEDATED |
189 | rootlibexec_PROGRAMS += \ | |
190 | systemd-timedated | |
191 | endif | |
192 | ||
2a796654 | 193 | systemgenerator_PROGRAMS = \ |
5b754353 | 194 | systemd-getty-generator |
2a796654 | 195 | |
7f4e0805 LP |
196 | if HAVE_LIBCRYPTSETUP |
197 | rootlibexec_PROGRAMS += \ | |
198 | systemd-cryptsetup | |
199 | ||
2a796654 | 200 | systemgenerator_PROGRAMS += \ |
5a1e9937 | 201 | systemd-cryptsetup-generator |
7f4e0805 | 202 | endif |
5a1e9937 | 203 | |
74b91131 | 204 | lib_LTLIBRARIES = \ |
114a50f8 | 205 | libsystemd-daemon.la \ |
ae446765 | 206 | libsystemd-login.la |
74b91131 LP |
207 | |
208 | pkginclude_HEADERS = \ | |
ae446765 KS |
209 | src/sd-daemon.h \ |
210 | src/sd-login.h | |
74b91131 | 211 | |
47be870b LP |
212 | noinst_PROGRAMS = \ |
213 | test-engine \ | |
15ae422b | 214 | test-job-type \ |
af5bc85d | 215 | test-ns \ |
8c47c732 | 216 | test-loopback \ |
e5907703 | 217 | test-hostname \ |
8c6db833 | 218 | test-daemon \ |
c24eb49e | 219 | test-cgroup \ |
f90cf44c | 220 | test-env-replace \ |
74b91131 | 221 | test-strv \ |
83096483 LP |
222 | test-login \ |
223 | test-install | |
8c6db833 LP |
224 | |
225 | if HAVE_PAM | |
226 | pamlib_LTLIBRARIES = \ | |
227 | pam_systemd.la | |
228 | endif | |
47be870b | 229 | |
487393e9 | 230 | dist_pkgsysconf_DATA = \ |
193197e8 LP |
231 | src/system.conf \ |
232 | src/user.conf \ | |
233 | src/systemd-logind.conf | |
487393e9 | 234 | |
d1ab0ca0 | 235 | dist_dbuspolicy_DATA = \ |
7640a5de | 236 | src/org.freedesktop.systemd1.conf \ |
f401e48c | 237 | src/org.freedesktop.locale1.conf \ |
91f9dcaf | 238 | src/org.freedesktop.login1.conf |
e24067c3 | 239 | |
b2e9fb99 MV |
240 | if ENABLE_HOSTNAMED |
241 | dist_dbuspolicy_DATA += \ | |
242 | src/org.freedesktop.hostname1.conf | |
243 | endif | |
244 | ||
f47cd184 MV |
245 | if ENABLE_TIMEDATED |
246 | dist_dbuspolicy_DATA += \ | |
247 | src/org.freedesktop.timedate1.conf | |
248 | endif | |
249 | ||
d122948d | 250 | dist_dbussystemservice_DATA = \ |
7640a5de | 251 | src/org.freedesktop.systemd1.service \ |
f401e48c | 252 | src/org.freedesktop.locale1.service \ |
91f9dcaf | 253 | src/org.freedesktop.login1.service |
d122948d | 254 | |
b2e9fb99 MV |
255 | if ENABLE_HOSTNAMED |
256 | dist_dbussystemservice_DATA += \ | |
257 | src/org.freedesktop.hostname1.service | |
258 | endif | |
259 | ||
f47cd184 MV |
260 | if ENABLE_TIMEDATED |
261 | dist_dbussystemservice_DATA += \ | |
262 | src/org.freedesktop.timedate1.service | |
263 | endif | |
264 | ||
d1ab0ca0 | 265 | dist_udevrules_DATA = \ |
47a26690 | 266 | src/70-uaccess.rules \ |
41e4d6e9 | 267 | src/71-seat.rules |
5cc5d790 | 268 | |
0b191e60 | 269 | nodist_udevrules_DATA = \ |
41e4d6e9 LP |
270 | src/73-seat-late.rules \ |
271 | src/99-systemd.rules | |
0b191e60 | 272 | |
d122948d | 273 | dbusinterface_DATA = \ |
4288f619 LP |
274 | org.freedesktop.systemd1.Manager.xml \ |
275 | org.freedesktop.systemd1.Job.xml \ | |
276 | org.freedesktop.systemd1.Unit.xml \ | |
277 | org.freedesktop.systemd1.Service.xml \ | |
278 | org.freedesktop.systemd1.Socket.xml \ | |
871d7de4 | 279 | org.freedesktop.systemd1.Timer.xml \ |
4288f619 LP |
280 | org.freedesktop.systemd1.Target.xml \ |
281 | org.freedesktop.systemd1.Device.xml \ | |
282 | org.freedesktop.systemd1.Mount.xml \ | |
283 | org.freedesktop.systemd1.Automount.xml \ | |
284 | org.freedesktop.systemd1.Snapshot.xml \ | |
01f78473 | 285 | org.freedesktop.systemd1.Swap.xml \ |
91f9dcaf | 286 | org.freedesktop.systemd1.Path.xml \ |
f47cd184 | 287 | org.freedesktop.locale1.xml |
4288f619 | 288 | |
b2e9fb99 MV |
289 | if ENABLE_HOSTNAMED |
290 | dbusinterface_DATA += \ | |
291 | org.freedesktop.hostname1.xml | |
292 | endif | |
293 | ||
f47cd184 MV |
294 | if ENABLE_TIMEDATED |
295 | dbusinterface_DATA += \ | |
296 | org.freedesktop.timedate1.xml | |
297 | endif | |
298 | ||
42bb3074 | 299 | dist_bashcompletion_DATA = \ |
5b754353 | 300 | src/systemctl-bash-completion.sh |
42bb3074 | 301 | |
34c8deaa LP |
302 | dist_tmpfiles_DATA = \ |
303 | tmpfiles.d/systemd.conf \ | |
f08fce88 | 304 | tmpfiles.d/tmp.conf \ |
34c8deaa LP |
305 | tmpfiles.d/x11.conf |
306 | ||
cca4aeee LP |
307 | if HAVE_SYSV_COMPAT |
308 | dist_tmpfiles_DATA += \ | |
5b754353 | 309 | tmpfiles.d/legacy.conf |
cca4aeee LP |
310 | endif |
311 | ||
d1ab0ca0 | 312 | dist_systemunit_DATA = \ |
db25d1d7 LP |
313 | units/graphical.target \ |
314 | units/multi-user.target \ | |
70fcff31 | 315 | units/emergency.service \ |
f057408c | 316 | units/emergency.target \ |
de47ca9b | 317 | units/sysinit.target \ |
f92a18f5 | 318 | units/basic.target \ |
5e6afdd3 LP |
319 | units/getty.target \ |
320 | units/halt.target \ | |
85ed27f6 | 321 | units/kexec.target \ |
70449379 | 322 | units/local-fs.target \ |
5552b1c1 | 323 | units/remote-fs.target \ |
2f8cd170 | 324 | units/cryptsetup.target \ |
70449379 LP |
325 | units/network.target \ |
326 | units/nss-lookup.target \ | |
683f468c | 327 | units/mail-transfer-agent.target \ |
a2ff477f | 328 | units/http-daemon.target \ |
5e6afdd3 LP |
329 | units/poweroff.target \ |
330 | units/reboot.target \ | |
5e6afdd3 | 331 | units/rescue.target \ |
f0b02ca2 | 332 | units/rpcbind.target \ |
4466194c | 333 | units/time-sync.target \ |
70449379 | 334 | units/shutdown.target \ |
9aac953a | 335 | units/final.target \ |
4e67ddd6 | 336 | units/umount.target \ |
70449379 LP |
337 | units/sigpwr.target \ |
338 | units/sockets.target \ | |
339 | units/swap.target \ | |
70fcff31 | 340 | units/systemd-initctl.socket \ |
670802d4 | 341 | units/systemd-logger.socket \ |
f6144808 | 342 | units/systemd-shutdownd.socket \ |
52f319b2 | 343 | units/syslog.socket \ |
670802d4 LP |
344 | units/dev-hugepages.automount \ |
345 | units/dev-hugepages.mount \ | |
346 | units/dev-mqueue.automount \ | |
347 | units/dev-mqueue.mount \ | |
670802d4 LP |
348 | units/sys-kernel-debug.automount \ |
349 | units/sys-kernel-debug.mount \ | |
6d526de2 LP |
350 | units/sys-kernel-security.automount \ |
351 | units/sys-kernel-security.mount \ | |
da78e1b4 | 352 | units/var-run.mount \ |
c4b5a3d6 | 353 | units/media.mount \ |
90685f7d | 354 | units/remount-rootfs.service \ |
da78e1b4 | 355 | units/printer.target \ |
88dfa293 | 356 | units/sound.target \ |
ceda54d9 | 357 | units/bluetooth.target \ |
b15124f1 | 358 | units/smartcard.target \ |
3b63d2d3 | 359 | units/systemd-readahead-done.timer \ |
a9e1f5ec | 360 | units/systemd-tmpfiles-clean.timer \ |
306a7fd8 | 361 | units/quotaon.service \ |
e0e1580a | 362 | units/systemd-ask-password-wall.path \ |
6699c857 LP |
363 | units/systemd-ask-password-console.path \ |
364 | units/syslog.target | |
70fcff31 | 365 | |
5b754353 KS |
366 | if HAVE_SYSV_COMPAT |
367 | dist_systemunit_DATA += \ | |
368 | units/var-lock.mount | |
369 | endif | |
370 | ||
27669061 MV |
371 | if ENABLE_BINFMT |
372 | dist_systemunit_DATA += \ | |
373 | units/proc-sys-fs-binfmt_misc.automount \ | |
374 | units/proc-sys-fs-binfmt_misc.mount | |
375 | endif | |
376 | ||
6f6083dc | 377 | nodist_systemunit_DATA = \ |
5e6afdd3 | 378 | units/getty@.service \ |
93a45c56 | 379 | units/serial-getty@.service \ |
5b754353 | 380 | units/console-shell.service \ |
dfac97b2 | 381 | units/systemd-initctl.service \ |
a7b6f8e5 | 382 | units/systemd-logger.service \ |
f6144808 | 383 | units/systemd-shutdownd.service \ |
f401e48c | 384 | units/systemd-localed.service \ |
91f9dcaf | 385 | units/systemd-logind.service \ |
addab137 | 386 | units/systemd-kmsg-syslogd.service \ |
b2423f1f | 387 | units/systemd-modules-load.service \ |
97c4a07d | 388 | units/systemd-vconsole-setup.service \ |
449ddb2d | 389 | units/systemd-remount-api-vfs.service \ |
cd6d0a45 LP |
390 | units/systemd-update-utmp-runlevel.service \ |
391 | units/systemd-update-utmp-shutdown.service \ | |
ca2cab5d LP |
392 | units/systemd-random-seed-save.service \ |
393 | units/systemd-random-seed-load.service \ | |
4bb2357f LP |
394 | units/systemd-readahead-collect.service \ |
395 | units/systemd-readahead-replay.service \ | |
c7b50859 | 396 | units/systemd-readahead-done.service \ |
3b63d2d3 LP |
397 | units/systemd-tmpfiles-setup.service \ |
398 | units/systemd-tmpfiles-clean.service \ | |
447be155 | 399 | units/systemd-user-sessions.service \ |
306a7fd8 | 400 | units/systemd-ask-password-wall.service \ |
8cf3a8a9 | 401 | units/systemd-ask-password-console.service \ |
8e1bd70d | 402 | units/systemd-sysctl.service \ |
46574a5b LP |
403 | units/halt.service \ |
404 | units/poweroff.service \ | |
405 | units/reboot.service \ | |
a9e1f5ec LP |
406 | units/kexec.service \ |
407 | units/fsck@.service \ | |
335aa753 | 408 | units/fsck-root.service \ |
de47ca9b | 409 | units/quotacheck.service \ |
d42d27ea LP |
410 | units/rescue.service \ |
411 | units/user@.service | |
d1ab0ca0 | 412 | |
27669061 MV |
413 | if ENABLE_BINFMT |
414 | nodist_systemunit_DATA += \ | |
415 | units/systemd-binfmt.service | |
416 | endif | |
417 | ||
b2e9fb99 MV |
418 | if ENABLE_HOSTNAMED |
419 | nodist_systemunit_DATA += \ | |
420 | units/systemd-hostnamed.service | |
421 | endif | |
422 | ||
f47cd184 MV |
423 | if ENABLE_TIMEDATED |
424 | nodist_systemunit_DATA += \ | |
425 | units/systemd-timedated.service | |
426 | endif | |
427 | ||
af2d49f7 LP |
428 | dist_userunit_DATA = \ |
429 | units/user/default.target \ | |
430 | units/user/exit.target | |
0d26c910 | 431 | |
af2d49f7 | 432 | nodist_userunit_DATA = \ |
af2d49f7 | 433 | units/user/exit.service |
fb1bd35a | 434 | |
e24067c3 | 435 | EXTRA_DIST = \ |
5e6afdd3 | 436 | units/getty@.service.m4 \ |
93a45c56 | 437 | units/serial-getty@.service.m4 \ |
5b754353 | 438 | units/console-shell.service.m4 \ |
de47ca9b | 439 | units/rescue.service.m4 \ |
70fcff31 | 440 | units/systemd-initctl.service.in \ |
70fcff31 | 441 | units/systemd-logger.service.in \ |
f6144808 | 442 | units/systemd-shutdownd.service.in \ |
f401e48c | 443 | units/systemd-localed.service.in \ |
91f9dcaf | 444 | units/systemd-logind.service.in \ |
addab137 | 445 | units/systemd-kmsg-syslogd.service.in \ |
b2423f1f | 446 | units/systemd-modules-load.service.in \ |
97c4a07d | 447 | units/systemd-vconsole-setup.service.in \ |
449ddb2d | 448 | units/systemd-remount-api-vfs.service.in \ |
cd6d0a45 LP |
449 | units/systemd-update-utmp-runlevel.service.in \ |
450 | units/systemd-update-utmp-shutdown.service.in \ | |
ca2cab5d LP |
451 | units/systemd-random-seed-save.service.in \ |
452 | units/systemd-random-seed-load.service.in \ | |
4bb2357f LP |
453 | units/systemd-readahead-collect.service.in \ |
454 | units/systemd-readahead-replay.service.in \ | |
c7b50859 | 455 | units/systemd-readahead-done.service.in \ |
3b63d2d3 LP |
456 | units/systemd-tmpfiles-setup.service.in \ |
457 | units/systemd-tmpfiles-clean.service.in \ | |
447be155 | 458 | units/systemd-user-sessions.service.in \ |
306a7fd8 | 459 | units/systemd-ask-password-wall.service.in \ |
8cf3a8a9 | 460 | units/systemd-ask-password-console.service.in \ |
8e1bd70d | 461 | units/systemd-sysctl.service.in \ |
46574a5b LP |
462 | units/halt.service.in \ |
463 | units/poweroff.service.in \ | |
464 | units/reboot.service.in \ | |
85ed27f6 | 465 | units/kexec.service.in \ |
af2d49f7 | 466 | units/user/exit.service.in \ |
a9e1f5ec LP |
467 | units/fsck@.service.in \ |
468 | units/fsck-root.service.in \ | |
335aa753 | 469 | units/quotacheck.service.in \ |
35bf8dfb | 470 | units/user@.service.in \ |
46891d97 | 471 | systemd.pc.in \ |
35bf8dfb KS |
472 | libsystemd-daemon.pc.in \ |
473 | libsystemd-login.pc.in \ | |
474 | src/libsystemd-daemon.sym \ | |
475 | src/libsystemd-login.sym \ | |
25705583 | 476 | introspect.awk \ |
41e4d6e9 LP |
477 | src/73-seat-late.rules.in \ |
478 | src/99-systemd.rules.in | |
e24067c3 | 479 | |
27669061 MV |
480 | if ENABLE_BINFMT |
481 | EXTRA_DIST += \ | |
482 | units/systemd-binfmt.service.in | |
483 | endif | |
484 | ||
b2e9fb99 MV |
485 | if ENABLE_HOSTNAMED |
486 | EXTRA_DIST += \ | |
487 | units/systemd-hostnamed.service.in | |
488 | endif | |
489 | ||
f47cd184 MV |
490 | if ENABLE_TIMEDATED |
491 | EXTRA_DIST += \ | |
492 | units/systemd-timedated.service.in | |
493 | endif | |
494 | ||
5e6afdd3 LP |
495 | if TARGET_FEDORA |
496 | dist_systemunit_DATA += \ | |
5e6afdd3 LP |
497 | units/fedora/prefdm.service \ |
498 | units/fedora/rc-local.service \ | |
cd3f8b7d JM |
499 | units/fedora/halt-local.service |
500 | endif | |
501 | ||
1de4d79b AB |
502 | if TARGET_MANDRIVA |
503 | dist_systemunit_DATA += \ | |
504 | units/mandriva/prefdm.service \ | |
505 | units/fedora/rc-local.service \ | |
506 | units/fedora/halt-local.service | |
507 | endif | |
508 | ||
196e3fa7 MV |
509 | if TARGET_FRUGALWARE |
510 | dist_systemunit_DATA += \ | |
511 | units/frugalware/display-manager.service | |
512 | endif | |
513 | ||
a268a6a3 FC |
514 | if TARGET_SUSE |
515 | dist_systemunit_DATA += \ | |
516 | units/suse/rc-local.service \ | |
517 | units/suse/halt-local.service | |
518 | endif | |
519 | ||
cd3f8b7d JM |
520 | if HAVE_PLYMOUTH |
521 | dist_systemunit_DATA += \ | |
522 | units/plymouth-start.service \ | |
523 | units/plymouth-read-write.service \ | |
524 | units/plymouth-quit.service \ | |
aa2e2115 | 525 | units/plymouth-quit-wait.service \ |
cd3f8b7d JM |
526 | units/plymouth-reboot.service \ |
527 | units/plymouth-kexec.service \ | |
528 | units/plymouth-poweroff.service \ | |
aa2e2115 LP |
529 | units/plymouth-halt.service \ |
530 | units/systemd-ask-password-plymouth.path | |
531 | ||
532 | nodist_systemunit_DATA += \ | |
533 | units/systemd-ask-password-plymouth.service | |
534 | ||
535 | EXTRA_DIST += \ | |
536 | units/systemd-ask-password-plymouth.service.in | |
5e6afdd3 LP |
537 | endif |
538 | ||
240a3a85 LP |
539 | dist_doc_DATA = \ |
540 | README \ | |
795750ca LP |
541 | LICENSE \ |
542 | DISTRO_PORTING \ | |
240a3a85 | 543 | src/sd-daemon.h \ |
d0b48809 LP |
544 | src/sd-daemon.c \ |
545 | src/sd-readahead.h \ | |
546 | src/sd-readahead.c | |
240a3a85 | 547 | |
8c6db833 | 548 | pkgconfigdata_DATA = \ |
02f130cb LP |
549 | systemd.pc |
550 | ||
551 | pkgconfiglib_DATA = \ | |
114a50f8 | 552 | libsystemd-daemon.pc \ |
74b91131 | 553 | libsystemd-login.pc |
8c6db833 | 554 | |
9356a6c6 LP |
555 | # Passed through intltool only |
556 | polkitpolicy_in_files = \ | |
1c7dde3e | 557 | src/org.freedesktop.locale1.policy.in \ |
1c7dde3e BN |
558 | src/org.freedesktop.login1.policy.in |
559 | ||
b2e9fb99 MV |
560 | if ENABLE_HOSTNAMED |
561 | polkitpolicy_in_files += \ | |
562 | src/org.freedesktop.hostname1.policy.in | |
563 | endif | |
564 | ||
f47cd184 MV |
565 | if ENABLE_TIMEDATED |
566 | polkitpolicy_in_files += \ | |
567 | src/org.freedesktop.timedate1.policy.in | |
568 | endif | |
569 | ||
9356a6c6 LP |
570 | # First passed through sed, followed by intltool |
571 | polkitpolicy_in_in_files = \ | |
572 | src/org.freedesktop.systemd1.policy.in.in | |
573 | ||
574 | nodist_polkitpolicy_DATA = \ | |
575 | $(polkitpolicy_in_files:.policy.in=.policy) \ | |
54479a8f | 576 | $(polkitpolicy_in_in_files:.policy.in.in=.policy) |
9356a6c6 LP |
577 | |
578 | EXTRA_DIST += \ | |
579 | $(polkitpolicy_in_files) \ | |
580 | $(polkitpolicy_in_in_files) | |
581 | ||
1c7dde3e | 582 | @INTLTOOL_POLICY_RULE@ |
7640a5de | 583 | |
139be57d LP |
584 | noinst_LTLIBRARIES = \ |
585 | libsystemd-basic.la \ | |
114a50f8 | 586 | libsystemd-core.la |
139be57d | 587 | |
139be57d | 588 | libsystemd_basic_la_SOURCES = \ |
d3f09cf3 | 589 | src/util.c \ |
e51bc1a2 | 590 | src/label.c \ |
d3f09cf3 KS |
591 | src/hashmap.c \ |
592 | src/set.c \ | |
593 | src/strv.c \ | |
594 | src/conf-parser.c \ | |
595 | src/socket-util.c \ | |
596 | src/log.c \ | |
83cc030f LP |
597 | src/ratelimit.c \ |
598 | src/exit-status.c | |
47be870b | 599 | |
4927fcae LP |
600 | libsystemd_basic_la_CFLAGS = \ |
601 | $(AM_CFLAGS) \ | |
602 | $(SELINUX_CFLAGS) | |
603 | ||
604 | libsystemd_basic_la_LIBADD = \ | |
85f19d82 MB |
605 | $(SELINUX_LIBS) \ |
606 | $(CAP_LIBS) | |
4927fcae | 607 | |
139be57d | 608 | libsystemd_core_la_SOURCES = \ |
e99e38bb | 609 | src/unit.c \ |
d3f09cf3 KS |
610 | src/job.c \ |
611 | src/manager.c \ | |
84e3543e | 612 | src/path-lookup.c \ |
d3f09cf3 KS |
613 | src/load-fragment.c \ |
614 | src/service.c \ | |
615 | src/automount.c \ | |
616 | src/mount.c \ | |
617 | src/swap.c \ | |
618 | src/device.c \ | |
619 | src/target.c \ | |
620 | src/snapshot.c \ | |
621 | src/socket.c \ | |
622 | src/timer.c \ | |
01f78473 | 623 | src/path.c \ |
d3f09cf3 KS |
624 | src/load-dropin.c \ |
625 | src/execute.c \ | |
169c1bda | 626 | src/utmp-wtmp.c \ |
d3f09cf3 KS |
627 | src/dbus.c \ |
628 | src/dbus-manager.c \ | |
629 | src/dbus-unit.c \ | |
630 | src/dbus-job.c \ | |
e99e38bb LP |
631 | src/dbus-service.c \ |
632 | src/dbus-socket.c \ | |
871d7de4 | 633 | src/dbus-timer.c \ |
e99e38bb LP |
634 | src/dbus-target.c \ |
635 | src/dbus-mount.c \ | |
636 | src/dbus-automount.c \ | |
637 | src/dbus-swap.c \ | |
638 | src/dbus-snapshot.c \ | |
639 | src/dbus-device.c \ | |
640 | src/dbus-execute.c \ | |
01f78473 | 641 | src/dbus-path.c \ |
e99e38bb LP |
642 | src/cgroup.c \ |
643 | src/mount-setup.c \ | |
644 | src/hostname-setup.c \ | |
c4dcdb9f | 645 | src/selinux-setup.c \ |
e99e38bb | 646 | src/loopback-setup.c \ |
11c3a4ee | 647 | src/kmod-setup.c \ |
72bca11b | 648 | src/locale-setup.c \ |
d7ccca2e | 649 | src/machine-id-setup.c \ |
e99e38bb LP |
650 | src/specifier.c \ |
651 | src/unit-name.c \ | |
652 | src/fdset.c \ | |
0213c3f8 | 653 | src/namespace.c \ |
8c6db833 | 654 | src/tcpwrap.c \ |
52661efd | 655 | src/cgroup-util.c \ |
bfebab7f | 656 | src/condition.c \ |
530345e7 | 657 | src/dbus-common.c \ |
c0576cd6 | 658 | src/sd-daemon.c \ |
ab1f0633 LP |
659 | src/install.c \ |
660 | src/cgroup-attr.c | |
47be870b | 661 | |
f975e971 LP |
662 | nodist_libsystemd_core_la_SOURCES = \ |
663 | src/load-fragment-gperf.c \ | |
664 | src/load-fragment-gperf-nulstr.c | |
665 | ||
6e5c0444 LP |
666 | EXTRA_DIST += \ |
667 | src/load-fragment-gperf.gperf.m4 | |
668 | ||
139be57d LP |
669 | libsystemd_core_la_CFLAGS = \ |
670 | $(AM_CFLAGS) \ | |
671 | $(DBUS_CFLAGS) \ | |
4927fcae LP |
672 | $(UDEV_CFLAGS) \ |
673 | $(LIBWRAP_CFLAGS) \ | |
674 | $(PAM_CFLAGS) \ | |
675 | $(AUDIT_CFLAGS) | |
139be57d LP |
676 | |
677 | libsystemd_core_la_LIBADD = \ | |
678 | libsystemd-basic.la \ | |
679 | $(DBUS_LIBS) \ | |
680 | $(UDEV_LIBS) \ | |
139be57d | 681 | $(LIBWRAP_LIBS) \ |
7a58bfa4 | 682 | $(PAM_LIBS) \ |
85f19d82 MB |
683 | $(AUDIT_LIBS) \ |
684 | $(CAP_LIBS) | |
139be57d | 685 | |
9a1ac7b9 LP |
686 | # This is needed because automake is buggy in how it generates the |
687 | # rules for C programs, but not Vala programs. We therefore can't | |
688 | # list the .h files as dependencies if we want make dist to work. | |
689 | ||
462b33e9 | 690 | EXTRA_DIST += \ |
139be57d LP |
691 | ${libsystemd_basic_la_SOURCES:.c=.h} \ |
692 | ${libsystemd_core_la_SOURCES:.c=.h} \ | |
2f6a1ab1 | 693 | ${libsystemd_daemon_la_SOURCES:.c=.h} \ |
e99e38bb | 694 | src/macro.h \ |
5b754353 | 695 | src/def.h \ |
e99e38bb LP |
696 | src/ioprio.h \ |
697 | src/missing.h \ | |
698 | src/list.h \ | |
699 | src/securebits.h \ | |
700 | src/linux/auto_dev-ioctl.h \ | |
30b89475 | 701 | src/linux/fanotify.h \ |
e99e38bb | 702 | src/initreq.h \ |
d0b48809 | 703 | src/sd-readahead.h \ |
9a1ac7b9 | 704 | src/special.h \ |
398ef8ba | 705 | src/dbus-common.h \ |
ab35fb1b | 706 | src/bus-errors.h \ |
cd6d0a45 | 707 | src/cgroup-show.h \ |
f6144808 | 708 | src/build.h \ |
30b89475 | 709 | src/shutdownd.h \ |
26e190cf | 710 | src/umount.h \ |
7f4e0805 | 711 | src/readahead-common.h \ |
7a41c611 LP |
712 | src/ask-password-api.h \ |
713 | src/pager.h \ | |
714 | src/sysfs-show.h \ | |
715 | src/polkit.h \ | |
716 | src/logind.h \ | |
717 | src/logind-device.h \ | |
718 | src/logind-seat.h \ | |
719 | src/logind-session.h \ | |
720 | src/logind-user.h \ | |
721 | src/logind-acl.h \ | |
6a9bff42 LP |
722 | src/dbus-loop.h \ |
723 | src/spawn-agent.h | |
6f6083dc LP |
724 | |
725 | MANPAGES = \ | |
160cd5c9 | 726 | man/systemd.1 \ |
6f6083dc LP |
727 | man/systemctl.1 \ |
728 | man/systemadm.1 \ | |
fa776d8e | 729 | man/systemd-cgls.1 \ |
8f7a3c14 | 730 | man/systemd-nspawn.1 \ |
522d4a49 | 731 | man/systemd-tmpfiles.8 \ |
c5abba08 | 732 | man/systemd-notify.1 \ |
f9378423 | 733 | man/sd_notify.3 \ |
6624768c | 734 | man/sd_readahead.3 \ |
f9378423 LP |
735 | man/sd_booted.3 \ |
736 | man/sd_listen_fds.3 \ | |
737 | man/sd_is_fifo.3 \ | |
6f6083dc LP |
738 | man/systemd.unit.5 \ |
739 | man/systemd.service.5 \ | |
1f812fea | 740 | man/systemd.socket.5 \ |
cdb788e4 | 741 | man/systemd.mount.5 \ |
65232ea7 | 742 | man/systemd.automount.5 \ |
e0cabd4b | 743 | man/systemd.swap.5 \ |
11fcc3ab | 744 | man/systemd.timer.5 \ |
b36b082c | 745 | man/systemd.path.5 \ |
da49e9ab | 746 | man/systemd.target.5 \ |
eec575d8 | 747 | man/systemd.device.5 \ |
b2c20dd9 | 748 | man/systemd.snapshot.5 \ |
dd1eb43b | 749 | man/systemd.exec.5 \ |
6f6083dc | 750 | man/daemon.7 \ |
359957ee | 751 | man/sd-daemon.7 \ |
e62e6670 | 752 | man/sd-readahead.7 \ |
359957ee | 753 | man/runlevel.8 \ |
160cd5c9 LP |
754 | man/telinit.8 \ |
755 | man/halt.8 \ | |
756 | man/shutdown.8 \ | |
f3e219a2 | 757 | man/pam_systemd.8 \ |
4149f86d | 758 | man/systemd.conf.5 \ |
8fa365e5 | 759 | man/systemd-logind.conf.5 \ |
6a7e63ef | 760 | man/tmpfiles.d.5 \ |
eeca220b | 761 | man/hostname.5 \ |
d7ccca2e | 762 | man/machine-id.5 \ |
ee486472 | 763 | man/vconsole.conf.5 \ |
e17fb729 | 764 | man/locale.conf.5 \ |
a7c64469 | 765 | man/os-release.5 \ |
7640a5de | 766 | man/machine-info.5 \ |
151b190e | 767 | man/modules-load.d.5 \ |
f3bc7fdc | 768 | man/sysctl.d.5 \ |
a61933ad LP |
769 | man/systemd-ask-password.1 \ |
770 | man/systemd-loginctl.1 | |
6f6083dc | 771 | |
27669061 MV |
772 | if ENABLE_BINFMT |
773 | MANPAGES += \ | |
774 | man/binfmt.d.5 | |
775 | endif | |
776 | ||
6f6083dc LP |
777 | MANPAGES_ALIAS = \ |
778 | man/reboot.8 \ | |
779 | man/poweroff.8 \ | |
780 | man/sd_is_socket.3 \ | |
781 | man/sd_is_socket_unix.3 \ | |
782 | man/sd_is_socket_inet.3 \ | |
783 | man/sd_notifyf.3 \ | |
784 | man/init.1 | |
785 | ||
786 | man/reboot.8: man/halt.8 | |
787 | man/poweroff.8: man/halt.8 | |
788 | man/sd_is_socket.3: man/sd_is_fifo.3 | |
789 | man/sd_is_socket_unix.3: man/sd_is_fifo.3 | |
790 | man/sd_is_socket_inet.3: man/sd_is_fifo.3 | |
791 | man/sd_notifyf.3: man/sd_notify.3 | |
792 | man/init.1: man/systemd.1 | |
793 | ||
794 | dist_man_MANS = \ | |
795 | $(MANPAGES) \ | |
796 | $(MANPAGES_ALIAS) | |
9f2c5942 LP |
797 | |
798 | nodist_man_MANS = \ | |
9f235308 | 799 | man/systemd.special.7 |
d1ab0ca0 | 800 | |
6f6083dc LP |
801 | XML_FILES = \ |
802 | ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}} | |
803 | ||
804 | XML_IN_FILES = \ | |
805 | ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}} | |
806 | ||
9f2c5942 | 807 | dist_noinst_DATA = \ |
6f6083dc | 808 | ${XML_FILES:.xml=.html} |
d1ab0ca0 | 809 | |
9f2c5942 | 810 | nodist_noinst_DATA = \ |
6f6083dc | 811 | ${XML_IN_FILES:.xml.in=.html} |
d1ab0ca0 LP |
812 | |
813 | EXTRA_DIST += \ | |
6f6083dc LP |
814 | $(XML_FILES) \ |
815 | $(XML_IN_FILES) \ | |
816 | ${nodist_man_MANS:=.in} \ | |
817 | ${XML_IN_FILES:.xml.in=.html.in} | |
d1ab0ca0 | 818 | |
47be870b | 819 | systemd_SOURCES = \ |
e99e38bb | 820 | src/main.c |
47be870b | 821 | |
10e87ee7 LP |
822 | systemd_CFLAGS = \ |
823 | $(AM_CFLAGS) \ | |
47be870b | 824 | $(DBUS_CFLAGS) \ |
35d2e7ec | 825 | $(UDEV_CFLAGS) |
47be870b LP |
826 | |
827 | systemd_LDADD = \ | |
139be57d | 828 | libsystemd-core.la |
47be870b LP |
829 | |
830 | test_engine_SOURCES = \ | |
e99e38bb | 831 | src/test-engine.c |
47be870b | 832 | |
10e87ee7 | 833 | test_engine_CFLAGS = $(systemd_CFLAGS) |
47be870b LP |
834 | test_engine_LDADD = $(systemd_LDADD) |
835 | ||
836 | test_job_type_SOURCES = \ | |
e1d680ad | 837 | src/test-job-type.c |
47be870b | 838 | |
10e87ee7 | 839 | test_job_type_CFLAGS = $(systemd_CFLAGS) |
47be870b LP |
840 | test_job_type_LDADD = $(systemd_LDADD) |
841 | ||
15ae422b | 842 | test_ns_SOURCES = \ |
139be57d | 843 | src/test-ns.c |
15ae422b | 844 | |
10e87ee7 | 845 | test_ns_CFLAGS = $(systemd_CFLAGS) |
15ae422b LP |
846 | test_ns_LDADD = $(systemd_LDADD) |
847 | ||
af5bc85d | 848 | test_loopback_SOURCES = \ |
e99e38bb LP |
849 | src/test-loopback.c \ |
850 | src/loopback-setup.c | |
af5bc85d | 851 | |
139be57d LP |
852 | test_loopback_LDADD = \ |
853 | libsystemd-basic.la | |
854 | ||
e5907703 LP |
855 | test_hostname_SOURCES = \ |
856 | src/test-hostname.c \ | |
857 | src/hostname-setup.c | |
858 | ||
859 | test_hostname_LDADD = \ | |
860 | libsystemd-basic.la | |
861 | ||
8c47c732 | 862 | test_daemon_SOURCES = \ |
2f6a1ab1 | 863 | src/test-daemon.c |
af5bc85d | 864 | |
139be57d | 865 | test_daemon_LDADD = \ |
2f6a1ab1 MB |
866 | libsystemd-basic.la \ |
867 | libsystemd-daemon.la | |
139be57d | 868 | |
8c6db833 LP |
869 | test_cgroup_SOURCES = \ |
870 | src/test-cgroup.c \ | |
871 | src/cgroup-util.c | |
872 | ||
873 | test_cgroup_CFLAGS = \ | |
35d2e7ec | 874 | $(AM_CFLAGS) |
8c6db833 LP |
875 | |
876 | test_cgroup_LDADD = \ | |
35d2e7ec | 877 | libsystemd-basic.la |
8c6db833 | 878 | |
c24eb49e LP |
879 | test_env_replace_SOURCES = \ |
880 | src/test-env-replace.c | |
881 | ||
882 | test_env_replace_CFLAGS = \ | |
883 | $(AM_CFLAGS) | |
884 | ||
885 | test_env_replace_LDADD = \ | |
886 | libsystemd-basic.la | |
887 | ||
f90cf44c | 888 | test_strv_SOURCES = \ |
2c4b304e | 889 | src/test-strv.c \ |
c292c495 | 890 | src/specifier.c |
f90cf44c LP |
891 | |
892 | test_strv_CFLAGS = \ | |
893 | $(AM_CFLAGS) | |
894 | ||
895 | test_strv_LDADD = \ | |
896 | libsystemd-basic.la | |
897 | ||
74b91131 LP |
898 | test_login_SOURCES = \ |
899 | src/test-login.c | |
900 | ||
901 | test_login_CFLAGS = \ | |
902 | $(AM_CFLAGS) | |
903 | ||
904 | test_login_LDADD = \ | |
905 | libsystemd-basic.la \ | |
906 | libsystemd-login.la | |
907 | ||
83096483 LP |
908 | test_install_SOURCES = \ |
909 | src/test-install.c \ | |
910 | src/install.c \ | |
911 | src/path-lookup.c \ | |
912 | src/unit-name.c | |
913 | ||
914 | test_install_CFLAGS = \ | |
915 | $(AM_CFLAGS) \ | |
916 | $(DBUS_CFLAGS) | |
917 | ||
918 | test_install_LDADD = \ | |
919 | libsystemd-basic.la | |
920 | ||
47be870b | 921 | systemd_logger_SOURCES = \ |
e99e38bb | 922 | src/logger.c \ |
0213c3f8 LP |
923 | src/tcpwrap.c |
924 | ||
925 | systemd_logger_LDADD = \ | |
139be57d | 926 | libsystemd-basic.la \ |
2f6a1ab1 | 927 | libsystemd-daemon.la \ |
0213c3f8 | 928 | $(LIBWRAP_LIBS) |
47be870b | 929 | |
0b7964b8 | 930 | systemd_initctl_SOURCES = \ |
e99e38bb | 931 | src/initctl.c \ |
a822056b | 932 | src/dbus-common.c |
0b7964b8 | 933 | |
10e87ee7 LP |
934 | systemd_initctl_CFLAGS = \ |
935 | $(AM_CFLAGS) \ | |
0b7964b8 LP |
936 | $(DBUS_CFLAGS) |
937 | ||
938 | systemd_initctl_LDADD = \ | |
139be57d | 939 | libsystemd-basic.la \ |
2f6a1ab1 | 940 | libsystemd-daemon.la \ |
0b7964b8 LP |
941 | $(DBUS_LIBS) |
942 | ||
4927fcae LP |
943 | systemd_update_utmp_SOURCES = \ |
944 | src/update-utmp.c \ | |
945 | src/dbus-common.c \ | |
946 | src/utmp-wtmp.c | |
947 | ||
948 | systemd_update_utmp_CFLAGS = \ | |
949 | $(AM_CFLAGS) \ | |
950 | $(DBUS_CFLAGS) \ | |
951 | $(AUDIT_CFLAGS) | |
952 | ||
953 | systemd_update_utmp_LDADD = \ | |
954 | libsystemd-basic.la \ | |
955 | $(DBUS_LIBS) \ | |
956 | $(AUDIT_LIBS) | |
957 | ||
ca2cab5d LP |
958 | systemd_random_seed_SOURCES = \ |
959 | src/random-seed.c | |
960 | ||
961 | systemd_random_seed_CFLAGS = \ | |
962 | $(AM_CFLAGS) | |
963 | ||
964 | systemd_random_seed_LDADD = \ | |
965 | libsystemd-basic.la | |
966 | ||
f6144808 | 967 | systemd_shutdownd_SOURCES = \ |
9be9828c | 968 | src/utmp-wtmp.c \ |
f6144808 LP |
969 | src/shutdownd.c |
970 | ||
971 | systemd_shutdownd_CFLAGS = \ | |
972 | $(AM_CFLAGS) | |
973 | ||
974 | systemd_shutdownd_LDADD = \ | |
2f6a1ab1 MB |
975 | libsystemd-basic.la \ |
976 | libsystemd-daemon.la | |
f6144808 | 977 | |
7640a5de LP |
978 | systemd_hostnamed_SOURCES = \ |
979 | src/hostnamed.c \ | |
f401e48c LP |
980 | src/dbus-common.c \ |
981 | src/polkit.c | |
7640a5de LP |
982 | |
983 | systemd_hostnamed_CFLAGS = \ | |
984 | $(AM_CFLAGS) \ | |
985 | $(DBUS_CFLAGS) | |
986 | ||
987 | systemd_hostnamed_LDADD = \ | |
988 | libsystemd-basic.la \ | |
989 | libsystemd-daemon.la \ | |
990 | $(DBUS_LIBS) | |
991 | ||
f401e48c LP |
992 | systemd_localed_SOURCES = \ |
993 | src/localed.c \ | |
994 | src/dbus-common.c \ | |
995 | src/polkit.c | |
996 | ||
997 | systemd_localed_CFLAGS = \ | |
998 | $(AM_CFLAGS) \ | |
999 | $(DBUS_CFLAGS) | |
1000 | ||
1001 | systemd_localed_LDADD = \ | |
1002 | libsystemd-basic.la \ | |
1003 | libsystemd-daemon.la \ | |
1004 | $(DBUS_LIBS) | |
1005 | ||
1006 | systemd_timedated_SOURCES = \ | |
1007 | src/timedated.c \ | |
1008 | src/dbus-common.c \ | |
1009 | src/polkit.c | |
1010 | ||
1011 | systemd_timedated_CFLAGS = \ | |
1012 | $(AM_CFLAGS) \ | |
1013 | $(DBUS_CFLAGS) | |
1014 | ||
1015 | systemd_timedated_LDADD = \ | |
1016 | libsystemd-basic.la \ | |
1017 | libsystemd-daemon.la \ | |
1018 | $(DBUS_LIBS) | |
1019 | ||
20263082 LP |
1020 | systemd_logind_SOURCES = \ |
1021 | src/logind.c \ | |
3f49d45a | 1022 | src/logind-dbus.c \ |
20263082 LP |
1023 | src/logind-device.c \ |
1024 | src/logind-seat.c \ | |
3f49d45a | 1025 | src/logind-seat-dbus.c \ |
20263082 | 1026 | src/logind-session.c \ |
3f49d45a | 1027 | src/logind-session-dbus.c \ |
20263082 | 1028 | src/logind-user.c \ |
3f49d45a | 1029 | src/logind-user-dbus.c \ |
20263082 LP |
1030 | src/dbus-common.c \ |
1031 | src/dbus-loop.c \ | |
7f7bb946 LP |
1032 | src/cgroup-util.c \ |
1033 | src/polkit.c | |
20263082 | 1034 | |
f975e971 LP |
1035 | nodist_systemd_logind_SOURCES = \ |
1036 | src/logind-gperf.c | |
1037 | ||
6e5c0444 LP |
1038 | EXTRA_DIST += \ |
1039 | src/logind-gperf.gperf | |
1040 | ||
20263082 LP |
1041 | systemd_logind_CFLAGS = \ |
1042 | $(AM_CFLAGS) \ | |
1043 | $(DBUS_CFLAGS) \ | |
5eda94dd LP |
1044 | $(UDEV_CFLAGS) \ |
1045 | $(ACL_CFLAGS) | |
20263082 LP |
1046 | |
1047 | systemd_logind_LDADD = \ | |
1048 | libsystemd-basic.la \ | |
1049 | libsystemd-daemon.la \ | |
1050 | $(DBUS_LIBS) \ | |
5eda94dd LP |
1051 | $(UDEV_LIBS) \ |
1052 | $(ACL_LIBS) | |
1053 | ||
1054 | systemd_uaccess_SOURCES = \ | |
2fb1aeda ZJS |
1055 | src/uaccess.c |
1056 | ||
1057 | if HAVE_ACL | |
1058 | systemd_logind_SOURCES += \ | |
1059 | src/logind-acl.c | |
1060 | ||
1061 | systemd_uaccess_SOURCES += \ | |
1062 | src/logind-acl.c | |
1063 | endif | |
5eda94dd LP |
1064 | |
1065 | systemd_uaccess_CFLAGS = \ | |
1066 | $(AM_CFLAGS) \ | |
1067 | $(UDEV_CFLAGS) \ | |
1068 | $(ACL_CFLAGS) | |
1069 | ||
1070 | systemd_uaccess_LDADD = \ | |
1071 | libsystemd-basic.la \ | |
74b91131 | 1072 | libsystemd-daemon.la \ |
c0576cd6 | 1073 | libsystemd-login.la \ |
5eda94dd LP |
1074 | $(UDEV_LIBS) \ |
1075 | $(ACL_LIBS) | |
20263082 | 1076 | |
b1b2a107 FF |
1077 | systemd_shutdown_SOURCES = \ |
1078 | src/mount-setup.c \ | |
1079 | src/umount.c \ | |
1080 | src/shutdown.c | |
1081 | ||
1082 | systemd_shutdown_CFLAGS = \ | |
1083 | $(AM_CFLAGS) \ | |
1084 | $(UDEV_CFLAGS) | |
1085 | ||
1086 | systemd_shutdown_LDADD = \ | |
1087 | libsystemd-basic.la \ | |
1088 | $(UDEV_LIBS) | |
1089 | ||
b2423f1f LP |
1090 | systemd_modules_load_SOURCES = \ |
1091 | src/modules-load.c | |
1092 | ||
1093 | systemd_modules_load_CFLAGS = \ | |
1094 | $(AM_CFLAGS) | |
1095 | ||
3d20ed6d | 1096 | systemd_modules_load_LDADD = \ |
5008d581 LP |
1097 | libsystemd-basic.la |
1098 | ||
bfaf42d2 LP |
1099 | systemd_tmpfiles_SOURCES = \ |
1100 | src/tmpfiles.c | |
5008d581 | 1101 | |
bfaf42d2 | 1102 | systemd_tmpfiles_CFLAGS = \ |
5008d581 LP |
1103 | $(AM_CFLAGS) |
1104 | ||
3d20ed6d LP |
1105 | systemd_tmpfiles_LDADD = \ |
1106 | libsystemd-basic.la | |
1107 | ||
d7ccca2e LP |
1108 | systemd_machine_id_setup_SOURCES = \ |
1109 | src/machine-id-setup.c \ | |
1110 | src/machine-id-main.c | |
1111 | ||
1112 | systemd_machine_id_setup_CFLAGS = \ | |
1113 | $(AM_CFLAGS) | |
1114 | ||
1115 | systemd_machine_id_setup_LDADD = \ | |
1116 | libsystemd-basic.la | |
1117 | ||
8e1bd70d LP |
1118 | systemd_sysctl_SOURCES = \ |
1119 | src/sysctl.c | |
1120 | ||
1121 | systemd_sysctl_CFLAGS = \ | |
1122 | $(AM_CFLAGS) | |
1123 | ||
1124 | systemd_sysctl_LDADD = \ | |
1125 | libsystemd-basic.la | |
1126 | ||
151b190e LP |
1127 | systemd_binfmt_SOURCES = \ |
1128 | src/binfmt.c | |
1129 | ||
1130 | systemd_binfmt_CFLAGS = \ | |
1131 | $(AM_CFLAGS) | |
1132 | ||
1133 | systemd_binfmt_LDADD = \ | |
1134 | libsystemd-basic.la | |
1135 | ||
3d20ed6d LP |
1136 | systemd_fsck_SOURCES = \ |
1137 | src/fsck.c \ | |
3d20ed6d LP |
1138 | src/dbus-common.c |
1139 | ||
1140 | systemd_fsck_CFLAGS = \ | |
1141 | $(AM_CFLAGS) \ | |
1142 | $(UDEV_CFLAGS) \ | |
1143 | $(DBUS_CFLAGS) | |
1144 | ||
1145 | systemd_fsck_LDADD = \ | |
1146 | libsystemd-basic.la \ | |
1147 | $(UDEV_LIBS) \ | |
1148 | $(DBUS_LIBS) | |
1149 | ||
1150 | systemd_quotacheck_SOURCES = \ | |
1151 | src/quotacheck.c | |
1152 | ||
1153 | systemd_quotacheck_CFLAGS = \ | |
1154 | $(AM_CFLAGS) | |
1155 | ||
1156 | systemd_quotacheck_LDADD = \ | |
e9278741 LP |
1157 | libsystemd-basic.la |
1158 | ||
e9ddabc2 LP |
1159 | systemd_timestamp_SOURCES = \ |
1160 | src/timestamp.c | |
1161 | ||
1162 | systemd_timestamp_CFLAGS = \ | |
1163 | $(AM_CFLAGS) | |
1164 | ||
1165 | systemd_timestamp_LDADD = \ | |
1166 | libsystemd-basic.la | |
1167 | ||
06cdd248 LP |
1168 | systemd_ac_power_SOURCES = \ |
1169 | src/ac-power.c | |
1170 | ||
1171 | systemd_ac_power_CFLAGS = \ | |
1172 | $(AM_CFLAGS) \ | |
1173 | $(UDEV_CFLAGS) | |
1174 | ||
1175 | systemd_ac_power_LDADD = \ | |
1176 | libsystemd-basic.la \ | |
1177 | $(UDEV_LIBS) | |
1178 | ||
07faed4f LP |
1179 | systemd_detect_virt_SOURCES = \ |
1180 | src/detect-virt.c | |
1181 | ||
1182 | systemd_detect_virt_CFLAGS = \ | |
1183 | $(AM_CFLAGS) | |
1184 | ||
1185 | systemd_detect_virt_LDADD = \ | |
1186 | libsystemd-basic.la | |
1187 | ||
e23a0ce8 | 1188 | systemd_cryptsetup_SOURCES = \ |
7f4e0805 LP |
1189 | src/cryptsetup.c \ |
1190 | src/ask-password-api.c | |
e23a0ce8 LP |
1191 | |
1192 | systemd_cryptsetup_CFLAGS = \ | |
7f4e0805 | 1193 | $(LIBCRYPTSETUP_CFLAGS) \ |
b1a2da0a | 1194 | $(UDEV_CFLAGS) \ |
e23a0ce8 LP |
1195 | $(AM_CFLAGS) |
1196 | ||
1197 | systemd_cryptsetup_LDADD = \ | |
7f4e0805 | 1198 | $(LIBCRYPTSETUP_LIBS) \ |
b1a2da0a | 1199 | $(UDEV_LIBS) \ |
e23a0ce8 LP |
1200 | libsystemd-basic.la |
1201 | ||
1202 | systemd_cryptsetup_generator_SOURCES = \ | |
1203 | src/cryptsetup-generator.c \ | |
1204 | src/unit-name.c | |
1205 | ||
1206 | systemd_cryptsetup_generator_CFLAGS = \ | |
1207 | $(AM_CFLAGS) | |
1208 | ||
1209 | systemd_cryptsetup_generator_LDADD = \ | |
1210 | libsystemd-basic.la | |
1211 | ||
2a796654 LP |
1212 | systemd_getty_generator_SOURCES = \ |
1213 | src/getty-generator.c \ | |
1214 | src/unit-name.c | |
1215 | ||
1216 | systemd_getty_generator_CFLAGS = \ | |
1217 | $(AM_CFLAGS) | |
1218 | ||
1219 | systemd_getty_generator_LDADD = \ | |
1220 | libsystemd-basic.la | |
1221 | ||
e9278741 LP |
1222 | systemd_user_sessions_SOURCES = \ |
1223 | src/user-sessions.c \ | |
1224 | src/cgroup-util.c | |
1225 | ||
1226 | systemd_user_sessions_CFLAGS = \ | |
1227 | $(AM_CFLAGS) | |
1228 | ||
3d20ed6d | 1229 | systemd_user_sessions_LDADD = \ |
b2423f1f LP |
1230 | libsystemd-basic.la |
1231 | ||
97c4a07d LP |
1232 | systemd_vconsole_setup_SOURCES = \ |
1233 | src/vconsole-setup.c | |
1234 | ||
1235 | systemd_vconsole_setup_CFLAGS = \ | |
1236 | $(AM_CFLAGS) | |
1237 | ||
1238 | systemd_vconsole_setup_LDADD = \ | |
1239 | libsystemd-basic.la | |
1240 | ||
449ddb2d LP |
1241 | systemd_remount_api_vfs_SOURCES = \ |
1242 | src/remount-api-vfs.c \ | |
9a57c629 LP |
1243 | src/mount-setup.c \ |
1244 | src/exit-status.c | |
449ddb2d LP |
1245 | |
1246 | systemd_remount_api_vfs_CFLAGS = \ | |
1247 | $(AM_CFLAGS) | |
1248 | ||
1249 | systemd_remount_api_vfs_LDADD = \ | |
1250 | libsystemd-basic.la | |
1251 | ||
8e274523 | 1252 | systemd_cgroups_agent_SOURCES = \ |
3c661fad LP |
1253 | src/cgroups-agent.c \ |
1254 | src/dbus-common.c | |
8e274523 | 1255 | |
10e87ee7 LP |
1256 | systemd_cgroups_agent_CFLAGS = \ |
1257 | $(AM_CFLAGS) \ | |
8e274523 LP |
1258 | $(DBUS_CFLAGS) |
1259 | ||
1260 | systemd_cgroups_agent_LDADD = \ | |
139be57d | 1261 | libsystemd-basic.la \ |
8e274523 LP |
1262 | $(DBUS_LIBS) |
1263 | ||
addab137 LP |
1264 | systemd_kmsg_syslogd_SOURCES = \ |
1265 | src/kmsg-syslogd.c \ | |
addab137 LP |
1266 | src/fdset.c |
1267 | ||
1268 | systemd_kmsg_syslogd_CFLAGS = \ | |
1269 | $(AM_CFLAGS) | |
1270 | ||
1271 | systemd_kmsg_syslogd_LDADD = \ | |
2f6a1ab1 MB |
1272 | libsystemd-basic.la \ |
1273 | libsystemd-daemon.la | |
addab137 | 1274 | |
7e4249b9 LP |
1275 | systemctl_SOURCES = \ |
1276 | src/systemctl.c \ | |
9a1ac7b9 | 1277 | src/utmp-wtmp.c \ |
ab35fb1b | 1278 | src/dbus-common.c \ |
ee5762e3 | 1279 | src/path-lookup.c \ |
c6c18be3 | 1280 | src/cgroup-show.c \ |
d06dacd0 | 1281 | src/cgroup-util.c \ |
71fad675 | 1282 | src/exit-status.c \ |
1968a360 | 1283 | src/unit-name.c \ |
729e3769 LP |
1284 | src/pager.c \ |
1285 | src/install.c \ | |
1286 | src/spawn-agent.c | |
139be57d LP |
1287 | |
1288 | systemctl_CFLAGS = \ | |
1289 | $(AM_CFLAGS) \ | |
35d2e7ec | 1290 | $(DBUS_CFLAGS) |
7e4249b9 | 1291 | |
139be57d LP |
1292 | systemctl_LDADD = \ |
1293 | libsystemd-basic.la \ | |
2f6a1ab1 | 1294 | libsystemd-daemon.la \ |
35d2e7ec | 1295 | $(DBUS_LIBS) |
7e4249b9 | 1296 | |
abca4822 LP |
1297 | systemd_loginctl_SOURCES = \ |
1298 | src/loginctl.c \ | |
1299 | src/dbus-common.c \ | |
1300 | src/cgroup-show.c \ | |
1301 | src/cgroup-util.c \ | |
a4c279f8 LP |
1302 | src/pager.c \ |
1303 | src/sysfs-show.c | |
abca4822 LP |
1304 | |
1305 | systemd_loginctl_CFLAGS = \ | |
1306 | $(AM_CFLAGS) \ | |
a4c279f8 LP |
1307 | $(DBUS_CFLAGS) \ |
1308 | $(UDEV_CFLAGS) | |
abca4822 LP |
1309 | |
1310 | systemd_loginctl_LDADD = \ | |
1311 | libsystemd-basic.la \ | |
a4c279f8 LP |
1312 | $(DBUS_LIBS) \ |
1313 | $(UDEV_LIBS) | |
abca4822 | 1314 | |
4a2a8b5a LP |
1315 | systemd_notify_SOURCES = \ |
1316 | src/notify.c \ | |
d0b48809 | 1317 | src/sd-readahead.c |
139be57d LP |
1318 | |
1319 | systemd_notify_LDADD = \ | |
2f6a1ab1 MB |
1320 | libsystemd-basic.la \ |
1321 | libsystemd-daemon.la | |
4a2a8b5a | 1322 | |
490aed58 | 1323 | systemd_ask_password_SOURCES = \ |
7f4e0805 LP |
1324 | src/ask-password.c \ |
1325 | src/ask-password-api.c | |
490aed58 LP |
1326 | |
1327 | systemd_ask_password_LDADD = \ | |
1328 | libsystemd-basic.la | |
1329 | ||
1330 | systemd_reply_password_SOURCES = \ | |
1331 | src/reply-password.c | |
1332 | ||
1333 | systemd_reply_password_LDADD = \ | |
1334 | libsystemd-basic.la | |
1335 | ||
22be093f LP |
1336 | systemd_readahead_collect_SOURCES = \ |
1337 | src/readahead-collect.c \ | |
22be093f LP |
1338 | src/readahead-common.c |
1339 | ||
1340 | systemd_readahead_collect_CFLAGS = \ | |
1341 | $(UDEV_CFLAGS) | |
1342 | ||
1343 | systemd_readahead_collect_LDADD = \ | |
1344 | libsystemd-basic.la \ | |
2f6a1ab1 | 1345 | libsystemd-daemon.la \ |
22be093f LP |
1346 | $(UDEV_LIBS) |
1347 | ||
1348 | systemd_readahead_replay_SOURCES = \ | |
1349 | src/readahead-replay.c \ | |
22be093f LP |
1350 | src/readahead-common.c |
1351 | ||
1352 | systemd_readahead_replay_CFLAGS = \ | |
1353 | $(UDEV_CFLAGS) | |
1354 | ||
1355 | systemd_readahead_replay_LDADD = \ | |
1356 | libsystemd-basic.la \ | |
2f6a1ab1 | 1357 | libsystemd-daemon.la \ |
22be093f LP |
1358 | $(UDEV_LIBS) |
1359 | ||
fa776d8e | 1360 | systemd_cgls_SOURCES = \ |
d04247cf | 1361 | src/cgls.c \ |
c6c18be3 | 1362 | src/cgroup-show.c \ |
1968a360 LP |
1363 | src/cgroup-util.c \ |
1364 | src/pager.c | |
fa776d8e LP |
1365 | |
1366 | systemd_cgls_CFLAGS = \ | |
35d2e7ec | 1367 | $(AM_CFLAGS) |
c6c18be3 LP |
1368 | |
1369 | systemd_cgls_LDADD = \ | |
35d2e7ec | 1370 | libsystemd-basic.la |
fa776d8e | 1371 | |
88213476 | 1372 | systemd_nspawn_SOURCES = \ |
04d391da | 1373 | src/nspawn.c \ |
a41fe3a2 LP |
1374 | src/cgroup-util.c \ |
1375 | src/loopback-setup.c | |
88213476 LP |
1376 | |
1377 | systemd_nspawn_CFLAGS = \ | |
1378 | $(AM_CFLAGS) | |
1379 | ||
1380 | systemd_nspawn_LDADD = \ | |
04d391da LP |
1381 | libsystemd-basic.la \ |
1382 | libsystemd-daemon.la | |
88213476 | 1383 | |
a8f11321 LP |
1384 | systemd_stdio_bridge_SOURCES = \ |
1385 | src/bridge.c | |
1386 | ||
1387 | systemd_stdio_bridge_LDADD = \ | |
1388 | libsystemd-basic.la | |
1389 | ||
47be870b | 1390 | systemadm_SOURCES = \ |
e99e38bb LP |
1391 | src/systemadm.vala \ |
1392 | src/systemd-interfaces.vala | |
47be870b | 1393 | |
10e87ee7 LP |
1394 | systemadm_CFLAGS = \ |
1395 | $(AM_CFLAGS) \ | |
10e87ee7 LP |
1396 | $(GTK_CFLAGS) \ |
1397 | -Wno-unused-variable \ | |
1398 | -Wno-unused-function \ | |
1399 | -Wno-shadow \ | |
1400 | -Wno-format-nonliteral | |
1401 | ||
1402 | systemadm_VALAFLAGS = \ | |
10e87ee7 LP |
1403 | --pkg=posix \ |
1404 | --pkg=gtk+-2.0 \ | |
1405 | -g | |
1406 | ||
139be57d | 1407 | systemadm_LDADD = \ |
139be57d | 1408 | $(GTK_LIBS) |
c1e1601e | 1409 | |
d674a4ab LP |
1410 | systemd_gnome_ask_password_agent_SOURCES = \ |
1411 | src/gnome-ask-password-agent.vala | |
490aed58 | 1412 | |
d674a4ab | 1413 | systemd_gnome_ask_password_agent_CFLAGS = \ |
490aed58 | 1414 | $(AM_CFLAGS) \ |
2fa47da5 | 1415 | $(LIBNOTIFY_CFLAGS) \ |
490aed58 LP |
1416 | $(GTK_CFLAGS) \ |
1417 | -Wno-unused-variable \ | |
1418 | -Wno-unused-function \ | |
1419 | -Wno-shadow \ | |
1420 | -Wno-format-nonliteral | |
1421 | ||
d674a4ab | 1422 | systemd_gnome_ask_password_agent_VALAFLAGS = \ |
490aed58 LP |
1423 | --pkg=posix \ |
1424 | --pkg=gtk+-2.0 \ | |
1425 | --pkg=linux \ | |
1426 | --pkg=gio-unix-2.0 \ | |
d0ef2204 KS |
1427 | --pkg=libnotify |
1428 | if LIBNOTIFY07 | |
1429 | systemd_gnome_ask_password_agent_VALAFLAGS += \ | |
1430 | -D LIBNOTIFY07 | |
1431 | endif | |
1432 | systemd_gnome_ask_password_agent_VALAFLAGS += \ | |
490aed58 LP |
1433 | -g |
1434 | ||
d674a4ab | 1435 | systemd_gnome_ask_password_agent_LDADD = \ |
2fa47da5 | 1436 | $(LIBNOTIFY_LIBS) \ |
490aed58 LP |
1437 | $(GTK_LIBS) |
1438 | ||
ec863ba6 LP |
1439 | systemd_tty_ask_password_agent_SOURCES = \ |
1440 | src/tty-ask-password-agent.c \ | |
7f4e0805 | 1441 | src/ask-password-api.c \ |
ec863ba6 LP |
1442 | src/utmp-wtmp.c |
1443 | ||
1444 | systemd_tty_ask_password_agent_LDADD = \ | |
1445 | libsystemd-basic.la | |
1446 | ||
8c6db833 LP |
1447 | pam_systemd_la_SOURCES = \ |
1448 | src/pam-module.c \ | |
98a28fef | 1449 | src/dbus-common.c |
8c6db833 LP |
1450 | |
1451 | pam_systemd_la_CFLAGS = \ | |
98a28fef LP |
1452 | $(AM_CFLAGS) \ |
1453 | $(PAM_CFLAGS) \ | |
1454 | $(DBUS_CFLAGS) \ | |
8c6db833 LP |
1455 | -fvisibility=hidden |
1456 | ||
1457 | pam_systemd_la_LDFLAGS = \ | |
1458 | -module \ | |
1459 | -export-dynamic \ | |
1460 | -avoid-version \ | |
1461 | -shared \ | |
1462 | -export-symbols-regex '^pam_sm_.*' | |
1463 | ||
1464 | pam_systemd_la_LIBADD = \ | |
1465 | libsystemd-basic.la \ | |
2f6a1ab1 | 1466 | libsystemd-daemon.la \ |
98a28fef LP |
1467 | $(PAM_LIBS) \ |
1468 | $(DBUS_LIBS) | |
8c6db833 | 1469 | |
114a50f8 LP |
1470 | libsystemd_daemon_la_SOURCES = \ |
1471 | src/sd-daemon.c | |
1472 | ||
1473 | libsystemd_daemon_la_CFLAGS = \ | |
74b91131 | 1474 | $(AM_CFLAGS) \ |
114a50f8 LP |
1475 | -fvisibility=hidden \ |
1476 | -DSD_EXPORT_SYMBOLS | |
74b91131 | 1477 | |
114a50f8 | 1478 | libsystemd_daemon_la_LDFLAGS = \ |
74b91131 | 1479 | -shared \ |
1eae4c45 LP |
1480 | -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \ |
1481 | -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym | |
74b91131 | 1482 | |
ae446765 KS |
1483 | # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed |
1484 | libsystemd-daemon-install-hook: | |
1485 | if test "$(libdir)" != "$(rootlibdir)"; then \ | |
1486 | mkdir -p $(DESTDIR)$(rootlibdir) && \ | |
1487 | so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-daemon.so) && \ | |
1488 | so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \ | |
1489 | ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-daemon.so && \ | |
1490 | mv $(DESTDIR)$(libdir)/libsystemd-daemon.so.* $(DESTDIR)$(rootlibdir); \ | |
1491 | fi | |
1492 | ||
1493 | libsystemd-daemon-uninstall-hook: | |
1494 | rm -f $(DESTDIR)$(rootlibdir)/libsystemd-daemon.so* | |
1495 | ||
74b91131 LP |
1496 | libsystemd_login_la_SOURCES = \ |
1497 | src/sd-login.c \ | |
1498 | src/cgroup-util.c | |
1499 | ||
114a50f8 LP |
1500 | libsystemd_login_la_CFLAGS = \ |
1501 | $(AM_CFLAGS) \ | |
1502 | -fvisibility=hidden | |
1503 | ||
1504 | libsystemd_login_la_LDFLAGS = \ | |
1505 | -shared \ | |
1eae4c45 LP |
1506 | -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \ |
1507 | -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym | |
114a50f8 | 1508 | |
74b91131 LP |
1509 | libsystemd_login_la_LIBADD = \ |
1510 | libsystemd-basic.la | |
1511 | ||
9b711536 LP |
1512 | # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed |
1513 | libsystemd-login-install-hook: | |
1514 | if test "$(libdir)" != "$(rootlibdir)"; then \ | |
1515 | mkdir -p $(DESTDIR)$(rootlibdir) && \ | |
1516 | so_img_name=$$(readlink $(DESTDIR)$(libdir)/libsystemd-login.so) && \ | |
1517 | so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \ | |
1518 | ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libsystemd-login.so && \ | |
1519 | mv $(DESTDIR)$(libdir)/libsystemd-login.so.* $(DESTDIR)$(rootlibdir); \ | |
1520 | fi | |
1521 | ||
1522 | libsystemd-login-uninstall-hook: | |
1523 | rm -f $(DESTDIR)$(rootlibdir)/libsystemd-login.so* | |
1524 | ||
5e6afdd3 | 1525 | SED_PROCESS = \ |
a00e4879 | 1526 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
1136a371 | 1527 | $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \ |
5b754353 KS |
1528 | -e 's,@rootbindir\@,$(rootbindir),g' \ |
1529 | -e 's,@bindir\@,$(bindir),g' \ | |
1136a371 | 1530 | -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \ |
c7b50859 | 1531 | -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \ |
8c6db833 LP |
1532 | -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \ |
1533 | -e 's,@pkgdatadir\@,$(pkgdatadir),g' \ | |
61fbbab8 | 1534 | -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \ |
8c6db833 | 1535 | -e 's,@systemunitdir\@,$(systemunitdir),g' \ |
d19c883d | 1536 | -e 's,@userunitdir\@,$(userunitdir),g' \ |
8c6db833 LP |
1537 | -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ |
1538 | -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \ | |
1539 | -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \ | |
1540 | -e 's,@prefix\@,$(prefix),g' \ | |
74b91131 LP |
1541 | -e 's,@exec_prefix\@,$(exec_prefix),g' \ |
1542 | -e 's,@libdir\@,$(libdir),g' \ | |
1543 | -e 's,@includedir\@,$(includedir),g' \ | |
de47ca9b | 1544 | < $< > $@ || rm $@ |
70fcff31 | 1545 | |
9f2c5942 | 1546 | units/%: units/%.in Makefile |
5e6afdd3 LP |
1547 | $(SED_PROCESS) |
1548 | ||
2a3d6294 | 1549 | man/%: man/%.in Makefile |
5e6afdd3 LP |
1550 | $(SED_PROCESS) |
1551 | ||
8c6db833 LP |
1552 | %.pc: %.pc.in Makefile |
1553 | $(SED_PROCESS) | |
1554 | ||
9356a6c6 | 1555 | src/%.policy.in: src/%.policy.in.in Makefile |
25705583 LP |
1556 | $(SED_PROCESS) |
1557 | ||
0b191e60 LP |
1558 | src/%.rules: src/%.rules.in Makefile |
1559 | $(SED_PROCESS) | |
1560 | ||
f975e971 LP |
1561 | src/%.c: src/%.gperf |
1562 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ | |
1563 | $(GPERF) < $< > $@ | |
1564 | ||
1565 | src/%: src/%.m4 | |
1566 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ | |
1567 | $(M4) -P $(M4_DEFINES) < $< > $@ || rm $@ | |
1568 | ||
1569 | src/load-fragment-gperf-nulstr.c: src/load-fragment-gperf.gperf | |
1570 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ | |
1571 | $(AWK) 'BEGIN{ keywords=0 ; FS="," ; print "extern const char load_fragment_gperf_nulstr[];" ; print "const char load_fragment_gperf_nulstr[] ="} ; keyword==1 { print "\"" $$1 "\\0\"" } ; /%%/ { keyword=1} ; END { print ";" }' < $< > $@ || rm $@ | |
1572 | ||
fb1bd35a | 1573 | M4_PROCESS_SYSTEM = \ |
a00e4879 | 1574 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
f975e971 | 1575 | $(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@ || rm $@ |
fb1bd35a | 1576 | |
af2d49f7 | 1577 | M4_PROCESS_USER = \ |
a00e4879 | 1578 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
f975e971 | 1579 | $(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@ || rm $@ |
5e6afdd3 | 1580 | |
9f2c5942 | 1581 | units/%: units/%.m4 Makefile |
fb1bd35a | 1582 | $(M4_PROCESS_SYSTEM) |
5e6afdd3 | 1583 | |
af2d49f7 LP |
1584 | units/user/%: units/%.m4 Makefile |
1585 | $(M4_PROCESS_USER) | |
a7b6f8e5 | 1586 | |
c1e1601e | 1587 | CLEANFILES = \ |
6f6083dc | 1588 | $(nodist_systemunit_DATA) \ |
af2d49f7 | 1589 | $(nodist_userunit_DATA) \ |
6f6083dc LP |
1590 | $(nodist_man_MANS) \ |
1591 | ${XML_IN_FILES:.xml.in=.html} \ | |
3eb4d9a2 | 1592 | $(pkgconfigdata_DATA) \ |
6a9bff42 | 1593 | $(pkgconfiglib_DATA) \ |
9356a6c6 | 1594 | $(nodist_polkitpolicy_DATA) \ |
41e4d6e9 | 1595 | src/73-seat-late.rules \ |
6e5c0444 LP |
1596 | src/99-systemd.rules \ |
1597 | src/load-fragment-gperf.gperf \ | |
1598 | src/load-fragment-gperf.c \ | |
1599 | src/load-fragment-gperf-nulstr.c \ | |
1600 | src/logind-gperf.c | |
4697132b | 1601 | |
42e39f0b LP |
1602 | if HAVE_VALAC |
1603 | CLEANFILES += \ | |
6f6083dc | 1604 | ${systemadm_SOURCES:.vala=.c} |
42e39f0b LP |
1605 | endif |
1606 | ||
c3bd7322 | 1607 | if HAVE_XSLTPROC |
c6365917 LP |
1608 | XSLTPROC_FLAGS = \ |
1609 | --nonet \ | |
1610 | --param funcsynopsis.style "'ansi'" | |
1611 | ||
9f2c5942 | 1612 | XSLTPROC_PROCESS_MAN = \ |
a00e4879 | 1613 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 1614 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< |
d1ab0ca0 | 1615 | |
9f2c5942 | 1616 | XSLTPROC_PROCESS_MAN_IN = \ |
a00e4879 | 1617 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 1618 | $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \ |
9f2c5942 LP |
1619 | mv ${@:.in=} $@ |
1620 | ||
1621 | XSLTPROC_PROCESS_HTML = \ | |
a00e4879 | 1622 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 1623 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< |
d1ab0ca0 | 1624 | |
9f2c5942 | 1625 | XSLTPROC_PROCESS_HTML_IN = \ |
a00e4879 | 1626 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 1627 | $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \ |
9f2c5942 LP |
1628 | mv ${@:.in=} $@ |
1629 | ||
6f6083dc | 1630 | man/%.1: man/%.xml |
f9378423 LP |
1631 | $(XSLTPROC_PROCESS_MAN) |
1632 | ||
6f6083dc | 1633 | man/%.1.in: man/%.xml.in |
f9378423 LP |
1634 | $(XSLTPROC_PROCESS_MAN) |
1635 | ||
6f6083dc | 1636 | man/%.3: man/%.xml |
359957ee LP |
1637 | $(XSLTPROC_PROCESS_MAN) |
1638 | ||
6f6083dc | 1639 | man/%.3.in: man/%.xml.in |
359957ee LP |
1640 | $(XSLTPROC_PROCESS_MAN) |
1641 | ||
9f2c5942 LP |
1642 | man/%.5: man/%.xml |
1643 | $(XSLTPROC_PROCESS_MAN) | |
1644 | ||
1645 | man/%.5.in: man/%.xml.in | |
1646 | $(XSLTPROC_PROCESS_MAN) | |
1647 | ||
1648 | man/%.7: man/%.xml | |
1649 | $(XSLTPROC_PROCESS_MAN) | |
1650 | ||
1651 | man/%.7.in: man/%.xml.in | |
1652 | $(XSLTPROC_PROCESS_MAN_IN) | |
1653 | ||
f9378423 LP |
1654 | man/%.8: man/%.xml |
1655 | $(XSLTPROC_PROCESS_MAN) | |
1656 | ||
1657 | man/%.8.in: man/%.xml.in | |
1658 | $(XSLTPROC_PROCESS_MAN_IN) | |
1659 | ||
9f2c5942 LP |
1660 | man/%.html: man/%.xml |
1661 | $(XSLTPROC_PROCESS_HTML) | |
1662 | ||
1663 | man/%.html.in: man/%.xml.in | |
1664 | $(XSLTPROC_PROCESS_HTML_IN) | |
1665 | ||
d1ab0ca0 LP |
1666 | CLEANFILES += \ |
1667 | $(dist_man_MANS) \ | |
6f6083dc LP |
1668 | ${nodist_man_MANS:=.in} \ |
1669 | ${XML_FILES:.xml=.html} \ | |
1670 | ${XML_IN_FILES:.xml.in=.html.in} | |
c3bd7322 | 1671 | endif |
d1ab0ca0 | 1672 | |
9a60da28 TR |
1673 | DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h |
1674 | ||
4288f619 | 1675 | org.freedesktop.systemd1.%.xml: systemd |
114a50f8 | 1676 | $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \ |
382a0310 | 1677 | $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \ |
9a60da28 | 1678 | $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp |
4288f619 | 1679 | |
91f9dcaf | 1680 | org.freedesktop.hostname1.xml: systemd-hostnamed |
114a50f8 | 1681 | $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.hostname1 $< $@.tmp && \ |
91f9dcaf LP |
1682 | $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \ |
1683 | $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp | |
1684 | ||
1685 | org.freedesktop.locale1.xml: systemd-localed | |
114a50f8 | 1686 | $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.locale1 $< $@.tmp && \ |
91f9dcaf LP |
1687 | $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \ |
1688 | $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp | |
1689 | ||
1690 | org.freedesktop.timedate1.xml: systemd-timedated | |
114a50f8 | 1691 | $(AM_V_GEN)$(LIBTOOL) --mode=execute $(OBJCOPY) -O binary -j introspect.timedate1 $< $@.tmp && \ |
91f9dcaf LP |
1692 | $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \ |
1693 | $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp | |
1694 | ||
6f6083dc LP |
1695 | CLEANFILES += \ |
1696 | $(dbusinterface_DATA) | |
4288f619 | 1697 | |
4697132b | 1698 | install-data-hook: |
7ebdfc93 | 1699 | $(MKDIR_P) -m 0755 \ |
5b754353 | 1700 | $(DESTDIR)$(tmpfilesdir) \ |
772f8371 | 1701 | $(DESTDIR)$(sysconfdir)/tmpfiles.d \ |
db1413d7 | 1702 | $(DESTDIR)$(prefix)/lib/modules-load.d \ |
772f8371 | 1703 | $(DESTDIR)$(sysconfdir)/modules-load.d \ |
db1413d7 | 1704 | $(DESTDIR)$(prefix)/lib/sysctl.d \ |
772f8371 | 1705 | $(DESTDIR)$(sysconfdir)/sysctl.d \ |
5b754353 KS |
1706 | $(DESTDIR)$(systemshutdowndir) \ |
1707 | $(DESTDIR)$(systemgeneratordir) \ | |
1708 | $(DESTDIR)$(usergeneratordir) | |
27669061 MV |
1709 | if ENABLE_BINFMT |
1710 | $(MKDIR_P) -m 0755 \ | |
1711 | $(DESTDIR)$(prefix)/lib/binfmt.d \ | |
1712 | $(DESTDIR)$(sysconfdir)/binfmt.d | |
1713 | endif | |
64c1b5bf | 1714 | $(MKDIR_P) -m 0755 \ |
43aa226d | 1715 | $(DESTDIR)$(systemunitdir) \ |
af2d49f7 | 1716 | $(DESTDIR)$(userunitdir) \ |
42eacdad | 1717 | $(DESTDIR)$(systemunitdir)/sysinit.target.wants \ |
5e6afdd3 | 1718 | $(DESTDIR)$(systemunitdir)/sockets.target.wants \ |
c0a1b6e9 | 1719 | $(DESTDIR)$(systemunitdir)/basic.target.wants \ |
cd6d0a45 | 1720 | $(DESTDIR)$(systemunitdir)/shutdown.target.wants \ |
65ae3821 | 1721 | $(DESTDIR)$(systemunitdir)/local-fs.target.wants \ |
cd6d0a45 LP |
1722 | $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \ |
1723 | $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \ | |
1724 | $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \ | |
1725 | $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \ | |
1726 | $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \ | |
45cf9716 | 1727 | $(DESTDIR)$(systemunitdir)/multi-user.target.wants \ |
c980a279 | 1728 | $(DESTDIR)$(systemunitdir)/graphical.target.wants \ |
64c1b5bf | 1729 | $(DESTDIR)$(pkgsysconfdir)/system \ |
42eacdad | 1730 | $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \ |
980d8750 | 1731 | $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \ |
5e6afdd3 | 1732 | $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \ |
980d8750 | 1733 | $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \ |
af2d49f7 | 1734 | $(DESTDIR)$(pkgsysconfdir)/user \ |
e4c1d706 | 1735 | $(DESTDIR)$(dbussessionservicedir) \ |
e82e442b | 1736 | $(DESTDIR)$(sysconfdir)/xdg/systemd |
e9da3678 | 1737 | ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \ |
af2d49f7 LP |
1738 | rm -f user && \ |
1739 | $(LN_S) $(pkgsysconfdir)/user user ) | |
5e6afdd3 | 1740 | ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \ |
52f319b2 | 1741 | rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \ |
5e6afdd3 | 1742 | $(LN_S) ../systemd-logger.socket systemd-logger.socket && \ |
a145090c | 1743 | $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \ |
52f319b2 LP |
1744 | $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \ |
1745 | $(LN_S) ../syslog.socket syslog.socket ) | |
cd6d0a45 LP |
1746 | ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \ |
1747 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1748 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1749 | ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \ |
1750 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1751 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1752 | ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \ |
1753 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1754 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1755 | ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \ |
1756 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1757 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1758 | ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \ |
1759 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1760 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 | 1761 | ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \ |
d3f09cf3 KS |
1762 | rm -f systemd-update-utmp-shutdown.service \ |
1763 | systemd-random-seed-save.service && \ | |
45cf9716 | 1764 | $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \ |
45cf9716 | 1765 | $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service ) |
65ae3821 | 1766 | ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \ |
c0a1b6e9 | 1767 | rm -f systemd-remount-api-vfs.service \ |
980d8750 | 1768 | fsck-root.service \ |
c0a1b6e9 LP |
1769 | remount-rootfs.service \ |
1770 | var-run.mount \ | |
c4b5a3d6 | 1771 | media.mount && \ |
c0a1b6e9 | 1772 | $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \ |
980d8750 | 1773 | $(LN_S) ../fsck-root.service fsck-root.service && \ |
c0a1b6e9 LP |
1774 | $(LN_S) ../remount-rootfs.service remount-rootfs.service && \ |
1775 | $(LN_S) ../var-run.mount var-run.mount && \ | |
c4b5a3d6 | 1776 | $(LN_S) ../media.mount media.mount ) |
af2d49f7 | 1777 | ( cd $(DESTDIR)$(userunitdir) && \ |
835c60f5 | 1778 | rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \ |
8c4a3079 LP |
1779 | $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \ |
1780 | $(LN_S) $(systemunitdir)/sockets.target sockets.target && \ | |
da78e1b4 | 1781 | $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \ |
88dfa293 LP |
1782 | $(LN_S) $(systemunitdir)/printer.target printer.target && \ |
1783 | $(LN_S) $(systemunitdir)/sound.target sound.target ) | |
5e6afdd3 | 1784 | ( cd $(DESTDIR)$(systemunitdir) && \ |
c88f64bd | 1785 | rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \ |
5e6afdd3 LP |
1786 | $(LN_S) poweroff.target runlevel0.target && \ |
1787 | $(LN_S) rescue.target runlevel1.target && \ | |
c88f64bd LP |
1788 | $(LN_S) multi-user.target runlevel2.target && \ |
1789 | $(LN_S) multi-user.target runlevel3.target && \ | |
1790 | $(LN_S) multi-user.target runlevel4.target && \ | |
1791 | $(LN_S) graphical.target runlevel5.target && \ | |
5e6afdd3 | 1792 | $(LN_S) reboot.target runlevel6.target ) |
45cf9716 | 1793 | ( cd $(DESTDIR)$(systemunitdir) && \ |
f47cd184 | 1794 | rm -f default.target ctrl-alt-del.target dbus-org.freedesktop.locale1.service dbus-org.freedesktop.login1.service autovt@.service && \ |
45cf9716 | 1795 | $(LN_S) graphical.target default.target && \ |
7640a5de | 1796 | $(LN_S) reboot.target ctrl-alt-del.target && \ |
f401e48c | 1797 | $(LN_S) systemd-localed.service dbus-org.freedesktop.locale1.service && \ |
d0a522eb | 1798 | $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service && \ |
cd9e5d0a | 1799 | $(LN_S) getty@.service autovt@.service ) |
3e24da51 | 1800 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ |
d0a522eb | 1801 | rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path systemd-logind.service && \ |
447be155 | 1802 | $(LN_S) ../getty.target getty.target && \ |
306a7fd8 | 1803 | $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \ |
d0a522eb LP |
1804 | $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path && \ |
1805 | $(LN_S) ../systemd-logind.service systemd-logind.service ) | |
5e6afdd3 | 1806 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \ |
d0a522eb LP |
1807 | rm -f getty@tty1.service && \ |
1808 | $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service ) | |
5e6afdd3 | 1809 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ |
3e24da51 | 1810 | rm -f remote-fs.target && \ |
f92a18f5 | 1811 | $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target ) |
42eacdad | 1812 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ |
6d526de2 LP |
1813 | rm -f dev-hugepages.automount \ |
1814 | dev-mqueue.automount \ | |
6d526de2 | 1815 | sys-kernel-debug.automount \ |
f0a73e24 | 1816 | sys-kernel-security.automount \ |
d3f09cf3 KS |
1817 | systemd-vconsole-setup.service \ |
1818 | systemd-modules-load.service \ | |
1819 | systemd-random-seed-load.service \ | |
3b63d2d3 | 1820 | systemd-tmpfiles-setup.service \ |
8e1bd70d | 1821 | systemd-sysctl.service \ |
63c862b0 | 1822 | systemd-ask-password-console.path \ |
b670e92b | 1823 | systemd-kmsg-syslogd.service \ |
63c862b0 | 1824 | cryptsetup.target && \ |
670802d4 LP |
1825 | $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \ |
1826 | $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \ | |
6d526de2 | 1827 | $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \ |
f0a73e24 | 1828 | $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \ |
45cf9716 KS |
1829 | $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \ |
1830 | $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \ | |
1831 | $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \ | |
3b63d2d3 | 1832 | $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \ |
8e1bd70d | 1833 | $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \ |
63c862b0 | 1834 | $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path && \ |
b670e92b | 1835 | $(LN_S) ../systemd-kmsg-syslogd.service && \ |
63c862b0 | 1836 | $(LN_S) ../cryptsetup.target cryptsetup.target ) |
27669061 MV |
1837 | if ENABLE_BINFMT |
1838 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ | |
1839 | rm -f systemd-binfmt.service \ | |
1840 | proc-sys-fs-binfmt_misc.automount && \ | |
1841 | $(LN_S) ../systemd-binfmt.service systemd-binfmt.service && \ | |
1842 | $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount ) | |
b2e9fb99 MV |
1843 | endif |
1844 | if ENABLE_HOSTNAMED | |
1845 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
1846 | rm -f dbus-org.freedesktop.hostname1.service && \ | |
1847 | $(LN_S) systemd-hostnamed.service dbus-org.freedesktop.hostname1.service ) | |
f47cd184 MV |
1848 | endif |
1849 | if ENABLE_TIMEDATED | |
1850 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
1851 | rm -f dbus-org.freedesktop.timedate1.service && \ | |
1852 | $(LN_S) systemd-timedated.service dbus-org.freedesktop.timedate1.service ) | |
27669061 | 1853 | endif |
42eacdad LP |
1854 | ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \ |
1855 | rm -f systemd-tmpfiles-clean.timer && \ | |
3b63d2d3 | 1856 | $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer ) |
d122948d LP |
1857 | ( cd $(DESTDIR)$(dbussessionservicedir) && \ |
1858 | rm -f org.freedesktop.systemd1.service && \ | |
1859 | $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service ) | |
cd3f8b7d | 1860 | if HAVE_PLYMOUTH |
a3723b97 | 1861 | $(MKDIR_P) -m 0755 \ |
f057408c | 1862 | $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \ |
3cc144eb | 1863 | $(DESTDIR)$(systemunitdir)/reboot.target.wants \ |
42eacdad | 1864 | $(DESTDIR)$(systemunitdir)/kexec.target.wants \ |
3cc144eb | 1865 | $(DESTDIR)$(systemunitdir)/poweroff.target.wants \ |
cd3f8b7d | 1866 | $(DESTDIR)$(systemunitdir)/halt.target.wants |
42eacdad | 1867 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ |
8cf3a8a9 | 1868 | rm -f plymouth-start.service plymouth-read-write.service && \ |
42eacdad | 1869 | $(LN_S) ../plymouth-start.service plymouth-start.service && \ |
8cf3a8a9 | 1870 | $(LN_S) ../plymouth-read-write.service plymouth-read-write.service ) |
198b625b | 1871 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ |
aa2e2115 LP |
1872 | rm -f plymouth-quit.service plymouth-quit-wait.service && \ |
1873 | $(LN_S) ../plymouth-quit.service plymouth-quit.service && \ | |
1874 | $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service ) | |
3cc144eb | 1875 | ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \ |
0278dfeb | 1876 | rm -f plymouth-reboot.service && \ |
3cc144eb | 1877 | $(LN_S) ../plymouth-reboot.service plymouth-reboot.service ) |
42eacdad LP |
1878 | ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \ |
1879 | rm -f plymouth-kexec.service && \ | |
1880 | $(LN_S) ../plymouth-kexec.service plymouth-kexec.service ) | |
3cc144eb | 1881 | ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \ |
0278dfeb | 1882 | rm -f plymouth-poweroff.service && \ |
3cc144eb LP |
1883 | $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service ) |
1884 | ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \ | |
0278dfeb | 1885 | rm -f plymouth-halt.service && \ |
3cc144eb | 1886 | $(LN_S) ../plymouth-halt.service plymouth-halt.service ) |
cd3f8b7d | 1887 | endif |
54e4fdef CF |
1888 | if TARGET_MEEGO |
1889 | $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants | |
1890 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ | |
1891 | rm -f network.target && \ | |
1892 | $(LN_S) $(systemunitdir)/network.target network.target ) | |
1893 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \ | |
1894 | rm -f * ) | |
1895 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \ | |
1896 | rm -f * ) | |
1897 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ | |
1898 | rm -f * ) | |
1899 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \ | |
1900 | rm -f * ) | |
1901 | endif | |
cd3f8b7d JM |
1902 | |
1903 | if TARGET_FEDORA | |
1904 | $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants | |
1905 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ | |
1906 | rm -f rc-local.service && \ | |
1907 | $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) | |
1908 | ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ | |
1909 | rm -f halt-local.service && \ | |
1910 | $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) | |
5e6afdd3 | 1911 | ( cd $(DESTDIR)$(systemunitdir) && \ |
b1c66c44 LP |
1912 | rm -f display-manager.service single.service && \ |
1913 | $(LN_S) prefdm.service display-manager.service && \ | |
5b754353 | 1914 | $(LN_S) rescue.service single.service ) |
6b2a56f0 | 1915 | ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \ |
42eacdad LP |
1916 | rm -f display-manager.service && \ |
1917 | $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) | |
f306f4c4 | 1918 | endif |
1de4d79b AB |
1919 | |
1920 | if TARGET_MANDRIVA | |
1921 | $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants | |
1922 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ | |
1923 | rm -f rc-local.service && \ | |
1924 | $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) | |
1925 | ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ | |
1926 | rm -f halt-local.service && \ | |
1927 | $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) | |
1928 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
8c944383 | 1929 | rm -f display-manager.service dm.service single.service && \ |
b1c66c44 | 1930 | $(LN_S) prefdm.service display-manager.service && \ |
8c944383 | 1931 | $(LN_S) prefdm.service dm.service && \ |
5b754353 | 1932 | $(LN_S) rescue.service single.service ) |
1de4d79b AB |
1933 | ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \ |
1934 | rm -f display-manager.service && \ | |
1935 | $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) | |
1936 | endif | |
1937 | ||
858dae18 | 1938 | if TARGET_DEBIAN_OR_UBUNTU |
e082d6c8 MB |
1939 | ( cd $(DESTDIR)$(systemunitdir) && \ |
1940 | rm -f runlevel5.target && \ | |
1941 | $(LN_S) multi-user.target runlevel5.target ) | |
a5dc0a45 | 1942 | endif |
5e6afdd3 | 1943 | |
a268a6a3 FC |
1944 | if TARGET_SUSE |
1945 | $(MKDIR_P) -m 0755 $(DESTDIR)$(systemunitdir)/final.target.wants | |
1946 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ | |
1947 | rm -f rc-local.service && \ | |
1948 | $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) | |
1949 | ( cd $(DESTDIR)$(systemunitdir) && \ | |
1950 | rm -f local.service && \ | |
1951 | $(LN_S) rc-local.service local.service ) | |
1952 | ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ | |
1953 | rm -f halt-local.service && \ | |
1954 | $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) | |
1955 | endif | |
1956 | ||
f80781ea LP |
1957 | if HAVE_SYSV_COMPAT |
1958 | ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \ | |
1959 | rm -f var-lock.mount && \ | |
1960 | $(LN_S) ../var-lock.mount var-lock.mount ) | |
1961 | endif | |
1962 | ||
9b711536 | 1963 | install-exec-hook: libsystemd-daemon-install-hook libsystemd-login-install-hook |
ae446765 | 1964 | |
9b711536 | 1965 | uninstall-hook: libsystemd-daemon-uninstall-hook libsystemd-login-uninstall-hook |
ae446765 | 1966 | |
d1ab0ca0 | 1967 | DISTCHECK_CONFIGURE_FLAGS = \ |
d2d12cd1 LP |
1968 | --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \ |
1969 | --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \ | |
1970 | --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \ | |
1971 | --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \ | |
8c4a3079 | 1972 | --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \ |
8c6db833 | 1973 | --with-pamlibdir=$$dc_install_base/$(pamlibdir) \ |
8c4a3079 | 1974 | --with-rootdir=$$dc_install_base/$(rootdir) |
a45f61d7 LP |
1975 | |
1976 | upload: all distcheck | |
53eff0c7 | 1977 | cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/ |
a45f61d7 LP |
1978 | scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/ |
1979 | scp man/*.html tango:public/systemd-man/ | |
1980 | ||
1981 | git-tag: | |
1982 | git tag "v$(VERSION)" -m "systemd $(VERSION)" |