7 HEADER_TARGETDIRS = apt-pkg
9 # Bring in the default rules
10 include ../buildlib/defaults.mak
12 # The library name and version (indirectly used from init.h)
13 include ../buildlib/libversion.mak
19 SLIBS=$(PTHREADLIB) -lapt-pkg
20 APT_DOMAIN:=libapt-inst$(MAJOR)
21 LIBRARYDEPENDS=$(LIB)/libapt-pkg.so
23 # Source code for the contributed non-core things
24 SOURCE = contrib/extracttar.cc contrib/arfile.cc
26 # Source code for the main library
27 SOURCE+= filelist.cc dirstream.cc extract.cc deb/debfile.cc
30 HEADERS = extracttar.h arfile.h filelist.h extract.h \
33 HEADERS := $(addprefix apt-pkg/,$(HEADERS))