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