6 SUBDIRS = deb edsp contrib
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
16 MAJOR=$(LIBAPTPKG_MAJOR)
17 MINOR=$(LIBAPTPKG_RELEASE)
18 SLIBS=$(PTHREADLIB) $(INTLLIBS) -lutil -ldl -lresolv
19 ifeq ($(HAVE_ZLIB),yes)
22 ifeq ($(HAVE_BZ2),yes)
25 ifeq ($(HAVE_LZMA),yes)
28 ifeq ($(HAVE_LZ4),yes)
31 APT_DOMAIN:=libapt-pkg$(LIBAPTPKG_MAJOR)
33 SOURCE = $(wildcard *.cc */*.cc)
34 HEADERS = $(addprefix apt-pkg/,$(notdir $(wildcard *.h */*.h)))