]>
Commit | Line | Data |
---|---|---|
b2e465d6 AL |
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 | ||
a72d66d1 MV |
12 | # The library name and version (indirectly used from init.h) |
13 | include ../buildlib/libversion.mak | |
14 | ||
b2e465d6 AL |
15 | # The library name |
16 | LIBRARY=apt-inst | |
c77d6597 | 17 | MAJOR=1.5 |
b2e465d6 | 18 | MINOR=0 |
87b192a0 | 19 | SLIBS=$(PTHREADLIB) -lapt-pkg |
05eb7df0 | 20 | APT_DOMAIN:=libapt-inst$(MAJOR) |
564fcbf9 | 21 | LIBRARYDEPENDS=$(LIB)/libapt-pkg.so |
b2e465d6 AL |
22 | |
23 | # Source code for the contributed non-core things | |
24 | SOURCE = contrib/extracttar.cc contrib/arfile.cc | |
25 | ||
26 | # Source code for the main library | |
9c257550 | 27 | SOURCE+= filelist.cc dirstream.cc extract.cc deb/debfile.cc |
b2e465d6 AL |
28 | |
29 | # Public header files | |
9c257550 DK |
30 | HEADERS = extracttar.h arfile.h filelist.h extract.h \ |
31 | dirstream.h debfile.h | |
b2e465d6 AL |
32 | |
33 | HEADERS := $(addprefix apt-pkg/,$(HEADERS)) | |
34 | include $(LIBRARY_H) |