]>
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 LP |
634 | test_strv_SOURCES = \ |
635 | src/test-strv.c | |
636 | ||
637 | test_strv_CFLAGS = \ | |
638 | $(AM_CFLAGS) | |
639 | ||
640 | test_strv_LDADD = \ | |
641 | libsystemd-basic.la | |
642 | ||
47be870b | 643 | systemd_logger_SOURCES = \ |
e99e38bb | 644 | src/logger.c \ |
0213c3f8 LP |
645 | src/tcpwrap.c |
646 | ||
647 | systemd_logger_LDADD = \ | |
139be57d | 648 | libsystemd-basic.la \ |
2f6a1ab1 | 649 | libsystemd-daemon.la \ |
0213c3f8 | 650 | $(LIBWRAP_LIBS) |
47be870b | 651 | |
0b7964b8 | 652 | systemd_initctl_SOURCES = \ |
e99e38bb | 653 | src/initctl.c \ |
a822056b | 654 | src/dbus-common.c |
0b7964b8 | 655 | |
10e87ee7 LP |
656 | systemd_initctl_CFLAGS = \ |
657 | $(AM_CFLAGS) \ | |
0b7964b8 LP |
658 | $(DBUS_CFLAGS) |
659 | ||
660 | systemd_initctl_LDADD = \ | |
139be57d | 661 | libsystemd-basic.la \ |
2f6a1ab1 | 662 | libsystemd-daemon.la \ |
0b7964b8 LP |
663 | $(DBUS_LIBS) |
664 | ||
4927fcae LP |
665 | systemd_update_utmp_SOURCES = \ |
666 | src/update-utmp.c \ | |
667 | src/dbus-common.c \ | |
668 | src/utmp-wtmp.c | |
669 | ||
670 | systemd_update_utmp_CFLAGS = \ | |
671 | $(AM_CFLAGS) \ | |
672 | $(DBUS_CFLAGS) \ | |
673 | $(AUDIT_CFLAGS) | |
674 | ||
675 | systemd_update_utmp_LDADD = \ | |
676 | libsystemd-basic.la \ | |
677 | $(DBUS_LIBS) \ | |
678 | $(AUDIT_LIBS) | |
679 | ||
ca2cab5d LP |
680 | systemd_random_seed_SOURCES = \ |
681 | src/random-seed.c | |
682 | ||
683 | systemd_random_seed_CFLAGS = \ | |
684 | $(AM_CFLAGS) | |
685 | ||
686 | systemd_random_seed_LDADD = \ | |
687 | libsystemd-basic.la | |
688 | ||
f6144808 | 689 | systemd_shutdownd_SOURCES = \ |
9be9828c | 690 | src/utmp-wtmp.c \ |
f6144808 LP |
691 | src/shutdownd.c |
692 | ||
693 | systemd_shutdownd_CFLAGS = \ | |
694 | $(AM_CFLAGS) | |
695 | ||
696 | systemd_shutdownd_LDADD = \ | |
2f6a1ab1 MB |
697 | libsystemd-basic.la \ |
698 | libsystemd-daemon.la | |
f6144808 | 699 | |
b1b2a107 FF |
700 | systemd_shutdown_SOURCES = \ |
701 | src/mount-setup.c \ | |
702 | src/umount.c \ | |
703 | src/shutdown.c | |
704 | ||
705 | systemd_shutdown_CFLAGS = \ | |
706 | $(AM_CFLAGS) \ | |
707 | $(UDEV_CFLAGS) | |
708 | ||
709 | systemd_shutdown_LDADD = \ | |
710 | libsystemd-basic.la \ | |
711 | $(UDEV_LIBS) | |
712 | ||
b2423f1f LP |
713 | systemd_modules_load_SOURCES = \ |
714 | src/modules-load.c | |
715 | ||
716 | systemd_modules_load_CFLAGS = \ | |
717 | $(AM_CFLAGS) | |
718 | ||
3d20ed6d | 719 | systemd_modules_load_LDADD = \ |
5008d581 LP |
720 | libsystemd-basic.la |
721 | ||
bfaf42d2 LP |
722 | systemd_tmpfiles_SOURCES = \ |
723 | src/tmpfiles.c | |
5008d581 | 724 | |
bfaf42d2 | 725 | systemd_tmpfiles_CFLAGS = \ |
5008d581 LP |
726 | $(AM_CFLAGS) |
727 | ||
3d20ed6d LP |
728 | systemd_tmpfiles_LDADD = \ |
729 | libsystemd-basic.la | |
730 | ||
8e1bd70d LP |
731 | systemd_sysctl_SOURCES = \ |
732 | src/sysctl.c | |
733 | ||
734 | systemd_sysctl_CFLAGS = \ | |
735 | $(AM_CFLAGS) | |
736 | ||
737 | systemd_sysctl_LDADD = \ | |
738 | libsystemd-basic.la | |
739 | ||
3d20ed6d LP |
740 | systemd_fsck_SOURCES = \ |
741 | src/fsck.c \ | |
3d20ed6d LP |
742 | src/dbus-common.c |
743 | ||
744 | systemd_fsck_CFLAGS = \ | |
745 | $(AM_CFLAGS) \ | |
746 | $(UDEV_CFLAGS) \ | |
747 | $(DBUS_CFLAGS) | |
748 | ||
749 | systemd_fsck_LDADD = \ | |
750 | libsystemd-basic.la \ | |
751 | $(UDEV_LIBS) \ | |
752 | $(DBUS_LIBS) | |
753 | ||
754 | systemd_quotacheck_SOURCES = \ | |
755 | src/quotacheck.c | |
756 | ||
757 | systemd_quotacheck_CFLAGS = \ | |
758 | $(AM_CFLAGS) | |
759 | ||
760 | systemd_quotacheck_LDADD = \ | |
e9278741 LP |
761 | libsystemd-basic.la |
762 | ||
e9ddabc2 LP |
763 | systemd_timestamp_SOURCES = \ |
764 | src/timestamp.c | |
765 | ||
766 | systemd_timestamp_CFLAGS = \ | |
767 | $(AM_CFLAGS) | |
768 | ||
769 | systemd_timestamp_LDADD = \ | |
770 | libsystemd-basic.la | |
771 | ||
06cdd248 LP |
772 | systemd_ac_power_SOURCES = \ |
773 | src/ac-power.c | |
774 | ||
775 | systemd_ac_power_CFLAGS = \ | |
776 | $(AM_CFLAGS) \ | |
777 | $(UDEV_CFLAGS) | |
778 | ||
779 | systemd_ac_power_LDADD = \ | |
780 | libsystemd-basic.la \ | |
781 | $(UDEV_LIBS) | |
782 | ||
e23a0ce8 | 783 | systemd_cryptsetup_SOURCES = \ |
7f4e0805 LP |
784 | src/cryptsetup.c \ |
785 | src/ask-password-api.c | |
e23a0ce8 LP |
786 | |
787 | systemd_cryptsetup_CFLAGS = \ | |
7f4e0805 | 788 | $(LIBCRYPTSETUP_CFLAGS) \ |
b1a2da0a | 789 | $(UDEV_CFLAGS) \ |
e23a0ce8 LP |
790 | $(AM_CFLAGS) |
791 | ||
792 | systemd_cryptsetup_LDADD = \ | |
7f4e0805 | 793 | $(LIBCRYPTSETUP_LIBS) \ |
b1a2da0a | 794 | $(UDEV_LIBS) \ |
e23a0ce8 LP |
795 | libsystemd-basic.la |
796 | ||
797 | systemd_cryptsetup_generator_SOURCES = \ | |
798 | src/cryptsetup-generator.c \ | |
799 | src/unit-name.c | |
800 | ||
801 | systemd_cryptsetup_generator_CFLAGS = \ | |
802 | $(AM_CFLAGS) | |
803 | ||
804 | systemd_cryptsetup_generator_LDADD = \ | |
805 | libsystemd-basic.la | |
806 | ||
e9278741 LP |
807 | systemd_user_sessions_SOURCES = \ |
808 | src/user-sessions.c \ | |
809 | src/cgroup-util.c | |
810 | ||
811 | systemd_user_sessions_CFLAGS = \ | |
812 | $(AM_CFLAGS) | |
813 | ||
3d20ed6d | 814 | systemd_user_sessions_LDADD = \ |
b2423f1f LP |
815 | libsystemd-basic.la |
816 | ||
97c4a07d LP |
817 | systemd_vconsole_setup_SOURCES = \ |
818 | src/vconsole-setup.c | |
819 | ||
820 | systemd_vconsole_setup_CFLAGS = \ | |
821 | $(AM_CFLAGS) | |
822 | ||
823 | systemd_vconsole_setup_LDADD = \ | |
824 | libsystemd-basic.la | |
825 | ||
449ddb2d LP |
826 | systemd_remount_api_vfs_SOURCES = \ |
827 | src/remount-api-vfs.c \ | |
828 | src/mount-setup.c | |
829 | ||
830 | systemd_remount_api_vfs_CFLAGS = \ | |
831 | $(AM_CFLAGS) | |
832 | ||
833 | systemd_remount_api_vfs_LDADD = \ | |
834 | libsystemd-basic.la | |
835 | ||
8e274523 | 836 | systemd_cgroups_agent_SOURCES = \ |
3c661fad LP |
837 | src/cgroups-agent.c \ |
838 | src/dbus-common.c | |
8e274523 | 839 | |
10e87ee7 LP |
840 | systemd_cgroups_agent_CFLAGS = \ |
841 | $(AM_CFLAGS) \ | |
8e274523 LP |
842 | $(DBUS_CFLAGS) |
843 | ||
844 | systemd_cgroups_agent_LDADD = \ | |
139be57d | 845 | libsystemd-basic.la \ |
8e274523 LP |
846 | $(DBUS_LIBS) |
847 | ||
addab137 LP |
848 | systemd_kmsg_syslogd_SOURCES = \ |
849 | src/kmsg-syslogd.c \ | |
addab137 LP |
850 | src/fdset.c |
851 | ||
852 | systemd_kmsg_syslogd_CFLAGS = \ | |
853 | $(AM_CFLAGS) | |
854 | ||
855 | systemd_kmsg_syslogd_LDADD = \ | |
2f6a1ab1 MB |
856 | libsystemd-basic.la \ |
857 | libsystemd-daemon.la | |
addab137 | 858 | |
7e4249b9 LP |
859 | systemctl_SOURCES = \ |
860 | src/systemctl.c \ | |
9a1ac7b9 | 861 | src/utmp-wtmp.c \ |
ab35fb1b | 862 | src/dbus-common.c \ |
ee5762e3 | 863 | src/path-lookup.c \ |
c6c18be3 | 864 | src/cgroup-show.c \ |
d06dacd0 | 865 | src/cgroup-util.c \ |
71fad675 LP |
866 | src/exit-status.c \ |
867 | src/unit-name.c | |
139be57d LP |
868 | |
869 | systemctl_CFLAGS = \ | |
870 | $(AM_CFLAGS) \ | |
35d2e7ec | 871 | $(DBUS_CFLAGS) |
7e4249b9 | 872 | |
139be57d LP |
873 | systemctl_LDADD = \ |
874 | libsystemd-basic.la \ | |
2f6a1ab1 | 875 | libsystemd-daemon.la \ |
35d2e7ec | 876 | $(DBUS_LIBS) |
7e4249b9 | 877 | |
4a2a8b5a LP |
878 | systemd_notify_SOURCES = \ |
879 | src/notify.c \ | |
d0b48809 | 880 | src/sd-readahead.c |
139be57d LP |
881 | |
882 | systemd_notify_LDADD = \ | |
2f6a1ab1 MB |
883 | libsystemd-basic.la \ |
884 | libsystemd-daemon.la | |
4a2a8b5a | 885 | |
490aed58 | 886 | systemd_ask_password_SOURCES = \ |
7f4e0805 LP |
887 | src/ask-password.c \ |
888 | src/ask-password-api.c | |
490aed58 LP |
889 | |
890 | systemd_ask_password_LDADD = \ | |
891 | libsystemd-basic.la | |
892 | ||
893 | systemd_reply_password_SOURCES = \ | |
894 | src/reply-password.c | |
895 | ||
896 | systemd_reply_password_LDADD = \ | |
897 | libsystemd-basic.la | |
898 | ||
22be093f LP |
899 | systemd_readahead_collect_SOURCES = \ |
900 | src/readahead-collect.c \ | |
22be093f LP |
901 | src/readahead-common.c |
902 | ||
903 | systemd_readahead_collect_CFLAGS = \ | |
904 | $(UDEV_CFLAGS) | |
905 | ||
906 | systemd_readahead_collect_LDADD = \ | |
907 | libsystemd-basic.la \ | |
2f6a1ab1 | 908 | libsystemd-daemon.la \ |
22be093f LP |
909 | $(UDEV_LIBS) |
910 | ||
911 | systemd_readahead_replay_SOURCES = \ | |
912 | src/readahead-replay.c \ | |
22be093f LP |
913 | src/readahead-common.c |
914 | ||
915 | systemd_readahead_replay_CFLAGS = \ | |
916 | $(UDEV_CFLAGS) | |
917 | ||
918 | systemd_readahead_replay_LDADD = \ | |
919 | libsystemd-basic.la \ | |
2f6a1ab1 | 920 | libsystemd-daemon.la \ |
22be093f LP |
921 | $(UDEV_LIBS) |
922 | ||
fa776d8e | 923 | systemd_cgls_SOURCES = \ |
d04247cf | 924 | src/cgls.c \ |
c6c18be3 LP |
925 | src/cgroup-show.c \ |
926 | src/cgroup-util.c | |
fa776d8e LP |
927 | |
928 | systemd_cgls_CFLAGS = \ | |
35d2e7ec | 929 | $(AM_CFLAGS) |
c6c18be3 LP |
930 | |
931 | systemd_cgls_LDADD = \ | |
35d2e7ec | 932 | libsystemd-basic.la |
fa776d8e | 933 | |
47be870b | 934 | systemadm_SOURCES = \ |
e99e38bb LP |
935 | src/systemadm.vala \ |
936 | src/systemd-interfaces.vala | |
47be870b | 937 | |
10e87ee7 LP |
938 | systemadm_CFLAGS = \ |
939 | $(AM_CFLAGS) \ | |
940 | $(DBUSGLIB_CFLAGS) \ | |
941 | $(GTK_CFLAGS) \ | |
942 | -Wno-unused-variable \ | |
943 | -Wno-unused-function \ | |
944 | -Wno-shadow \ | |
945 | -Wno-format-nonliteral | |
946 | ||
947 | systemadm_VALAFLAGS = \ | |
948 | --pkg=dbus-glib-1 \ | |
949 | --pkg=posix \ | |
950 | --pkg=gtk+-2.0 \ | |
951 | -g | |
952 | ||
139be57d LP |
953 | systemadm_LDADD = \ |
954 | $(DBUSGLIB_LIBS) \ | |
955 | $(GTK_LIBS) | |
c1e1601e | 956 | |
d674a4ab LP |
957 | systemd_gnome_ask_password_agent_SOURCES = \ |
958 | src/gnome-ask-password-agent.vala | |
490aed58 | 959 | |
d674a4ab | 960 | systemd_gnome_ask_password_agent_CFLAGS = \ |
490aed58 LP |
961 | $(AM_CFLAGS) \ |
962 | $(DBUSGLIB_CFLAGS) \ | |
2fa47da5 | 963 | $(LIBNOTIFY_CFLAGS) \ |
490aed58 LP |
964 | $(GTK_CFLAGS) \ |
965 | -Wno-unused-variable \ | |
966 | -Wno-unused-function \ | |
967 | -Wno-shadow \ | |
968 | -Wno-format-nonliteral | |
969 | ||
d674a4ab | 970 | systemd_gnome_ask_password_agent_VALAFLAGS = \ |
490aed58 LP |
971 | --pkg=dbus-glib-1 \ |
972 | --pkg=posix \ | |
973 | --pkg=gtk+-2.0 \ | |
974 | --pkg=linux \ | |
975 | --pkg=gio-unix-2.0 \ | |
d0ef2204 KS |
976 | --pkg=libnotify |
977 | if LIBNOTIFY07 | |
978 | systemd_gnome_ask_password_agent_VALAFLAGS += \ | |
979 | -D LIBNOTIFY07 | |
980 | endif | |
981 | systemd_gnome_ask_password_agent_VALAFLAGS += \ | |
490aed58 LP |
982 | -g |
983 | ||
d674a4ab | 984 | systemd_gnome_ask_password_agent_LDADD = \ |
490aed58 | 985 | $(DBUSGLIB_LIBS) \ |
2fa47da5 | 986 | $(LIBNOTIFY_LIBS) \ |
490aed58 LP |
987 | $(GTK_LIBS) |
988 | ||
ec863ba6 LP |
989 | systemd_tty_ask_password_agent_SOURCES = \ |
990 | src/tty-ask-password-agent.c \ | |
7f4e0805 | 991 | src/ask-password-api.c \ |
ec863ba6 LP |
992 | src/utmp-wtmp.c |
993 | ||
994 | systemd_tty_ask_password_agent_LDADD = \ | |
995 | libsystemd-basic.la | |
996 | ||
8c6db833 LP |
997 | pam_systemd_la_SOURCES = \ |
998 | src/pam-module.c \ | |
2f6a1ab1 | 999 | src/cgroup-util.c |
8c6db833 LP |
1000 | |
1001 | pam_systemd_la_CFLAGS = \ | |
35d2e7ec | 1002 | $(AM_CFLAGS) |
8c6db833 LP |
1003 | -fvisibility=hidden |
1004 | ||
1005 | pam_systemd_la_LDFLAGS = \ | |
1006 | -module \ | |
1007 | -export-dynamic \ | |
1008 | -avoid-version \ | |
1009 | -shared \ | |
1010 | -export-symbols-regex '^pam_sm_.*' | |
1011 | ||
1012 | pam_systemd_la_LIBADD = \ | |
1013 | libsystemd-basic.la \ | |
2f6a1ab1 | 1014 | libsystemd-daemon.la \ |
35d2e7ec | 1015 | $(PAM_LIBS) |
8c6db833 | 1016 | |
5e6afdd3 | 1017 | SED_PROCESS = \ |
a00e4879 | 1018 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
1136a371 | 1019 | $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \ |
306a7fd8 | 1020 | -e 's,@rootbindir\@,$(rootbindir),g' \ |
5e6afdd3 | 1021 | -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \ |
1136a371 | 1022 | -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \ |
c7b50859 | 1023 | -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \ |
8c6db833 LP |
1024 | -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \ |
1025 | -e 's,@pkgdatadir\@,$(pkgdatadir),g' \ | |
1026 | -e 's,@systemunitdir\@,$(systemunitdir),g' \ | |
1027 | -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ | |
1028 | -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \ | |
1029 | -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \ | |
1030 | -e 's,@prefix\@,$(prefix),g' \ | |
de47ca9b | 1031 | < $< > $@ || rm $@ |
70fcff31 | 1032 | |
9f2c5942 | 1033 | units/%: units/%.in Makefile |
5e6afdd3 LP |
1034 | $(SED_PROCESS) |
1035 | ||
2a3d6294 | 1036 | man/%: man/%.in Makefile |
5e6afdd3 LP |
1037 | $(SED_PROCESS) |
1038 | ||
8c6db833 LP |
1039 | %.pc: %.pc.in Makefile |
1040 | $(SED_PROCESS) | |
1041 | ||
fb1bd35a | 1042 | M4_PROCESS_SYSTEM = \ |
a00e4879 | 1043 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
de47ca9b | 1044 | $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@ || rm $@ |
fb1bd35a | 1045 | |
af2d49f7 | 1046 | M4_PROCESS_USER = \ |
a00e4879 | 1047 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
af2d49f7 | 1048 | $(M4) -P $(M4_DISTRO_FLAG) -DFOR_USER=1 < $< > $@ || rm $@ |
5e6afdd3 | 1049 | |
9f2c5942 | 1050 | units/%: units/%.m4 Makefile |
fb1bd35a | 1051 | $(M4_PROCESS_SYSTEM) |
5e6afdd3 | 1052 | |
af2d49f7 LP |
1053 | units/user/%: units/%.m4 Makefile |
1054 | $(M4_PROCESS_USER) | |
a7b6f8e5 | 1055 | |
c1e1601e | 1056 | CLEANFILES = \ |
6f6083dc | 1057 | $(nodist_systemunit_DATA) \ |
af2d49f7 | 1058 | $(nodist_userunit_DATA) \ |
6f6083dc LP |
1059 | $(nodist_man_MANS) \ |
1060 | ${XML_IN_FILES:.xml.in=.html} \ | |
1061 | $(pkgconfigdata_DATA) | |
4697132b | 1062 | |
42e39f0b LP |
1063 | if HAVE_VALAC |
1064 | CLEANFILES += \ | |
6f6083dc | 1065 | ${systemadm_SOURCES:.vala=.c} |
42e39f0b LP |
1066 | endif |
1067 | ||
c3bd7322 | 1068 | if HAVE_XSLTPROC |
c6365917 LP |
1069 | XSLTPROC_FLAGS = \ |
1070 | --nonet \ | |
1071 | --param funcsynopsis.style "'ansi'" | |
1072 | ||
9f2c5942 | 1073 | XSLTPROC_PROCESS_MAN = \ |
a00e4879 | 1074 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 1075 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< |
d1ab0ca0 | 1076 | |
9f2c5942 | 1077 | XSLTPROC_PROCESS_MAN_IN = \ |
a00e4879 | 1078 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 1079 | $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \ |
9f2c5942 LP |
1080 | mv ${@:.in=} $@ |
1081 | ||
1082 | XSLTPROC_PROCESS_HTML = \ | |
a00e4879 | 1083 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 1084 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< |
d1ab0ca0 | 1085 | |
9f2c5942 | 1086 | XSLTPROC_PROCESS_HTML_IN = \ |
a00e4879 | 1087 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ |
c6365917 | 1088 | $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \ |
9f2c5942 LP |
1089 | mv ${@:.in=} $@ |
1090 | ||
6f6083dc | 1091 | man/%.1: man/%.xml |
f9378423 LP |
1092 | $(XSLTPROC_PROCESS_MAN) |
1093 | ||
6f6083dc | 1094 | man/%.1.in: man/%.xml.in |
f9378423 LP |
1095 | $(XSLTPROC_PROCESS_MAN) |
1096 | ||
6f6083dc | 1097 | man/%.3: man/%.xml |
359957ee LP |
1098 | $(XSLTPROC_PROCESS_MAN) |
1099 | ||
6f6083dc | 1100 | man/%.3.in: man/%.xml.in |
359957ee LP |
1101 | $(XSLTPROC_PROCESS_MAN) |
1102 | ||
9f2c5942 LP |
1103 | man/%.5: man/%.xml |
1104 | $(XSLTPROC_PROCESS_MAN) | |
1105 | ||
1106 | man/%.5.in: man/%.xml.in | |
1107 | $(XSLTPROC_PROCESS_MAN) | |
1108 | ||
1109 | man/%.7: man/%.xml | |
1110 | $(XSLTPROC_PROCESS_MAN) | |
1111 | ||
1112 | man/%.7.in: man/%.xml.in | |
1113 | $(XSLTPROC_PROCESS_MAN_IN) | |
1114 | ||
f9378423 LP |
1115 | man/%.8: man/%.xml |
1116 | $(XSLTPROC_PROCESS_MAN) | |
1117 | ||
1118 | man/%.8.in: man/%.xml.in | |
1119 | $(XSLTPROC_PROCESS_MAN_IN) | |
1120 | ||
9f2c5942 LP |
1121 | man/%.html: man/%.xml |
1122 | $(XSLTPROC_PROCESS_HTML) | |
1123 | ||
1124 | man/%.html.in: man/%.xml.in | |
1125 | $(XSLTPROC_PROCESS_HTML_IN) | |
1126 | ||
d1ab0ca0 LP |
1127 | CLEANFILES += \ |
1128 | $(dist_man_MANS) \ | |
6f6083dc LP |
1129 | ${nodist_man_MANS:=.in} \ |
1130 | ${XML_FILES:.xml=.html} \ | |
1131 | ${XML_IN_FILES:.xml.in=.html.in} | |
c3bd7322 | 1132 | endif |
d1ab0ca0 | 1133 | |
9a60da28 TR |
1134 | DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h |
1135 | ||
4288f619 | 1136 | org.freedesktop.systemd1.%.xml: systemd |
9a60da28 | 1137 | $(AM_V_GEN)$(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \ |
382a0310 | 1138 | $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \ |
9a60da28 | 1139 | $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp |
4288f619 | 1140 | |
6f6083dc LP |
1141 | CLEANFILES += \ |
1142 | $(dbusinterface_DATA) | |
4288f619 | 1143 | |
4697132b | 1144 | install-data-hook: |
64c1b5bf | 1145 | $(MKDIR_P) -m 0755 \ |
43aa226d | 1146 | $(DESTDIR)$(systemunitdir) \ |
af2d49f7 | 1147 | $(DESTDIR)$(userunitdir) \ |
42eacdad | 1148 | $(DESTDIR)$(systemunitdir)/sysinit.target.wants \ |
5e6afdd3 | 1149 | $(DESTDIR)$(systemunitdir)/sockets.target.wants \ |
c0a1b6e9 | 1150 | $(DESTDIR)$(systemunitdir)/basic.target.wants \ |
cd6d0a45 | 1151 | $(DESTDIR)$(systemunitdir)/shutdown.target.wants \ |
65ae3821 | 1152 | $(DESTDIR)$(systemunitdir)/local-fs.target.wants \ |
cd6d0a45 LP |
1153 | $(DESTDIR)$(systemunitdir)/runlevel1.target.wants \ |
1154 | $(DESTDIR)$(systemunitdir)/runlevel2.target.wants \ | |
1155 | $(DESTDIR)$(systemunitdir)/runlevel3.target.wants \ | |
1156 | $(DESTDIR)$(systemunitdir)/runlevel4.target.wants \ | |
1157 | $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \ | |
45cf9716 | 1158 | $(DESTDIR)$(systemunitdir)/multi-user.target.wants \ |
c980a279 | 1159 | $(DESTDIR)$(systemunitdir)/graphical.target.wants \ |
64c1b5bf | 1160 | $(DESTDIR)$(pkgsysconfdir)/system \ |
42eacdad | 1161 | $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants \ |
980d8750 | 1162 | $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \ |
5e6afdd3 | 1163 | $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \ |
980d8750 | 1164 | $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \ |
af2d49f7 | 1165 | $(DESTDIR)$(pkgsysconfdir)/user \ |
e82e442b | 1166 | $(DESTDIR)$(sysconfdir)/xdg/systemd |
e9da3678 | 1167 | ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \ |
af2d49f7 LP |
1168 | rm -f user && \ |
1169 | $(LN_S) $(pkgsysconfdir)/user user ) | |
5e6afdd3 | 1170 | ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \ |
52f319b2 | 1171 | rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \ |
5e6afdd3 | 1172 | $(LN_S) ../systemd-logger.socket systemd-logger.socket && \ |
a145090c | 1173 | $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \ |
52f319b2 LP |
1174 | $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \ |
1175 | $(LN_S) ../syslog.socket syslog.socket ) | |
cd6d0a45 LP |
1176 | ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \ |
1177 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1178 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1179 | ( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \ |
1180 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1181 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1182 | ( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \ |
1183 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1184 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1185 | ( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \ |
1186 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1187 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 LP |
1188 | ( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \ |
1189 | rm -f systemd-update-utmp-runlevel.service && \ | |
45cf9716 | 1190 | $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) |
cd6d0a45 | 1191 | ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \ |
d3f09cf3 | 1192 | rm -f systemd-update-utmp-shutdown.service \ |
7376cffd | 1193 | hwclock-save.service \ |
d3f09cf3 | 1194 | systemd-random-seed-save.service && \ |
45cf9716 KS |
1195 | $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \ |
1196 | $(LN_S) ../hwclock-save.service hwclock-save.service && \ | |
1197 | $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service ) | |
65ae3821 | 1198 | ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \ |
c0a1b6e9 | 1199 | rm -f systemd-remount-api-vfs.service \ |
980d8750 | 1200 | fsck-root.service \ |
c0a1b6e9 LP |
1201 | remount-rootfs.service \ |
1202 | var-run.mount \ | |
2f8cd170 LP |
1203 | var-lock.mount \ |
1204 | cryptsetup.target && \ | |
c0a1b6e9 | 1205 | $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \ |
980d8750 | 1206 | $(LN_S) ../fsck-root.service fsck-root.service && \ |
c0a1b6e9 LP |
1207 | $(LN_S) ../remount-rootfs.service remount-rootfs.service && \ |
1208 | $(LN_S) ../var-run.mount var-run.mount && \ | |
2f8cd170 LP |
1209 | $(LN_S) ../var-lock.mount var-lock.mount && \ |
1210 | $(LN_S) ../cryptsetup.target ) | |
af2d49f7 | 1211 | ( cd $(DESTDIR)$(userunitdir) && \ |
da78e1b4 | 1212 | rm -f shutdown.target sockets.target local-fs.target swap.target bluetooth.target printer.target && \ |
8c4a3079 LP |
1213 | $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \ |
1214 | $(LN_S) $(systemunitdir)/sockets.target sockets.target && \ | |
1215 | $(LN_S) $(systemunitdir)/local-fs.target local-fs.target && \ | |
da78e1b4 LP |
1216 | $(LN_S) $(systemunitdir)/swap.target swap.target && \ |
1217 | $(LN_S) $(systemunitdir)/bluetooth.target bluetooth.target && \ | |
1218 | $(LN_S) $(systemunitdir)/printer.target printer.target) | |
5e6afdd3 | 1219 | ( cd $(DESTDIR)$(systemunitdir) && \ |
c88f64bd | 1220 | rm -f runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target && \ |
5e6afdd3 LP |
1221 | $(LN_S) poweroff.target runlevel0.target && \ |
1222 | $(LN_S) rescue.target runlevel1.target && \ | |
c88f64bd LP |
1223 | $(LN_S) multi-user.target runlevel2.target && \ |
1224 | $(LN_S) multi-user.target runlevel3.target && \ | |
1225 | $(LN_S) multi-user.target runlevel4.target && \ | |
1226 | $(LN_S) graphical.target runlevel5.target && \ | |
5e6afdd3 | 1227 | $(LN_S) reboot.target runlevel6.target ) |
45cf9716 KS |
1228 | ( cd $(DESTDIR)$(systemunitdir) && \ |
1229 | rm -f default.target ctrl-alt-del.target && \ | |
1230 | $(LN_S) graphical.target default.target && \ | |
1231 | $(LN_S) reboot.target ctrl-alt-del.target ) | |
3e24da51 | 1232 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ |
306a7fd8 | 1233 | rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path && \ |
447be155 | 1234 | $(LN_S) ../getty.target getty.target && \ |
306a7fd8 LP |
1235 | $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \ |
1236 | $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path ) | |
5e6afdd3 | 1237 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \ |
b2bb3dbe | 1238 | rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \ |
5e6afdd3 LP |
1239 | $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \ |
1240 | $(LN_S) $(systemunitdir)/getty@.service getty@tty2.service && \ | |
1241 | $(LN_S) $(systemunitdir)/getty@.service getty@tty3.service && \ | |
1242 | $(LN_S) $(systemunitdir)/getty@.service getty@tty4.service && \ | |
1243 | $(LN_S) $(systemunitdir)/getty@.service getty@tty5.service && \ | |
b2bb3dbe | 1244 | $(LN_S) $(systemunitdir)/getty@.service getty@tty6.service ) |
980d8750 LP |
1245 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \ |
1246 | rm -f quotaon.service quotacheck.service && \ | |
1247 | $(LN_S) $(systemunitdir)/quotacheck.service quotacheck.service && \ | |
1248 | $(LN_S) $(systemunitdir)/quotaon.service quotaon.service ) | |
5e6afdd3 | 1249 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ |
3e24da51 | 1250 | rm -f remote-fs.target && \ |
f92a18f5 | 1251 | $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target ) |
42eacdad | 1252 | ( cd $(DESTDIR)$(pkgsysconfdir)/system/sysinit.target.wants && \ |
980d8750 LP |
1253 | rm -f hwclock-load.service && \ |
1254 | $(LN_S) $(systemunitdir)/hwclock-load.service hwclock-load.service ) | |
42eacdad | 1255 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ |
6d526de2 LP |
1256 | rm -f dev-hugepages.automount \ |
1257 | dev-mqueue.automount \ | |
1258 | proc-sys-fs-binfmt_misc.automount \ | |
1259 | sys-kernel-debug.automount \ | |
f0a73e24 | 1260 | sys-kernel-security.automount \ |
d3f09cf3 KS |
1261 | systemd-vconsole-setup.service \ |
1262 | systemd-modules-load.service \ | |
1263 | systemd-random-seed-load.service \ | |
3b63d2d3 | 1264 | systemd-tmpfiles-setup.service \ |
8e1bd70d | 1265 | systemd-sysctl.service \ |
8cf3a8a9 | 1266 | systemd-ask-password-console.path && \ |
670802d4 LP |
1267 | $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \ |
1268 | $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \ | |
1269 | $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount && \ | |
6d526de2 | 1270 | $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \ |
f0a73e24 | 1271 | $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \ |
45cf9716 KS |
1272 | $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \ |
1273 | $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \ | |
1274 | $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \ | |
3b63d2d3 | 1275 | $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \ |
8e1bd70d | 1276 | $(LN_S) ../systemd-sysctl.service systemd-sysctl.service && \ |
8cf3a8a9 | 1277 | $(LN_S) ../systemd-ask-password-console.path systemd-ask-password-console.path ) |
42eacdad LP |
1278 | ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \ |
1279 | rm -f systemd-tmpfiles-clean.timer && \ | |
3b63d2d3 | 1280 | $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer ) |
d122948d LP |
1281 | ( cd $(DESTDIR)$(dbussessionservicedir) && \ |
1282 | rm -f org.freedesktop.systemd1.service && \ | |
1283 | $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service ) | |
5e6afdd3 | 1284 | if TARGET_FEDORA |
a3723b97 | 1285 | $(MKDIR_P) -m 0755 \ |
f057408c | 1286 | $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) \ |
3cc144eb | 1287 | $(DESTDIR)$(systemunitdir)/reboot.target.wants \ |
42eacdad | 1288 | $(DESTDIR)$(systemunitdir)/kexec.target.wants \ |
3cc144eb LP |
1289 | $(DESTDIR)$(systemunitdir)/poweroff.target.wants \ |
1290 | $(DESTDIR)$(systemunitdir)/halt.target.wants \ | |
ddd941ed | 1291 | $(DESTDIR)$(systemunitdir)/final.target.wants |
73d35ff8 | 1292 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ |
3cc144eb LP |
1293 | rm -f rc-local.service && \ |
1294 | $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) | |
ddd941ed LP |
1295 | ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ |
1296 | rm -f halt-local.service && \ | |
1297 | $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) | |
42eacdad | 1298 | ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ |
8cf3a8a9 | 1299 | rm -f plymouth-start.service plymouth-read-write.service && \ |
42eacdad | 1300 | $(LN_S) ../plymouth-start.service plymouth-start.service && \ |
8cf3a8a9 | 1301 | $(LN_S) ../plymouth-read-write.service plymouth-read-write.service ) |
198b625b LP |
1302 | ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ |
1303 | rm -f plymouth-quit.service && \ | |
1304 | $(LN_S) ../plymouth-quit.service plymouth-quit.service ) | |
3cc144eb | 1305 | ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \ |
0278dfeb | 1306 | rm -f plymouth-reboot.service && \ |
3cc144eb | 1307 | $(LN_S) ../plymouth-reboot.service plymouth-reboot.service ) |
42eacdad LP |
1308 | ( cd $(DESTDIR)$(systemunitdir)/kexec.target.wants && \ |
1309 | rm -f plymouth-kexec.service && \ | |
1310 | $(LN_S) ../plymouth-kexec.service plymouth-kexec.service ) | |
3cc144eb | 1311 | ( cd $(DESTDIR)$(systemunitdir)/poweroff.target.wants && \ |
0278dfeb | 1312 | rm -f plymouth-poweroff.service && \ |
3cc144eb LP |
1313 | $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service ) |
1314 | ( cd $(DESTDIR)$(systemunitdir)/halt.target.wants && \ | |
0278dfeb | 1315 | rm -f plymouth-halt.service && \ |
3cc144eb | 1316 | $(LN_S) ../plymouth-halt.service plymouth-halt.service ) |
5e6afdd3 | 1317 | ( cd $(DESTDIR)$(systemunitdir) && \ |
73d35ff8 BN |
1318 | rm -f display-manager.service && \ |
1319 | $(LN_S) prefdm.service display-manager.service ) | |
6b2a56f0 | 1320 | ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \ |
42eacdad LP |
1321 | rm -f display-manager.service && \ |
1322 | $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) | |
f306f4c4 | 1323 | endif |
858dae18 | 1324 | if TARGET_DEBIAN_OR_UBUNTU |
e082d6c8 MB |
1325 | ( cd $(DESTDIR)$(systemunitdir) && \ |
1326 | rm -f runlevel5.target && \ | |
1327 | $(LN_S) multi-user.target runlevel5.target ) | |
a5dc0a45 | 1328 | endif |
5e6afdd3 | 1329 | |
d1ab0ca0 | 1330 | DISTCHECK_CONFIGURE_FLAGS = \ |
d2d12cd1 LP |
1331 | --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \ |
1332 | --with-dbussessionservicedir=$$dc_install_base/$(dbussessionservicedir) \ | |
1333 | --with-dbussystemservicedir=$$dc_install_base/$(dbussystemservicedir) \ | |
1334 | --with-dbusinterfacedir=$$dc_install_base/$(dbusinterfacedir) \ | |
8c4a3079 | 1335 | --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \ |
8c6db833 | 1336 | --with-pamlibdir=$$dc_install_base/$(pamlibdir) \ |
8c4a3079 | 1337 | --with-rootdir=$$dc_install_base/$(rootdir) |
a45f61d7 LP |
1338 | |
1339 | upload: all distcheck | |
53eff0c7 | 1340 | cp -v systemd-$(VERSION).tar.bz2 /home/lennart/git.fedora/systemd/ |
a45f61d7 LP |
1341 | scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/ |
1342 | scp man/*.html tango:public/systemd-man/ | |
1343 | ||
1344 | git-tag: | |
1345 | git tag "v$(VERSION)" -m "systemd $(VERSION)" |