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