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