7 HEADER_TARGETDIRS = apt-pkg
 
   9 # Bring in the default rules
 
  10 include ../buildlib/defaults.mak
 
  18 # Source code for the contributed non-core things
 
  19 SOURCE = contrib/mmap.cc contrib/error.cc contrib/strutl.cc \
 
  20          contrib/configuration.cc contrib/progress.cc contrib/cmndline.cc \
 
  21          contrib/md5.cc contrib/cdromutl.h
 
  23 # Source code for the main library
 
  24 SOURCE+= pkgcache.cc version.cc fileutl.cc pkgcachegen.cc depcache.cc \
 
  25          orderlist.cc tagfile.cc sourcelist.cc packagemanager.cc \
 
  26          pkgrecords.cc algorithms.cc acquire.cc acquire-item.cc \
 
  27          acquire-worker.cc acquire-method.cc init.cc templates.cc
 
  29 # Source code for the debian specific components         
 
  30 SOURCE+= deb/deblistparser.cc deb/debrecords.cc deb/dpkgpm.cc deb/dpkginit.cc
 
  32 # Public apt-pkg header files
 
  33 HEADERS = algorithms.h depcache.h mmap.h pkgcachegen.h cacheiterators.h \
 
  34           error.h orderlist.h sourcelist.h configuration.h fileutl.h \
 
  35           packagemanager.h tagfile.h deblistparser.h init.h pkgcache.h \
 
  36           version.h progress.h pkgrecords.h debrecords.h cmndline.h \
 
  37           acquire.h acquire-worker.h acquire-item.h acquire-method.h md5.h \
 
  38           dpkgpm.h dpkginit.h cdromutl.h strutl.h
 
  40 HEADERS := $(addprefix apt-pkg/,$(HEADERS))
 
  42 # Private header files