aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-02-04 21:38:26 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:24:19 -0700
commitfbda4a34d846946bf8ed63deadfd6e65b2299792 (patch)
treece9ccdb18666fa01b16705d2221be426b7203e37 /Makefile
parent9badc83e4f6d67e7d646c5f438597154f34ad0ab (diff)
downloadudev-fbda4a34d846946bf8ed63deadfd6e65b2299792.tar.gz
[PATCH] selinux: cleanup udev integration
Move code into a .c-file instead of big inline functions in a header file. Pass the device name down instead of relying that the node name is equal to the kernel name.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ece518f5..47516b3e 100644
--- a/Makefile
+++ b/Makefile
@@ -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