]>
Commit | Line | Data |
---|---|---|
094a497d AL |
1 | # -*- make -*- |
2 | BASE=.. | |
3164dff9 | 3 | SUBDIR=apt-pkg |
094a497d AL |
4 | |
5 | # Header location | |
6 | SUBDIRS = deb contrib | |
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-pkg | |
e1b74f61 AL |
14 | MAJOR=2.0 |
15 | MINOR=0 | |
6f27a7fc | 16 | SLIBS=$(PTHREADLIB) |
094a497d AL |
17 | |
18 | # Source code for the contributed non-core things | |
19 | SOURCE = contrib/mmap.cc contrib/error.cc contrib/strutl.cc \ | |
17a10bf5 AL |
20 | contrib/configuration.cc contrib/progress.cc contrib/cmndline.cc \ |
21 | contrib/md5.cc | |
404ec98e | 22 | |
094a497d AL |
23 | # Source code for the main library |
24 | SOURCE+= pkgcache.cc version.cc fileutl.cc pkgcachegen.cc depcache.cc \ | |
25 | orderlist.cc tagfile.cc sourcelist.cc packagemanager.cc \ | |
0118833a | 26 | pkgrecords.cc algorithms.cc acquire.cc acquire-item.cc \ |
93bf083d | 27 | acquire-worker.cc acquire-method.cc init.cc templates.cc |
0118833a | 28 | |
094a497d | 29 | # Source code for the debian specific components |
d38b7b3d | 30 | SOURCE+= deb/deblistparser.cc deb/debrecords.cc deb/dpkgpm.cc deb/dpkginit.cc |
094a497d AL |
31 | |
32 | # Public apt-pkg header files | |
33 | HEADERS = algorithms.h depcache.h mmap.h pkgcachegen.h cacheiterators.h \ | |
34 | error.h orderlist.h sourcelist.h configuration.h fileutl.h \ | |
35 | packagemanager.h tagfile.h deblistparser.h init.h pkgcache.h \ | |
0118833a | 36 | version.h progress.h pkgrecords.h debrecords.h cmndline.h \ |
03e39e59 | 37 | acquire.h acquire-worker.h acquire-item.h acquire-method.h md5.h \ |
d38b7b3d | 38 | dpkgpm.h dpkginit.h |
0118833a | 39 | |
094a497d AL |
40 | HEADERS := $(addprefix apt-pkg/,$(HEADERS)) |
41 | ||
42 | # Private header files | |
43 | HEADERS+= strutl.h system.h | |
44 | ||
45 | include $(LIBRARY_H) |