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