summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-01-26 19:21:12 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:19 -0700
commit1f6d07b9a5d97183a20f3d07619e2f9aa31510f0 (patch)
treeed1fd65c36fdbede9b6bf53e5dbda3edb126c8ca
parent869fc2f1ff73209b9aa5dc7d582eba39feaf6f86 (diff)
[PATCH] more makefile cleanups
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 20c739e404..23b6ff87d8 100644
--- a/Makefile
+++ b/Makefile
@@ -200,8 +200,7 @@ OBJS = udev_config.o \
$(SYSFS) \
$(TDB)
-HEADERS = $(GEN_HEADERS) \
- udev.h \
+HEADERS = udev.h \
namedev.h \
udev_version.h \
udev_dbus.h \
@@ -243,13 +242,14 @@ $(LOCAL_CFG_DIR)/udev.conf:
$(OBJS): $(GEN_HEADERS)
+udev.o: $(GEN_HEADERS)
-$(ROOT): udev.o $(OBJS) $(HEADERS)
+$(ROOT): udev.o $(OBJS) $(HEADERS) $(GEN_HEADERS)
$(LD) $(LDFLAGS) -o $@ $(CRT0) udev.o $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
$(STRIPCMD) $@
$(HELPERS): udevinfo.o $(OBJS) $(HEADERS)
- $(LD) $(LDFLAGS) -o $@ $(CRT0) udevinfo.o $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
+ $(LD) $(LDFLAGS) -o $@ $(CRT0) udevinfo.o logging.o udev_config.o udevdb.o $(SYSFS) $(TDB) $(LIB_OBJS) $(ARCH_LIB_OBJS)
$(STRIPCMD) $@
$(DAEMON): udevd.h udevd.o udevd.o logging.o