makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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 config file parser
  24. PROGRAM=conftest_clear
  25. SLIBS = -lapt-pkg
  26. SOURCE = conf_clear.cc
  27. include $(PROGRAM_H)
  28. # Program for testing the config file parser
  29. PROGRAM=conftest
  30. SLIBS = -lapt-pkg
  31. SOURCE = conf.cc
  32. include $(PROGRAM_H)
  33. # Program for testing the tar/deb extractor
  34. PROGRAM=testdeb
  35. SLIBS = -lapt-pkg -lapt-inst
  36. SOURCE = testdeb.cc
  37. include $(PROGRAM_H)
  38. # Program for testing tar extraction
  39. PROGRAM=extract-control
  40. SLIBS = -lapt-pkg -lapt-inst
  41. SOURCE = extract-control.cc
  42. include $(PROGRAM_H)
  43. # Program for testing hashes
  44. PROGRAM=hash
  45. SLIBS = -lapt-pkg
  46. SOURCE = hash.cc
  47. include $(PROGRAM_H)
  48. # Program for testing udevcdrom
  49. PROGRAM=test_udevcdrom
  50. SLIBS = -lapt-pkg
  51. SOURCE = test_udevcdrom.cc
  52. include $(PROGRAM_H)
  53. # Program for checking rpm versions
  54. #PROGRAM=rpmver
  55. #SLIBS = -lapt-pkg -lrpm
  56. #SOURCE = rpmver.cc
  57. #include $(PROGRAM_H)