makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # -*- make -*-
  2. BASE=..
  3. SUBDIR=apt-pkg
  4. # Header location
  5. SUBDIRS = deb contrib
  6. HEADER_TARGETDIRS = apt-pkg
  7. # Bring in the default rules
  8. include ../buildlib/defaults.mak
  9. # The library name
  10. LIBRARY=apt-pkg
  11. MAJOR=2
  12. MINOR=0.0
  13. # Source code for the contributed non-core things
  14. SOURCE = contrib/mmap.cc contrib/error.cc contrib/strutl.cc \
  15. contrib/configuration.cc contrib/progress.cc
  16. # Source code for the main library
  17. SOURCE+= pkgcache.cc version.cc fileutl.cc pkgcachegen.cc depcache.cc \
  18. orderlist.cc tagfile.cc sourcelist.cc packagemanager.cc \
  19. pkgrecords.cc algorithms.cc init.cc templates.cc
  20. # Source code for the debian specific components
  21. SOURCE+= deb/deblistparser.cc deb/debrecords.cc
  22. # Public apt-pkg header files
  23. HEADERS = algorithms.h depcache.h mmap.h pkgcachegen.h cacheiterators.h \
  24. error.h orderlist.h sourcelist.h configuration.h fileutl.h \
  25. packagemanager.h tagfile.h deblistparser.h init.h pkgcache.h \
  26. version.h progress.h pkgrecords.h debrecords.h
  27. HEADERS := $(addprefix apt-pkg/,$(HEADERS))
  28. # Private header files
  29. HEADERS+= strutl.h system.h
  30. include $(LIBRARY_H)