summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 9a7f5cdd9..5e3e6bda5 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -18,16 +18,18 @@ everything: $(TARGET)
all: modlist $(MODDEPS) genhdlist snarffont mapshdr readmap
+modlist: modlist.o ../isys/libisys.a
+
moddeps: moddeps.o
$(CC) $(LDFLAGS) -o moddeps moddeps.o ../loader/modules.o \
$(LOADLIBES) \
../isys/modutils/insmod/libmodutils.a \
../isys/modutils/util/libutil.a \
- ../isys/modutils/obj/libobj.a -lrpm -lrpmio -lbz2 -lz -lpopt
+ ../isys/modutils/obj/libobj.a -lrpm -lrpmdb -lrpmio -lbz2 -lz -lpopt
genhdlist: genhdlist.c hash.c
- $(CC) $(LDFLAGS) $(CFLAGS) -o genhdlist genhdlist.c hash.c -lrpm -lrpmio \
- -lbz2 -lz -lpopt -ldb-3.1 -ldb1
+ $(CC) $(LDFLAGS) $(CFLAGS) -o genhdlist genhdlist.c hash.c -lrpm -lrpmdb -lrpmio \
+ -lbz2 -lz -lpopt
depends: