]> git.saurik.com Git - apt.git/blobdiff - cmdline/makefile
reorganize WriteScenario to add a WriteLimitedScenario in which a scenario
[apt.git] / cmdline / makefile
index 2dd10d6bc63f2bc3f0d9f579c8ae01d217fe1b8c..4462ccaf4e72b23753bc167e7e3edf4ed0471bb7 100644 (file)
@@ -5,11 +5,69 @@ 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 $(INTLLIBS)
+LIB_MAKES = apt-pkg/makefile
 SOURCE = apt-cache.cc
+include $(PROGRAM_H)
+
+# The apt-get program
+PROGRAM=apt-get
+SLIBS = -lapt-pkg -lutil $(INTLLIBS)
+LIB_MAKES = apt-pkg/makefile
+SOURCE = apt-get.cc acqprogress.cc
+include $(PROGRAM_H)
+
+# The apt-config program
+PROGRAM=apt-config
+SLIBS = -lapt-pkg $(INTLLIBS)
+LIB_MAKES = apt-pkg/makefile
+SOURCE = apt-config.cc
+include $(PROGRAM_H)
+
+# The apt-cdrom program
+PROGRAM=apt-cdrom
+SLIBS = -lapt-pkg $(INTLLIBS)
+LIB_MAKES = apt-pkg/makefile
+SOURCE = apt-cdrom.cc 
+include $(PROGRAM_H)
+
+# The apt-sortpkgs program
+PROGRAM=apt-sortpkgs
+SLIBS = -lapt-pkg $(INTLLIBS)
+LIB_MAKES = apt-pkg/makefile
+SOURCE = apt-sortpkgs.cc
+include $(PROGRAM_H)
+
+# The apt-extracttemplates program
+PROGRAM=apt-extracttemplates
+SLIBS = -lapt-pkg -lapt-inst $(INTLLIBS)
+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-report-mirror-failure program
+#SOURCE=apt-report-mirror-failure
+#TO=$(BIN)
+#TARGET=program
+#include $(COPY_H)
 
+# The internal solver acting as an external
+PROGRAM=apt-internal-solver
+SLIBS = -lapt-pkg $(INTLLIBS)
+LIB_MAKES = apt-pkg/makefile
+SOURCE = apt-internal-solver.cc
 include $(PROGRAM_H)