makefile 717 B

1234567891011121314151617181920212223242526272829303132
  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.1
  12. MINOR=0
  13. SLIBS=$(PTHREADLIB) -lapt-pkg
  14. APT_DOMAIN:=libapt-inst$(MAJOR)
  15. # Source code for the contributed non-core things
  16. SOURCE = contrib/extracttar.cc contrib/arfile.cc
  17. # Source code for the main library
  18. SOURCE+= filelist.cc database.cc dirstream.cc extract.cc \
  19. deb/dpkgdb.cc deb/debfile.cc
  20. # Public header files
  21. HEADERS = extracttar.h arfile.h filelist.h database.h extract.h \
  22. dpkgdb.h dirstream.h debfile.h
  23. HEADERS := $(addprefix apt-pkg/,$(HEADERS))
  24. include $(LIBRARY_H)