diff options
author | greg@kroah.com <greg@kroah.com> | 2003-08-06 00:03:30 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:01:40 -0700 |
commit | a2822451e27dbc576343834e76d5382d5112ac24 (patch) | |
tree | 4598f987c81f235660edf5f350dff6101f678607 /Makefile | |
parent | 8e41d35d7675b7d47db3e27da4e1fd508d772c32 (diff) |
[PATCH] merge tdb into the build process.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -113,17 +113,23 @@ all: $(LIBC) $(ROOT) $(ARCH_LIB_OBJS) : $(MAKE) -C klibc +LIBSYSFS = libsysfs/libsysfs.a +TDB = tdb/tdb.o tdb/spinlock.o + OBJS = udev.o \ udev-add.o \ udev-remove.o \ + udevdb.o \ logging.o \ - namedev.o - -LIBSYSFS = libsysfs/libsysfs.a + namedev.o \ + $(TDB) libsysfs/libsysfs.a: $(MAKE) -C libsysfs +tdb/tdb.o: + $(MAKE) -C tdb + # header files automatically generated GEN_HEADERS = udev_version.h @@ -132,7 +138,7 @@ udev_version.h: @echo \#define UDEV_VERSION \"$(VERSION)\" > $@ -$(ROOT): $(GEN_HEADERS) $(OBJS) $(LIBSYSFS) +$(ROOT): $(GEN_HEADERS) $(OBJS) $(LIBSYSFS) $(TDB) $(MAKE) -C libsysfs $(CC) $(LDFLAGS) -o $(ROOT) $(OBJS) -lsysfs $(LIB_OBJS) -L$(LIB) $(ARCH_LIB_OBJS) $(STRIPCMD) $(ROOT) @@ -143,6 +149,7 @@ clean: -rm -f core $(ROOT) $(GEN_HEADERS) $(MAKE) -C klibc clean $(MAKE) -C libsysfs clean + $(MAKE) -C tdb clean DISTFILES = $(shell find . \( -not -name '.' \) -print | grep -v CVS | grep -v "\.tar\.gz" | grep -v "\/\." | grep -v releases | grep -v BitKeeper | grep -v SCCS ) DISTDIR := $(RELEASE_NAME) |