TESTER = udevtest
STARTER = udevstart
WAIT = wait_for_sysfs
-VERSION = 040
+VERSION = 042
INSTALL_DIR = /usr/local/bin
RELEASE_NAME = $(ROOT)-$(VERSION)
LOCAL_CFG_DIR = etc/udev
LIB_OBJS += -lselinux
endif
-CFLAGS += -I$(PWD)/libsysfs
+CFLAGS += -I$(PWD)/libsysfs/sysfs \
+ -I$(PWD)/libsysfs
# config files automatically generated
GEN_CONFIGS = $(LOCAL_CFG_DIR)/udev.conf
udev_sysfs.h \
logging.h \
selinux.h \
- list.h \
- klibc_fixups/klibc_fixups.h
+ list.h
ifeq ($(strip $(USE_KLIBC)),true)
+ HEADERS += klibc_fixups/klibc_fixups.h \
+ klibc_fixups/mntent.h \
+ klibc_fixups/pwd.h
+
OBJS += klibc_fixups/klibc_fixups.o
KLIBC_FIXUP = klibc_fixups/klibc_fixups.o
endif
$(MAKE) prefix=$(prefix) LD="$(LD)" SYSFS="$(SYSFS)" \
-C $$target $@ ; \
done ; \
+
+test: all
+ @ cd test && sudo ./udev-test.pl