]>
Commit | Line | Data |
---|---|---|
1 | # -*- make -*- | |
2 | BASE=.. | |
3 | ||
4 | # Header location | |
5 | SUBDIRS = deb contrib | |
6 | HEADER_TARGETDIRS = apt-pkg | |
7 | ||
8 | # Bring in the default rules | |
9 | include ../buildlib/defaults.mak | |
10 | ||
11 | # The library name | |
12 | LIBRARY=apt-pkg | |
13 | MAJOR=2 | |
14 | MINOR=0.0 | |
15 | ||
16 | # Source code for the contributed non-core things | |
17 | SOURCE = contrib/mmap.cc contrib/error.cc contrib/strutl.cc \ | |
18 | contrib/configuration.cc contrib/progress.cc | |
19 | ||
20 | # Source code for the main library | |
21 | SOURCE+= pkgcache.cc version.cc fileutl.cc pkgcachegen.cc depcache.cc \ | |
22 | orderlist.cc tagfile.cc sourcelist.cc packagemanager.cc \ | |
23 | pkgrecords.cc algorithms.cc init.cc templates.cc | |
24 | ||
25 | # Source code for the debian specific components | |
26 | SOURCE+= deb/deblistparser.cc deb/debrecords.cc | |
27 | ||
28 | # Public apt-pkg header files | |
29 | HEADERS = algorithms.h depcache.h mmap.h pkgcachegen.h cacheiterators.h \ | |
30 | error.h orderlist.h sourcelist.h configuration.h fileutl.h \ | |
31 | packagemanager.h tagfile.h deblistparser.h init.h pkgcache.h \ | |
32 | version.h progress.h pkgrecords.h debrecords.h | |
33 | HEADERS := $(addprefix apt-pkg/,$(HEADERS)) | |
34 | ||
35 | # Private header files | |
36 | HEADERS+= strutl.h system.h | |
37 | ||
38 | include $(LIBRARY_H) |