You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

82 lines
1.6 KiB

  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_clear
  36. SLIBS = -lapt-pkg
  37. SOURCE = conf_clear.cc
  38. include $(PROGRAM_H)
  39. # Program for testing the config file parser
  40. PROGRAM=conftest
  41. SLIBS = -lapt-pkg
  42. SOURCE = conf.cc
  43. include $(PROGRAM_H)
  44. # Program for testing the tar/deb extractor
  45. PROGRAM=testdeb
  46. SLIBS = -lapt-pkg -lapt-inst
  47. SOURCE = testdeb.cc
  48. include $(PROGRAM_H)
  49. # Program for testing tar extraction
  50. PROGRAM=extract-control
  51. SLIBS = -lapt-pkg -lapt-inst
  52. SOURCE = extract-control.cc
  53. include $(PROGRAM_H)
  54. # Program for testing hashes
  55. PROGRAM=hash
  56. SLIBS = -lapt-pkg
  57. SOURCE = hash.cc
  58. include $(PROGRAM_H)
  59. # Program for testing udevcdrom
  60. PROGRAM=test_udevcdrom
  61. SLIBS = -lapt-pkg
  62. SOURCE = test_udevcdrom.cc
  63. include $(PROGRAM_H)
  64. # Program for checking rpm versions
  65. PROGRAM=rpmver
  66. SLIBS = -lapt-pkg -lrpm
  67. SOURCE = rpmver.cc
  68. include $(PROGRAM_H)