makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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.3
  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 contrib/cdromutl.h
  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 clean.cc templates.cc \
  23. srcrecords.cc
  24. # Source code for the debian specific components
  25. SOURCE+= deb/deblistparser.cc deb/debrecords.cc deb/dpkgpm.cc deb/dpkginit.cc \
  26. deb/debsrcrecords.cc
  27. # Public apt-pkg header files
  28. HEADERS = algorithms.h depcache.h mmap.h pkgcachegen.h cacheiterators.h \
  29. error.h orderlist.h sourcelist.h configuration.h fileutl.h \
  30. packagemanager.h tagfile.h deblistparser.h init.h pkgcache.h \
  31. version.h progress.h pkgrecords.h debrecords.h cmndline.h \
  32. acquire.h acquire-worker.h acquire-item.h acquire-method.h md5.h \
  33. dpkgpm.h dpkginit.h cdromutl.h strutl.h clean.h srcrecords.h \
  34. debsrcrecords.h
  35. HEADERS := $(addprefix apt-pkg/,$(HEADERS))
  36. # Private header files
  37. HEADERS+= system.h
  38. include $(LIBRARY_H)