makefile 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # -*- make -*-
  2. BASE=..
  3. SUBDIR=cmdline
  4. # Bring in the default rules
  5. include ../buildlib/defaults.mak
  6. # The apt-cache program
  7. PROGRAM=apt-cache
  8. SLIBS = -lapt-pkg $(INTLLIBS)
  9. LIB_MAKES = apt-pkg/makefile
  10. SOURCE = apt-cache.cc
  11. include $(PROGRAM_H)
  12. # The apt-get program
  13. PROGRAM=apt-get
  14. SLIBS = -lapt-pkg -lutil $(INTLLIBS)
  15. LIB_MAKES = apt-pkg/makefile
  16. SOURCE = apt-get.cc acqprogress.cc
  17. include $(PROGRAM_H)
  18. # The apt-config program
  19. PROGRAM=apt-config
  20. SLIBS = -lapt-pkg $(INTLLIBS)
  21. LIB_MAKES = apt-pkg/makefile
  22. SOURCE = apt-config.cc
  23. include $(PROGRAM_H)
  24. # The apt-cdrom program
  25. PROGRAM=apt-cdrom
  26. SLIBS = -lapt-pkg $(INTLLIBS)
  27. LIB_MAKES = apt-pkg/makefile
  28. SOURCE = apt-cdrom.cc
  29. include $(PROGRAM_H)
  30. # The apt-key program
  31. SOURCE=apt-key
  32. TO=$(BIN)
  33. TARGET=program
  34. include $(COPY_H)
  35. # The apt-mark program
  36. PROGRAM=apt-mark
  37. SLIBS = -lapt-pkg $(INTLLIBS)
  38. LIB_MAKES = apt-pkg/makefile
  39. SOURCE = apt-mark.cc
  40. include $(PROGRAM_H)
  41. # The apt-report-mirror-failure program
  42. #SOURCE=apt-report-mirror-failure
  43. #TO=$(BIN)
  44. #TARGET=program
  45. #include $(COPY_H)
  46. #
  47. # the following programs are shipped in apt-utils
  48. #
  49. APT_DOMAIN:=apt-utils
  50. # The apt-sortpkgs program
  51. PROGRAM=apt-sortpkgs
  52. SLIBS = -lapt-pkg $(INTLLIBS)
  53. LIB_MAKES = apt-pkg/makefile
  54. SOURCE = apt-sortpkgs.cc
  55. include $(PROGRAM_H)
  56. # The apt-extracttemplates program
  57. PROGRAM=apt-extracttemplates
  58. SLIBS = -lapt-pkg -lapt-inst $(INTLLIBS)
  59. LIB_MAKES = apt-pkg/makefile
  60. SOURCE = apt-extracttemplates.cc
  61. include $(PROGRAM_H)
  62. # The internal solver acting as an external
  63. PROGRAM=apt-internal-solver
  64. SLIBS = -lapt-pkg $(INTLLIBS)
  65. LIB_MAKES = apt-pkg/makefile
  66. SOURCE = apt-internal-solver.cc
  67. include $(PROGRAM_H)
  68. # This just dumps out the state
  69. PROGRAM=apt-dump-solver
  70. SLIBS = -lapt-pkg $(INTLLIBS)
  71. LIB_MAKES = apt-pkg/makefile
  72. SOURCE = apt-dump-solver.cc
  73. include $(PROGRAM_H)