summaryrefslogtreecommitdiff
path: root/extras/ata_id/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'extras/ata_id/Makefile.am')
-rw-r--r--extras/ata_id/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/extras/ata_id/Makefile.am b/extras/ata_id/Makefile.am
index 7e7fd2b7ab..db5f87f8c3 100644
--- a/extras/ata_id/Makefile.am
+++ b/extras/ata_id/Makefile.am
@@ -5,7 +5,8 @@ udevhome_PROGRAMS = \
AM_CPPFLAGS = \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DUDEV_PREFIX=\""$(udev_prefix)"\" \
- -D_LIBUDEV_COMPILATION
+ -D_LIBUDEV_COMPILATION \
+ -UUSE_SELINUX
ata_id_SOURCES = \
ata_id.c \
@@ -16,9 +17,13 @@ ata_id_SOURCES = \
../../udev/udev_utils.c \
../../udev/udev_utils_string.c
+if USE_SELINUX
+ata_id_LDADD = \
+ $(SELINUX_LIBS)
+endif
+
dist_man_MANS = \
ata_id.8
distclean-local:
rm -f Makefile.in
-