makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # -*- make -*-
  2. BASE=..
  3. SUBDIR=test
  4. # Bring in the default rules
  5. include ../buildlib/defaults.mak
  6. # Program for testing methods
  7. PROGRAM=mthdcat
  8. SLIBS =
  9. SOURCE = mthdcat.cc
  10. include $(PROGRAM_H)
  11. # Scratch program to test incomplete code fragments in
  12. PROGRAM=scratch-test
  13. SLIBS = -lapt-inst -lapt-pkg
  14. LIB_MAKES = apt-pkg/makefile apt-inst/makefile
  15. SOURCE = scratch.cc
  16. include $(PROGRAM_H)
  17. # Version compare tester
  18. PROGRAM=testextract
  19. SLIBS = -lapt-pkg -lapt-inst
  20. LIB_MAKES = apt-pkg/makefile apt-inst/makefile
  21. SOURCE = testextract.cc
  22. include $(PROGRAM_H)
  23. # Program for testing the tar/deb extractor
  24. PROGRAM=testdeb
  25. SLIBS = -lapt-pkg -lapt-inst
  26. SOURCE = testdeb.cc
  27. include $(PROGRAM_H)
  28. # Program for testing tar extraction
  29. PROGRAM=extract-control
  30. SLIBS = -lapt-pkg -lapt-inst
  31. SOURCE = extract-control.cc
  32. include $(PROGRAM_H)
  33. # Program for testing hashes
  34. PROGRAM=hash
  35. SLIBS = -lapt-pkg
  36. SOURCE = hash.cc
  37. include $(PROGRAM_H)
  38. # Program for testing udevcdrom
  39. PROGRAM=test_udevcdrom
  40. SLIBS = -lapt-pkg
  41. SOURCE = test_udevcdrom.cc
  42. include $(PROGRAM_H)
  43. # Program for checking rpm versions
  44. #PROGRAM=rpmver
  45. #SLIBS = -lapt-pkg -lrpm
  46. #SOURCE = rpmver.cc
  47. #include $(PROGRAM_H)