makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # -*- make -*-
  2. BASE=../..
  3. SUBDIR=test/interactive-helper
  4. APT_DOMAIN=none
  5. # Bring in the default rules
  6. include ../../buildlib/defaults.mak
  7. # Program for testing methods
  8. PROGRAM=mthdcat
  9. SLIBS =
  10. SOURCE = mthdcat.cc
  11. include $(PROGRAM_H)
  12. # Program for testing the tar/deb extractor
  13. PROGRAM=testdeb
  14. SLIBS = -lapt-pkg -lapt-inst
  15. LIB_MAKES = apt-pkg/makefile apt-inst/makefile
  16. SOURCE = testdeb.cc
  17. include $(PROGRAM_H)
  18. # Program for testing tar extraction
  19. PROGRAM=extract-control
  20. SLIBS = -lapt-pkg -lapt-inst
  21. LIB_MAKES = apt-pkg/makefile apt-inst/makefile
  22. SOURCE = extract-control.cc
  23. include $(PROGRAM_H)
  24. # Program for testing udevcdrom
  25. PROGRAM=test_udevcdrom
  26. SLIBS = -lapt-pkg
  27. LIB_MAKES = apt-pkg/makefile
  28. SOURCE = test_udevcdrom.cc
  29. include $(PROGRAM_H)
  30. PROGRAM=test_fileutl
  31. SLIBS = -lapt-pkg
  32. LIB_MAKES = apt-pkg/makefile
  33. SOURCE = test_fileutl.cc
  34. include $(PROGRAM_H)
  35. # Program for checking rpm versions
  36. #PROGRAM=rpmver
  37. #SLIBS = -lapt-pkg -lrpm
  38. #SOURCE = rpmver.cc
  39. #include $(PROGRAM_H)
  40. # very simple webserver for APT testing
  41. PROGRAM=aptwebserver
  42. SLIBS = -lapt-pkg -lpthread
  43. LIB_MAKES = apt-pkg/makefile
  44. SOURCE = aptwebserver.cc
  45. include $(PROGRAM_H)