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