makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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.0
  12. MINOR=0
  13. SLIBS=$(PTHREADLIB)
  14. # Source code for the contributed non-core things
  15. SOURCE = contrib/mmap.cc contrib/error.cc contrib/strutl.cc \
  16. contrib/configuration.cc contrib/progress.cc contrib/cmndline.cc \
  17. contrib/md5.cc
  18. # Source code for the main library
  19. SOURCE+= pkgcache.cc version.cc fileutl.cc pkgcachegen.cc depcache.cc \
  20. orderlist.cc tagfile.cc sourcelist.cc packagemanager.cc \
  21. pkgrecords.cc algorithms.cc acquire.cc acquire-item.cc \
  22. acquire-worker.cc acquire-method.cc init.cc templates.cc
  23. # Source code for the debian specific components
  24. SOURCE+= deb/deblistparser.cc deb/debrecords.cc
  25. # Public apt-pkg header files
  26. HEADERS = algorithms.h depcache.h mmap.h pkgcachegen.h cacheiterators.h \
  27. error.h orderlist.h sourcelist.h configuration.h fileutl.h \
  28. packagemanager.h tagfile.h deblistparser.h init.h pkgcache.h \
  29. version.h progress.h pkgrecords.h debrecords.h cmndline.h \
  30. acquire.h acquire-worker.h acquire-item.h acquire-method.h md5.h
  31. HEADERS := $(addprefix apt-pkg/,$(HEADERS))
  32. # Private header files
  33. HEADERS+= strutl.h system.h
  34. include $(LIBRARY_H)