X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/3164dff98e933252249afc0de9e8469b9696fd42..11e97c45a67ab4a33975d178889cb4399c7dc01b:/cmdline/makefile diff --git a/cmdline/makefile b/cmdline/makefile index 2dd10d6bc..0c34c1ff9 100644 --- a/cmdline/makefile +++ b/cmdline/makefile @@ -5,11 +5,44 @@ SUBDIR=cmdline # Bring in the default rules include ../buildlib/defaults.mak -# The library name +# The apt-cache program PROGRAM=apt-cache -SLIBS = -lapt-pkg - -# Source code for the contributed non-core things +SLIBS = -lapt-pkg +LIB_MAKES = apt-pkg/makefile SOURCE = apt-cache.cc +include $(PROGRAM_H) + +# The apt-get program +PROGRAM=apt-get +SLIBS = -lapt-pkg +LIB_MAKES = apt-pkg/makefile +SOURCE = apt-get.cc acqprogress.cc +include $(PROGRAM_H) + +# The apt-config program +PROGRAM=apt-config +SLIBS = -lapt-pkg +LIB_MAKES = apt-pkg/makefile +SOURCE = apt-config.cc +include $(PROGRAM_H) + +# The apt-cdrom program +PROGRAM=apt-cdrom +SLIBS = -lapt-pkg +LIB_MAKES = apt-pkg/makefile +SOURCE = apt-cdrom.cc indexcopy.cc +include $(PROGRAM_H) + +# The apt-sortpkgs program +PROGRAM=apt-sortpkgs +SLIBS = -lapt-pkg +LIB_MAKES = apt-pkg/makefile +SOURCE = apt-sortpkgs.cc +include $(PROGRAM_H) +# The apt-extracttemplates program +PROGRAM=apt-extracttemplates +SLIBS = -lapt-pkg -lapt-inst +LIB_MAKES = apt-pkg/makefile +SOURCE = apt-extracttemplates.cc include $(PROGRAM_H)