makefile 1.3 KB

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