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
15 CXXFLAGS+=-DAPT_PKG_EXPOSE_STRING_VIEW
17 MAJOR=$(LIBAPTPKG_MAJOR)
18 MINOR=$(LIBAPTPKG_RELEASE)
19 SLIBS=$(PTHREADLIB) $(INTLLIBS) -lutil -ldl -lresolv
20 ifeq ($(HAVE_ZLIB),yes)
23 ifeq ($(HAVE_BZ2),yes)
26 ifeq ($(HAVE_LZMA),yes)
29 ifeq ($(HAVE_LZ4),yes)
32 APT_DOMAIN:=libapt-pkg$(LIBAPTPKG_MAJOR)
34 SOURCE = $(sort $(wildcard *.cc */*.cc))
35 HEADERS = $(addprefix apt-pkg/,$(notdir $(sort $(wildcard *.h */*.h))))