7 HEADER_TARGETDIRS = apt-pkg
9 # Bring in the default rules
10 include ../buildlib/defaults.mak
14 LIBEXT=$(GLIBC_VER)$(LIBSTDCPP_VER)
17 SLIBS=$(PTHREADLIB) -lapt-pkg $(INTLLIBS)
18 APT_DOMAIN:=libapt-inst$(MAJOR)
20 # Source code for the contributed non-core things
21 SOURCE = contrib/extracttar.cc contrib/arfile.cc
23 # Source code for the main library
24 SOURCE+= filelist.cc database.cc dirstream.cc extract.cc \
25 deb/dpkgdb.cc deb/debfile.cc
28 HEADERS = extracttar.h arfile.h filelist.h database.h extract.h \
29 dpkgdb.h dirstream.h debfile.h
31 HEADERS := $(addprefix apt-pkg/,$(HEADERS))