makefile 675 B

12345678910111213141516171819202122232425262728293031
  1. # -*- make -*-
  2. BASE=..
  3. SUBDIR=apt-inst
  4. # Header location
  5. SUBDIRS = contrib deb
  6. HEADER_TARGETDIRS = apt-pkg
  7. # Bring in the default rules
  8. include ../buildlib/defaults.mak
  9. # The library name
  10. LIBRARY=apt-inst
  11. MAJOR=1.0
  12. MINOR=0
  13. SLIBS=$(PTHREADLIB)
  14. # Source code for the contributed non-core things
  15. SOURCE = contrib/extracttar.cc contrib/arfile.cc
  16. # Source code for the main library
  17. SOURCE+= filelist.cc database.cc dirstream.cc extract.cc \
  18. deb/dpkgdb.cc deb/debfile.cc
  19. # Public header files
  20. HEADERS = extracttar.h arfile.h filelist.h database.h extract.h \
  21. dpkgdb.h dirstream.h debfile.h
  22. HEADERS := $(addprefix apt-pkg/,$(HEADERS))
  23. include $(LIBRARY_H)