summaryrefslogtreecommitdiff
path: root/extras/cdrom_id/Makefile.am
blob: 0514a2ea51318c11467eed88eb1e20848d92145c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
udevhomedir = $(udev_prefix)/lib/udev
udevhome_PROGRAMS = \
	cdrom_id

udevrulesdir = $(udev_prefix)/lib/udev/rules.d
dist_udevrules_DATA = \
	60-cdrom_id.rules

AM_CPPFLAGS = \
	-DSYSCONFDIR=\""$(sysconfdir)"\" \
	-DUDEV_PREFIX=\""$(udev_prefix)"\" \
	-D_LIBUDEV_COMPILATION

cdrom_id_SOURCES = \
	cdrom_id.c \
	../../udev/lib/libudev.h \
	../../udev/lib/libudev.c \
	../../udev/udev_sysfs.c \
	../../udev/udev_sysdeps.c \
	../../udev/udev_utils.c \
	../../udev/udev_utils_string.c

if USE_SELINUX
cdrom_id_LDADD = \
	$(SELINUX_LIBS)
endif

dist_man_MANS = \
	cdrom_id.8

distclean-local:
	rm -f Makefile.in