chiark / gitweb /
[PATCH] selinux: cleanup udev integration
[elogind.git] / Makefile
index d56f22d0df602255b5a295a6d15a5dca11885a69..47516b3e371408048f22882946360937976e7c90 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ SENDER =      udevsend
 INFO =         udevinfo
 TESTER =       udevtest
 STARTER =      udevstart
-VERSION =      050
+VERSION =      051
 INSTALL_DIR =  /usr/local/bin
 RELEASE_NAME = $(ROOT)-$(VERSION)
 LOCAL_CFG_DIR =        etc/udev
@@ -203,7 +203,7 @@ HEADERS = \
        udev_db.h       \
        udev_sysfs.h    \
        logging.h       \
-       selinux.h       \
+       udev_selinux.h  \
        list.h
 
 SYSFS_OBJS = \
@@ -245,6 +245,11 @@ ifeq ($(strip $(USE_KLIBC)),true)
        OBJS += klibc_fixups/klibc_fixups.a
 endif
 
+ifeq ($(strip $(USE_SELINUX)),true)
+       UDEV_OBJS += udev_selinux.o
+       LIB_OBJS += -lselinux
+endif
+
 ifeq ($(strip $(V)),false)
        QUIET=@$(PWD)/ccdv
        HOST_PROGS=ccdv