]>
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 | |
63d3141a | 14 | MAJOR=2.7 |
6321777b | 15 | MINOR=2 |
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 | 20 | contrib/configuration.cc contrib/progress.cc contrib/cmndline.cc \ |
204fbdcc | 21 | contrib/md5.cc contrib/cdromutl.cc contrib/crc-16.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 \ |
c9a64a4d | 27 | acquire-worker.cc acquire-method.cc init.cc clean.cc \ |
2d11135a | 28 | srcrecords.cc cachefile.cc |
0118833a | 29 | |
1bc849af | 30 | # Source code for the debian specific components |
11e7af84 AL |
31 | SOURCE+= deb/deblistparser.cc deb/debrecords.cc deb/dpkgpm.cc deb/dpkginit.cc \ |
32 | deb/debsrcrecords.cc | |
094a497d AL |
33 | |
34 | # Public apt-pkg header files | |
35 | HEADERS = algorithms.h depcache.h mmap.h pkgcachegen.h cacheiterators.h \ | |
36 | error.h orderlist.h sourcelist.h configuration.h fileutl.h \ | |
37 | packagemanager.h tagfile.h deblistparser.h init.h pkgcache.h \ | |
0118833a | 38 | version.h progress.h pkgrecords.h debrecords.h cmndline.h \ |
03e39e59 | 39 | acquire.h acquire-worker.h acquire-item.h acquire-method.h md5.h \ |
11e7af84 | 40 | dpkgpm.h dpkginit.h cdromutl.h strutl.h clean.h srcrecords.h \ |
204fbdcc | 41 | debsrcrecords.h cachefile.h crc-16.h |
0118833a | 42 | |
094a497d AL |
43 | HEADERS := $(addprefix apt-pkg/,$(HEADERS)) |
44 | ||
45 | # Private header files | |
cdcc6d34 | 46 | HEADERS+= system.h |
094a497d AL |
47 | |
48 | include $(LIBRARY_H) |