makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. # Program for testing methods
  12. PROGRAM=uritest
  13. SLIBS = -lapt-pkg
  14. SOURCE = uri.cc
  15. include $(PROGRAM_H)
  16. # Scratch program to test incomplete code fragments in
  17. PROGRAM=scratch-test
  18. SLIBS = -lapt-inst -lapt-pkg
  19. LIB_MAKES = apt-pkg/makefile apt-inst/makefile
  20. SOURCE = scratch.cc
  21. include $(PROGRAM_H)
  22. # Version compare tester
  23. PROGRAM=versiontest
  24. SLIBS = -lapt-pkg
  25. LIB_MAKES = apt-pkg/makefile
  26. SOURCE = versiontest.cc
  27. include $(PROGRAM_H)
  28. # Version compare tester
  29. PROGRAM=testextract
  30. SLIBS = -lapt-pkg -lapt-inst
  31. LIB_MAKES = apt-pkg/makefile apt-inst/makefile
  32. SOURCE = testextract.cc
  33. include $(PROGRAM_H)
  34. # Program for testing the config file parser
  35. PROGRAM=conftest
  36. SLIBS = -lapt-pkg
  37. SOURCE = conf.cc
  38. include $(PROGRAM_H)
  39. # Program for testing the tar/deb extractor
  40. PROGRAM=testdeb
  41. SLIBS = -lapt-pkg -lapt-inst
  42. SOURCE = testdeb.cc
  43. include $(PROGRAM_H)
  44. # Program for testing tar extraction
  45. PROGRAM=extract-control
  46. SLIBS = -lapt-pkg -lapt-inst
  47. SOURCE = extract-control.cc
  48. include $(PROGRAM_H)
  49. # Program for testing hashes
  50. PROGRAM=hash
  51. SLIBS = -lapt-pkg
  52. SOURCE = hash.cc
  53. include $(PROGRAM_H)
  54. # Program for checking rpm versions
  55. PROGRAM=rpmver
  56. SLIBS = -lapt-pkg -lrpm
  57. SOURCE = rpmver.cc
  58. include $(PROGRAM_H)