]> git.saurik.com Git - apt.git/blame_incremental - apt-pkg/makefile
Merge branch 'debian/sid' into bugfix/update-progress-reporting
[apt.git] / apt-pkg / makefile
... / ...
CommitLineData
1# -*- make -*-
2BASE=..
3SUBDIR=apt-pkg
4
5# Header location
6SUBDIRS = deb edsp contrib
7HEADER_TARGETDIRS = apt-pkg
8
9# Bring in the default rules
10include ../buildlib/defaults.mak
11
12# The library name and version (indirectly used from init.h)
13include ../buildlib/libversion.mak
14
15LIBRARY=apt-pkg
16MAJOR=$(LIBAPTPKG_MAJOR)
17MINOR=$(LIBAPTPKG_RELEASE)
18SLIBS=$(PTHREADLIB) $(INTLLIBS) -lutil -ldl
19ifeq ($(HAVE_ZLIB),yes)
20SLIBS+= -lz
21endif
22ifeq ($(HAVE_BZ2),yes)
23SLIBS+= -lbz2
24endif
25ifeq ($(HAVE_LZMA),yes)
26SLIBS+= -llzma
27endif
28APT_DOMAIN:=libapt-pkg$(LIBAPTPKG_MAJOR)
29
30SOURCE = $(wildcard *.cc */*.cc)
31HEADERS = $(addprefix apt-pkg/,$(notdir $(wildcard *.h */*.h)))
32
33include $(LIBRARY_H)