+CC = @CC@
+CPP = @CPP@
+
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
LIBOBJECTS = header.o oldrpmdb.o misc.o messages.o rpmerr.o falloc.o \
var.o md5.o md5sum.o dbindex.o rpmrc.o depends.o \
rpmdb.o stringbuf.o rpmlead.o package.o uninstall.o \
LOADLIBES = -lrpm -lgdbm -ldb $(LIBEFENCE)
PROGS =
AR = ar
+RANLIB = ranlib
+INSTALL= @INSTALL@
+INSTALL_PROGRAM= @INSTALL_PROGRAM@
+INSTALL_DATA= @INSTALL_DATA@
# -----------------------------------------------------------------------
echo 'const int rpmTagTableSize = sizeof(rpmTagTable) / sizeof(struct rpmTagTableEntry);' >> tagtable.c
install:
- install -m 755 -o 0 -g 0 -d $(INCDIR)
- install -m 755 -o 0 -g 0 -d $(LIBDIR)
- install -m 644 -o 0 -g 0 rpmlib.h $(INCDIR)
- install -m 644 -o 0 -g 0 dbindex.h $(INCDIR)
- install -m 644 -o 0 -g 0 header.h $(INCDIR)
- install -m 644 -o 0 -g 0 messages.h $(INCDIR)
- install -m 644 -o 0 -g 0 rpmerr.h $(INCDIR)
- install -m 644 -o 0 -g 0 librpm.a $(LIBDIR)
+ $(INSTALL) -m 755 -o 0 -g 0 -d $(INCDIR)
+ $(INSTALL) -m 755 -o 0 -g 0 -d $(LIBDIR)
+ $(INSTALL) -m 644 -o 0 -g 0 $(srcdir)/rpmlib.h $(INCDIR)
+ $(INSTALL) -m 644 -o 0 -g 0 $(srcdir)/dbindex.h $(INCDIR)
+ $(INSTALL) -m 644 -o 0 -g 0 $(srcdir)/header.h $(INCDIR)
+ $(INSTALL) -m 644 -o 0 -g 0 $(srcdir)/messages.h $(INCDIR)
+ $(INSTALL) -m 644 -o 0 -g 0 $(srcdir)/rpmerr.h $(INCDIR)
+ $(INSTALL) -m 644 -o 0 -g 0 librpm.a $(LIBDIR)
clean:
rm -f *.a *.o *~ $(PROGS) test.out tagtable.c