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