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 APT_DOMAIN:=libapt-pkg$(LIBAPTPKG_MAJOR)
30 SOURCE = $(wildcard *.cc */*.cc)
31 HEADERS = $(addprefix apt-pkg/,$(notdir $(wildcard *.h */*.h)))