chiark / gitweb /
[PATCH] 043 release
[elogind.git] / Makefile
index 19dc72d952dcdf48365982aea0ffbecf37eb6bba..0f95aaed9af03ce174a5e75d1263b1925b3922cb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ INFO =                udevinfo
 TESTER =       udevtest
 STARTER =      udevstart
 WAIT =         wait_for_sysfs
-VERSION =      040
+VERSION =      043
 INSTALL_DIR =  /usr/local/bin
 RELEASE_NAME = $(ROOT)-$(VERSION)
 LOCAL_CFG_DIR =        etc/udev
@@ -176,7 +176,8 @@ ifeq ($(strip $(USE_SELINUX)),true)
        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
@@ -231,10 +232,13 @@ HEADERS = udev.h          \
                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
@@ -459,3 +463,6 @@ uninstall: uninstall-man uninstall-dev.d
                $(MAKE) prefix=$(prefix) LD="$(LD)" SYSFS="$(SYSFS)" \
                        -C $$target $@ ; \
        done ; \
+
+test: all
+       @ cd test && ./udev-test.pl