makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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
  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
  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
  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
  27. LIB_MAKES = apt-pkg/makefile
  28. SOURCE = apt-cdrom.cc
  29. include $(PROGRAM_H)
  30. # The apt-sortpkgs program
  31. PROGRAM=apt-sortpkgs
  32. SLIBS = -lapt-pkg
  33. LIB_MAKES = apt-pkg/makefile
  34. SOURCE = apt-sortpkgs.cc
  35. include $(PROGRAM_H)
  36. # The apt-extracttemplates program
  37. PROGRAM=apt-extracttemplates
  38. SLIBS = -lapt-pkg -lapt-inst
  39. LIB_MAKES = apt-pkg/makefile
  40. SOURCE = apt-extracttemplates.cc
  41. include $(PROGRAM_H)
  42. # The apt-key program
  43. SOURCE=apt-key
  44. TO=$(BIN)
  45. TARGET=program
  46. include $(COPY_H)
  47. # The apt-mark program
  48. SOURCE=apt-mark
  49. TO=$(BIN)
  50. TARGET=program
  51. include $(COPY_H)