]> git.ipfire.org Git - thirdparty/systemd.git/blame - Makefile.am
unit: add automount units for a number of API filesystems
[thirdparty/systemd.git] / Makefile.am
CommitLineData
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
18ACLOCAL_AMFLAGS = -I m4
19
e24067c3 20dbuspolicydir=$(sysconfdir)/dbus-1/system.d
d1ab0ca0 21udevrulesdir=@udevrulesdir@
036643a2 22
d1ab0ca0 23pkgsysconfdir=$(sysconfdir)/systemd
70fcff31 24systemunitdir=$(pkgdatadir)/system
d1ab0ca0 25sessionunitdir=$(pkgdatadir)/session
70fcff31 26
47be870b
LP
27AM_CPPFLAGS = \
28 -include $(top_builddir)/config.h \
036643a2 29 -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \
70fcff31 30 -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \
0571e011 31 -DSYSTEM_SYSVINIT_PATH=\"$(SYSTEM_SYSVINIT_PATH)\" \
061978fa 32 -DSYSTEM_SYSVRCND_PATH=\"$(SYSTEM_SYSVRCND_PATH)\" \
036643a2 33 -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \
70fcff31 34 -DSESSION_DATA_UNIT_PATH=\"$(sessionunitdir)\" \
a16e1123 35 -DCGROUP_AGENT_PATH=\"$(pkglibexecdir)/systemd-cgroups-agent\" \
e99e38bb
LP
36 -DSYSTEMD_BINARY_PATH=\"$(sbindir)/systemd\" \
37 -I $(top_srcdir)/src
47be870b
LP
38
39sbin_PROGRAMS = \
40 systemd
41
42bin_PROGRAMS = \
a9b5b032
MT
43 systemctl
44
45if HAVE_GTK
46bin_PROGRAMS += \
8e274523 47 systemadm
a9b5b032 48endif
8e274523
LP
49
50pkglibexec_PROGRAMS = \
51 systemd-logger \
0b7964b8
LP
52 systemd-cgroups-agent \
53 systemd-initctl
47be870b
LP
54
55noinst_PROGRAMS = \
56 test-engine \
15ae422b 57 test-job-type \
af5bc85d
LP
58 test-ns \
59 test-loopback
47be870b 60
d1ab0ca0 61dist_dbuspolicy_DATA = \
dfac97b2 62 src/org.freedesktop.systemd1.conf
e24067c3 63
d1ab0ca0 64dist_udevrules_DATA = \
dfac97b2 65 src/99-systemd.rules
5cc5d790 66
d1ab0ca0 67dist_systemunit_DATA = \
70fcff31 68 units/emergency.service \
5e6afdd3
LP
69 units/getty.target \
70 units/halt.target \
70449379
LP
71 units/local-fs.target \
72 units/network.target \
73 units/nss-lookup.target \
5e6afdd3
LP
74 units/poweroff.target \
75 units/reboot.target \
70449379 76 units/remote-fs.target \
5e6afdd3 77 units/rescue.target \
f0b02ca2 78 units/rpcbind.target \
70449379
LP
79 units/rtc-set.target \
80 units/shutdown.target \
81 units/sigpwr.target \
82 units/sockets.target \
83 units/swap.target \
70fcff31 84 units/systemd-initctl.socket \
670802d4
LP
85 units/systemd-logger.socket \
86 units/dev-hugepages.automount \
87 units/dev-hugepages.mount \
88 units/dev-mqueue.automount \
89 units/dev-mqueue.mount \
90 units/proc-sys-fs-binfmt_misc.automount \
91 units/proc-sys-fs-binfmt_misc.mount \
6d526de2
LP
92 units/sys-fs-fuse-connections.automount \
93 units/sys-fs-fuse-connections.mount \
670802d4
LP
94 units/sys-kernel-debug.automount \
95 units/sys-kernel-debug.mount \
6d526de2
LP
96 units/sys-kernel-security.automount \
97 units/sys-kernel-security.mount \
98 units/var-lock.mount \
670802d4 99 units/var-run.mount
70fcff31 100
d1ab0ca0 101systemunit_DATA = \
5e6afdd3
LP
102 units/basic.target \
103 units/getty@.service \
104 units/graphical.target \
105 units/multi-user.target \
dfac97b2 106 units/systemd-initctl.service \
a7b6f8e5
LP
107 units/systemd-logger.service \
108 units/syslog.target
d1ab0ca0 109
0d26c910
LP
110dist_sessionunit_DATA = \
111 units/session/default.target
112
fb1bd35a
LP
113sessionunit_DATA = \
114 units/session/remote-fs.target
115
e24067c3 116EXTRA_DIST = \
5e6afdd3
LP
117 units/basic.target.m4 \
118 units/getty@.service.m4 \
119 units/graphical.target.m4 \
120 units/multi-user.target.m4 \
705dbf3a 121 units/remote-fs.target.m4 \
70fcff31 122 units/systemd-initctl.service.in \
70fcff31 123 units/systemd-logger.service.in \
a7b6f8e5 124 units/syslog.target.in \
31cee6f6 125 LICENSE \
eb10a764
LP
126 README \
127 DISTRO_PORTING
e24067c3 128
5e6afdd3
LP
129if TARGET_FEDORA
130dist_systemunit_DATA += \
131 units/fedora/halt.service \
132 units/fedora/killall.service \
133 units/fedora/poweroff.service \
134 units/fedora/prefdm.service \
135 units/fedora/rc-local.service \
136 units/fedora/reboot.service \
137 units/fedora/sysinit.service
138endif
139
ea2d9ed4
MAP
140if TARGET_GENTOO
141dist_systemunit_DATA += \
142 units/gentoo/halt.service \
143 units/gentoo/killall.service \
144 units/gentoo/poweroff.service \
145 units/gentoo/reboot.service \
146 units/gentoo/xdm.service
147endif
148
75db651a
TFH
149# This is needed because automake is buggy in how it generates the
150# rules for C programs, but not Vala programs. We therefore can't
151# list the .h files as dependencies if we want make dist to work.
ea6145da 152BASIC_SOURCES = \
e99e38bb
LP
153 src/util.c \
154 src/hashmap.c \
155 src/set.c \
156 src/strv.c \
157 src/conf-parser.c \
158 src/socket-util.c \
159 src/log.c \
160 src/ratelimit.c
47be870b 161
ea6145da 162COMMON_SOURCES = \
47be870b 163 $(BASIC_SOURCES) \
e99e38bb
LP
164 src/unit.c \
165 src/job.c \
166 src/manager.c \
167 src/load-fragment.c \
168 src/service.c \
169 src/automount.c \
170 src/mount.c \
171 src/swap.c \
172 src/device.c \
173 src/target.c \
174 src/snapshot.c \
175 src/socket.c \
176 src/timer.c \
177 src/load-dropin.c \
178 src/execute.c \
179 src/dbus.c \
180 src/dbus-manager.c \
181 src/dbus-unit.c \
182 src/dbus-job.c \
183 src/dbus-service.c \
184 src/dbus-socket.c \
185 src/dbus-target.c \
186 src/dbus-mount.c \
187 src/dbus-automount.c \
188 src/dbus-swap.c \
189 src/dbus-snapshot.c \
190 src/dbus-device.c \
191 src/dbus-execute.c \
192 src/cgroup.c \
193 src/mount-setup.c \
194 src/hostname-setup.c \
195 src/loopback-setup.c \
11c3a4ee 196 src/kmod-setup.c \
e99e38bb
LP
197 src/utmp-wtmp.c \
198 src/specifier.c \
199 src/unit-name.c \
200 src/fdset.c \
201 src/namespace.c
47be870b 202
462b33e9
TFH
203EXTRA_DIST += \
204 ${COMMON_SOURCES:.c=.h} \
e99e38bb
LP
205 src/macro.h \
206 src/ioprio.h \
207 src/missing.h \
208 src/list.h \
209 src/securebits.h \
210 src/linux/auto_dev-ioctl.h \
211 src/initreq.h \
212 src/sd-daemon.h
462b33e9 213
d1ab0ca0 214dist_man_MANS = \
dfac97b2 215 man/systemd.unit.5 \
9f2c5942
LP
216 man/systemd.service.5
217
218nodist_man_MANS = \
9f235308 219 man/systemd.special.7
d1ab0ca0 220
9f2c5942 221dist_noinst_DATA = \
dfac97b2 222 man/systemd.unit.html \
9f2c5942 223 man/systemd.service.html
d1ab0ca0 224
9f2c5942
LP
225nodist_noinst_DATA = \
226 man/systemd.special.html
d1ab0ca0
LP
227
228EXTRA_DIST += \
229 man/systemd.unit.xml \
9f235308 230 man/systemd.service.xml \
9f2c5942
LP
231 man/systemd.special.xml.in \
232 man/systemd.special.7.in \
233 man/systemd.special.html.in
d1ab0ca0 234
47be870b
LP
235systemd_SOURCES = \
236 $(COMMON_SOURCES) \
e99e38bb 237 src/main.c
47be870b
LP
238
239systemd_CPPFLAGS = \
240 $(AM_CPPFLAGS) \
241 $(DBUS_CFLAGS) \
8e274523
LP
242 $(UDEV_CFLAGS) \
243 $(CGROUP_CFLAGS)
47be870b
LP
244
245systemd_LDADD = \
246 $(DBUS_LIBS) \
8e274523
LP
247 $(UDEV_LIBS) \
248 $(CGROUP_LIBS)
47be870b
LP
249
250test_engine_SOURCES = \
251 $(COMMON_SOURCES) \
e99e38bb 252 src/test-engine.c
47be870b
LP
253
254test_engine_CPPFLAGS = $(systemd_CPPFLAGS)
255test_engine_LDADD = $(systemd_LDADD)
256
257test_job_type_SOURCES = \
258 $(COMMON_SOURCES) \
e99e38bb 259 src/test-engine.c
47be870b
LP
260
261test_job_type_CPPFLAGS = $(systemd_CPPFLAGS)
262test_job_type_LDADD = $(systemd_LDADD)
263
15ae422b
LP
264test_ns_SOURCES = \
265 $(BASIC_SOURCES) \
e99e38bb
LP
266 src/test-ns.c \
267 src/namespace.c
15ae422b
LP
268
269test_ns_CPPFLAGS = $(systemd_CPPFLAGS)
270test_ns_LDADD = $(systemd_LDADD)
271
af5bc85d
LP
272test_loopback_SOURCES = \
273 $(BASIC_SOURCES) \
e99e38bb
LP
274 src/test-loopback.c \
275 src/loopback-setup.c
af5bc85d
LP
276
277test_loopback_CPPFLAGS = $(systemd_CPPFLAGS)
278test_loopback_LDADD = $(systemd_LDADD)
279
47be870b
LP
280systemd_logger_SOURCES = \
281 $(BASIC_SOURCES) \
e99e38bb
LP
282 src/logger.c \
283 src/sd-daemon.c
47be870b 284
0b7964b8
LP
285systemd_initctl_SOURCES = \
286 $(BASIC_SOURCES) \
e99e38bb
LP
287 src/initctl.c \
288 src/sd-daemon.c
0b7964b8
LP
289
290systemd_initctl_CPPFLAGS = \
291 $(AM_CPPFLAGS) \
292 $(DBUS_CFLAGS)
293
294systemd_initctl_LDADD = \
295 $(DBUS_LIBS)
296
8e274523
LP
297systemd_cgroups_agent_SOURCES = \
298 $(BASIC_SOURCES) \
e99e38bb 299 src/cgroups-agent.c
8e274523
LP
300
301systemd_cgroups_agent_CPPFLAGS = \
302 $(AM_CPPFLAGS) \
303 $(DBUS_CFLAGS)
304
305systemd_cgroups_agent_LDADD = \
306 $(DBUS_LIBS)
307
e99e38bb
LP
308VALAFLAGS = \
309 -g \
310 --save-temps \
311 --pkg=dbus-glib-1 \
312 --pkg=posix
313
314if HAVE_GTK
315VALAFLAGS += \
316 --pkg=gtk+-2.0
317endif
318
319VALA_CFLAGS = \
320 -Wno-unused-variable \
321 -Wno-unused-function
47be870b
LP
322
323systemctl_SOURCES = \
e99e38bb
LP
324 src/systemctl.vala \
325 src/systemd-interfaces.vala
47be870b 326
67ef7823 327systemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(VALA_CFLAGS)
47be870b
LP
328systemctl_LDADD = $(DBUSGLIB_LIBS)
329
330systemadm_SOURCES = \
e99e38bb
LP
331 src/systemadm.vala \
332 src/systemd-interfaces.vala
47be870b 333
67ef7823 334systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(VALA_CFLAGS)
47be870b 335systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS)
c1e1601e 336
5e6afdd3 337SED_PROCESS = \
a00e4879 338 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
5e6afdd3 339 $(SED) -e 's,@libexecdir\@,$(libexecdir),g' \
2d02719c 340 -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
5e6afdd3 341 -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \
2d02719c 342 < $< > $@
70fcff31 343
9f2c5942 344units/%: units/%.in Makefile
5e6afdd3
LP
345 $(SED_PROCESS)
346
2a3d6294 347man/%: man/%.in Makefile
5e6afdd3
LP
348 $(SED_PROCESS)
349
fb1bd35a 350M4_PROCESS_SYSTEM = \
a00e4879 351 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
9f2c5942 352 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM=1 < $< > $@
fb1bd35a
LP
353
354M4_PROCESS_SESSION = \
a00e4879 355 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
9f2c5942 356 $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SESSION=1 < $< > $@
5e6afdd3 357
9f2c5942 358units/%: units/%.m4 Makefile
fb1bd35a 359 $(M4_PROCESS_SYSTEM)
5e6afdd3 360
9f2c5942 361units/session/%: units/%.m4 Makefile
fb1bd35a 362 $(M4_PROCESS_SESSION)
a7b6f8e5 363
c1e1601e 364CLEANFILES = \
dfac97b2 365 units/systemd-initctl.service \
a7b6f8e5 366 units/systemd-logger.service \
5e6afdd3
LP
367 units/syslog.target \
368 units/basic.target \
369 units/getty@.service \
370 units/graphical.target \
705dbf3a
LP
371 units/multi-user.target \
372 units/remote-fs.target \
9f2c5942
LP
373 units/session/remote-fs.target \
374 man/systemd.special.7 \
375 man/systemd.special.html
4697132b 376
42e39f0b
LP
377if HAVE_VALAC
378CLEANFILES += \
379 src/systemd-interfaces.c \
380 src/systemctl.c \
381 src/systemadm.c
382endif
383
c3bd7322 384if HAVE_XSLTPROC
9f2c5942 385XSLTPROC_PROCESS_MAN = \
a00e4879 386 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
d1ab0ca0
LP
387 $(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
388
9f2c5942 389XSLTPROC_PROCESS_MAN_IN = \
a00e4879 390 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
9f2c5942
LP
391 $(XSLTPROC) -o ${@:.in=} -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
392 mv ${@:.in=} $@
393
394XSLTPROC_PROCESS_HTML = \
a00e4879 395 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
d1ab0ca0
LP
396 $(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
397
9f2c5942 398XSLTPROC_PROCESS_HTML_IN = \
a00e4879 399 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
9f2c5942
LP
400 $(XSLTPROC) -o ${@:.in=} -nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
401 mv ${@:.in=} $@
402
403man/%.5: man/%.xml
404 $(XSLTPROC_PROCESS_MAN)
405
406man/%.5.in: man/%.xml.in
407 $(XSLTPROC_PROCESS_MAN)
408
409man/%.7: man/%.xml
410 $(XSLTPROC_PROCESS_MAN)
411
412man/%.7.in: man/%.xml.in
413 $(XSLTPROC_PROCESS_MAN_IN)
414
415man/%.html: man/%.xml
416 $(XSLTPROC_PROCESS_HTML)
417
418man/%.html.in: man/%.xml.in
419 $(XSLTPROC_PROCESS_HTML_IN)
420
d1ab0ca0
LP
421CLEANFILES += \
422 $(dist_man_MANS) \
9f2c5942
LP
423 man/systemd.special.7.in \
424 man/systemd.unit.html \
425 man/systemd.service.html \
426 man/systemd.special.html.in
c3bd7322 427endif
d1ab0ca0 428
4697132b 429install-data-hook:
64c1b5bf 430 $(MKDIR_P) -m 0755 \
43aa226d
LP
431 $(DESTDIR)$(systemunitdir) \
432 $(DESTDIR)$(sessionunitdir) \
5e6afdd3 433 $(DESTDIR)$(systemunitdir)/sockets.target.wants \
670802d4 434 $(DESTDIR)$(systemunitdir)/basic.target.wants \
64c1b5bf 435 $(DESTDIR)$(pkgsysconfdir)/system \
5e6afdd3
LP
436 $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
437 $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
438 $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants \
64c1b5bf 439 $(DESTDIR)$(pkgsysconfdir)/session \
e82e442b 440 $(DESTDIR)$(sysconfdir)/xdg/systemd
53f7d807
LP
441 $(MKDIR_P) -m 0755 $(DESTDIR)/cgroup/systemd || \
442 echo "Don't forget to create /cgroup/systemd! Couldn't create it for you, continuing anyway."
e9da3678
LP
443 ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
444 rm -f session && \
5e6afdd3
LP
445 $(LN_S) $(pkgsysconfdir)/session session )
446 ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \
70449379 447 rm -f systemd-initctl.socket systemd-logger.socket && \
5e6afdd3
LP
448 $(LN_S) ../systemd-logger.socket systemd-logger.socket && \
449 $(LN_S) ../systemd-initctl.socket systemd-initctl.socket )
70449379 450 ( cd $(DESTDIR)$(sessionunitdir) && \
fb1bd35a 451 rm -f shutdown.target sockets.target local-fs.target swap.target && \
70449379 452 $(LN_S) ../system/shutdown.target shutdown.target && \
fb1bd35a
LP
453 $(LN_S) ../system/sockets.target sockets.target && \
454 $(LN_S) ../system/local-fs.target local-fs.target && \
455 $(LN_S) ../system/swap.target swap.target )
5e6afdd3
LP
456 ( cd $(DESTDIR)$(systemunitdir) && \
457 rm -f runlevel0.target runlevel1.target runlevel6.target && \
458 $(LN_S) poweroff.target runlevel0.target && \
459 $(LN_S) rescue.target runlevel1.target && \
460 $(LN_S) reboot.target runlevel6.target )
461 ( cd $(DESTDIR)$(pkgsysconfdir)/system && \
462 rm -f default.target ctrl-alt-del.target kbrequest.target && \
463 $(LN_S) $(systemunitdir)/graphical.target default.target && \
464 $(LN_S) $(systemunitdir)/reboot.target ctrl-alt-del.target && \
465 $(LN_S) $(systemunitdir)/rescue.target kbrequest.target && \
466 rm -f runlevel2.target runlevel3.target runlevel4.target runlevel5.target && \
467 $(LN_S) $(systemunitdir)/multi-user.target runlevel2.target && \
468 $(LN_S) $(systemunitdir)/multi-user.target runlevel3.target && \
469 $(LN_S) $(systemunitdir)/multi-user.target runlevel4.target && \
470 $(LN_S) $(systemunitdir)/graphical.target runlevel5.target )
471 ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
472 rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \
473 $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \
474 $(LN_S) $(systemunitdir)/getty@.service getty@tty2.service && \
475 $(LN_S) $(systemunitdir)/getty@.service getty@tty3.service && \
476 $(LN_S) $(systemunitdir)/getty@.service getty@tty4.service && \
477 $(LN_S) $(systemunitdir)/getty@.service getty@tty5.service && \
478 $(LN_S) $(systemunitdir)/getty@.service getty@tty6.service )
479 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
480 rm -f getty.target && \
481 $(LN_S) $(systemunitdir)/getty.target getty.target )
670802d4 482 ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \
6d526de2
LP
483 rm -f dev-hugepages.automount \
484 dev-mqueue.automount \
485 proc-sys-fs-binfmt_misc.automount \
486 sys-kernel-debug.automount \
487 sys-fs-fuse-connections.automount \
488 sys-kernel-security.automount && \
670802d4
LP
489 $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
490 $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
491 $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount && \
6d526de2
LP
492 $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
493 $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
494 $(LN_S) ../sys-fs-fuse-connections.automount sys-fs-fuse-connections.automount )
5e6afdd3
LP
495if TARGET_FEDORA
496 ( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \
497 rm -f prefdm.service && \
498 $(LN_S) $(systemunitdir)/prefdm.service prefdm.service )
499 ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
500 rm -f rc-local.service && \
501 $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
502 ( cd $(DESTDIR)$(systemunitdir) && \
503 rm -f local.service && \
504 $(LN_S) rc-local.service local.service )
1afaf573
LP
505 ( cd $(DESTDIR)/etc/init.d && \
506 $(LN_S) halt reboot > /dev/null 2>&1 || true )
5e6afdd3
LP
507endif
508
d1ab0ca0
LP
509DISTCHECK_CONFIGURE_FLAGS = \
510 --with-udevrulesdir=$$dc_install_base/$(udevrulesdir)