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