summaryrefslogtreecommitdiff
path: root/extras/udev-acl/Makefile.am
blob: 1b337c3a2cab0642077e6f00d7d3b4674bacc5a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
include $(top_srcdir)/Makefile.am.inc

libexec_PROGRAMS = \
	udev-acl

udev_acl_SOURCES = \
	udev-acl.c

udev_acl_CPPFLAGS = \
	$(AM_CPPFLAGS) $(GLIB_CFLAGS)

udev_acl_LDADD = \
	-lacl $(top_builddir)/libudev/libudev-private.la $(GLIB_LIBS)

dist_udevrules_DATA = 70-acl.rules

install-exec-hook:
	mkdir -p $(DESTDIR)$(prefix)/lib/ConsoleKit/run-session.d
	ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(prefix)/lib/ConsoleKit/run-session.d/udev-acl.ck