-CFLAGS += -I$(PWD)/libsysfs/sysfs \
- -I$(PWD)/libsysfs
-
-# config files automatically generated
-GEN_CONFIGS = $(LOCAL_CFG_DIR)/udev.conf
-
-all: $(ROOT) $(SENDER) $(DAEMON) $(INFO) $(TESTER) $(WAIT) $(GEN_CONFIGS)
- @extras="$(EXTRAS)" ; for target in $$extras ; do \
- echo $$target ; \
- $(MAKE) prefix=$(prefix) \
- LD="$(LD)" \
- SYSFS="$(SYSFS)" \
- KERNEL_DIR="$(KERNEL_DIR)" \
- QUIET="@$(PWD)/ccdv" \
- -C $$target $@ ; \
- done ; \
-
-$(ARCH_LIB_OBJS) : $(CRT0)
-
-$(CRT0):
- @if [ ! -r klibc/linux ]; then \
- ln -f -s $(KERNEL_DIR) klibc/linux; \
- fi
- $(MAKE) -C klibc SUBDIRS=klibc
-
-TDB = tdb/tdb.o \
- tdb/spinlock.o
-
-SYSFS = $(PWD)/libsysfs/sysfs_bus.o \
- $(PWD)/libsysfs/sysfs_class.o \
- $(PWD)/libsysfs/sysfs_device.o \
- $(PWD)/libsysfs/sysfs_dir.o \
- $(PWD)/libsysfs/sysfs_driver.o \
- $(PWD)/libsysfs/sysfs_utils.o \
- $(PWD)/libsysfs/dlist.o
-
-OBJS = udev_lib.o \
- udev_config.o \
- udev_add.o \
- udev_remove.o \
- udev_sysfs.o \
- udevdb.o \
- namedev.o \
- namedev_parse.o \
- dev_d.o \
- $(SYSFS) \
- $(TDB)
-
-HEADERS = udev.h \
- udev_lib.h \
- namedev.h \
- udev_version.h \
- udevdb.h \
- udev_sysfs.h \
- logging.h \
- selinux.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