]> git.saurik.com Git - apt.git/blob - apt-inst/makefile
merged from lp:~donkult/apt/sid
[apt.git] / apt-inst / makefile
1 # -*- make -*-
2 BASE=..
3 SUBDIR=apt-inst
4
5 # Header location
6 SUBDIRS = contrib deb
7 HEADER_TARGETDIRS = apt-pkg
8
9 # Bring in the default rules
10 include ../buildlib/defaults.mak
11
12 # The library name and version (indirectly used from init.h)
13 include ../buildlib/libversion.mak
14
15 # The library name
16 LIBRARY=apt-inst
17 MAJOR=1.2
18 MINOR=0
19 SLIBS=$(PTHREADLIB) -lapt-pkg
20 APT_DOMAIN:=libapt-inst$(MAJOR)
21
22 # Source code for the contributed non-core things
23 SOURCE = contrib/extracttar.cc contrib/arfile.cc
24
25 # Source code for the main library
26 SOURCE+= filelist.cc database.cc dirstream.cc extract.cc \
27 deb/dpkgdb.cc deb/debfile.cc
28
29 # Public header files
30 HEADERS = extracttar.h arfile.h filelist.h database.h extract.h \
31 dpkgdb.h dirstream.h debfile.h
32
33 HEADERS := $(addprefix apt-pkg/,$(HEADERS))
34 include $(LIBRARY_H)