]>
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 | ||
12 | # The library name | |
13 | LIBRARY=apt-inst | |
a5b7cd82 | 14 | LIBEXT=$(GLIBC_VER)$(LIBSTDCPP_VER) |
b2e465d6 AL |
15 | MAJOR=1.0 |
16 | MINOR=0 | |
87b192a0 | 17 | SLIBS=$(PTHREADLIB) -lapt-pkg |
05eb7df0 | 18 | APT_DOMAIN:=libapt-inst$(MAJOR) |
b2e465d6 AL |
19 | |
20 | # Source code for the contributed non-core things | |
21 | SOURCE = contrib/extracttar.cc contrib/arfile.cc | |
22 | ||
23 | # Source code for the main library | |
24 | SOURCE+= filelist.cc database.cc dirstream.cc extract.cc \ | |
25 | deb/dpkgdb.cc deb/debfile.cc | |
26 | ||
27 | # Public header files | |
28 | HEADERS = extracttar.h arfile.h filelist.h database.h extract.h \ | |
29 | dpkgdb.h dirstream.h debfile.h | |
30 | ||
31 | HEADERS := $(addprefix apt-pkg/,$(HEADERS)) | |
32 | include $(LIBRARY_H) |