makefile 2.0 KB

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