]> git.saurik.com Git - apt.git/blobdiff - test/makefile
* Updated Spanish translation from Ruben Porras <nahoo8...
[apt.git] / test / makefile
index 299389873d16098393732f9a884c7df12c8174ba..9ad6233c2d11997254751d8b005a65d226a677bb 100644 (file)
@@ -5,8 +5,65 @@ SUBDIR=test
 # Bring in the default rules
 include ../buildlib/defaults.mak
 
+# Program for testing methods
+PROGRAM=mthdcat
+SLIBS = 
+SOURCE = mthdcat.cc
+include $(PROGRAM_H)
+
+# Program for testing methods
+PROGRAM=uritest
+SLIBS = -lapt-pkg
+SOURCE = uri.cc
+include $(PROGRAM_H)
+
 # Scratch program to test incomplete code fragments in
 PROGRAM=scratch-test
-SLIBS = -lapt-pkg 
+SLIBS = -lapt-inst -lapt-pkg
+LIB_MAKES = apt-pkg/makefile apt-inst/makefile
 SOURCE = scratch.cc
 include $(PROGRAM_H)
+
+# Version compare tester
+PROGRAM=versiontest
+SLIBS = -lapt-pkg 
+LIB_MAKES = apt-pkg/makefile
+SOURCE = versiontest.cc
+include $(PROGRAM_H)
+
+# Version compare tester
+PROGRAM=testextract
+SLIBS = -lapt-pkg -lapt-inst
+LIB_MAKES = apt-pkg/makefile apt-inst/makefile
+SOURCE = testextract.cc
+include $(PROGRAM_H)
+
+# Program for testing the config file parser
+PROGRAM=conftest
+SLIBS = -lapt-pkg
+SOURCE = conf.cc
+include $(PROGRAM_H)
+
+# Program for testing the tar/deb extractor
+PROGRAM=testdeb
+SLIBS = -lapt-pkg -lapt-inst
+SOURCE = testdeb.cc
+include $(PROGRAM_H)
+
+# Program for testing tar extraction
+PROGRAM=extract-control
+SLIBS = -lapt-pkg -lapt-inst
+SOURCE = extract-control.cc
+include $(PROGRAM_H)
+
+# Program for testing hashes
+PROGRAM=hash
+SLIBS = -lapt-pkg 
+SOURCE = hash.cc
+include $(PROGRAM_H)
+
+# Program for checking rpm versions
+PROGRAM=rpmver
+SLIBS = -lapt-pkg -lrpm
+SOURCE = rpmver.cc
+include $(PROGRAM_H)