makefile 1.0 KB

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