X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/1164783d22d97e7ca0454e23faad8f8bb70a901d..7db98f31498a85da22cc00e446bce8ac8c319554:/cmdline/makefile diff --git a/cmdline/makefile b/cmdline/makefile index d521c58db..2a5bdfbea 100644 --- a/cmdline/makefile +++ b/cmdline/makefile @@ -1,14 +1,66 @@ # -*- make -*- BASE=.. +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 +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) + +# The apt-key program +SOURCE=apt-key +TO=$(BIN) +TARGET=program +include $(COPY_H) + +# The apt-mark program +SOURCE=apt-mark +TO=$(BIN) +TARGET=program +include $(COPY_H) + +# The apt-key program +SOURCE=apt-report-mirror-failure +TO=$(BIN) +TARGET=program +include $(COPY_H)