# -*- 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)