summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-09-25 19:16:51 +0000
committerewt <devnull@localhost>1996-09-25 19:16:51 +0000
commite35bd4f4cfb71e28008257d5b1625b3255f30350 (patch)
treeb575a64903ddfcd9de34323c7db2d86f58a526ac /tools
parent88926b82b97dfec0d56ee5dd21d0c20ddb9b56bb (diff)
downloadrpm-e35bd4f4cfb71e28008257d5b1625b3255f30350.tar.gz
rpm-e35bd4f4cfb71e28008257d5b1625b3255f30350.tar.bz2
rpm-e35bd4f4cfb71e28008257d5b1625b3255f30350.zip
1) use Makefile.inc
2) added distclean rule CVS patchset: 1055 CVS date: 1996/09/25 19:16:51
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 2446a2f07..030acaa2c 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -1,9 +1,8 @@
-CC = @CC@
-CPP = @CPP@
-
srcdir = @srcdir@
VPATH = $(srcdir)
+include $(srcdir)/../Makefile.inc
+
PROGS = rpmlead rpmheader rpmarchive rpmsignature dump dumpdb
LOADLIBES = @LIBS@ @ZLIB@
@@ -20,8 +19,11 @@ everything: $(PROGS)
clean:
rm -f *.a *.o core *~ $(PROGS)
+distclean: clean
+ rm -f .depend Makefile
+
depend:
- $(CPP) $(CFLAGS) -M *.c > .depend
+ $(CPP) $(CFLAGS) -M $(srcdir)/*.c > .depend
$(PROGS): ../lib/librpm.a