]>
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 | |
14 | MAJOR=2 | |
15 | MINOR=0.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 \ | |
404ec98e AL |
20 | contrib/configuration.cc contrib/progress.cc |
21 | ||
094a497d AL |
22 | # Source code for the main library |
23 | SOURCE+= pkgcache.cc version.cc fileutl.cc pkgcachegen.cc depcache.cc \ | |
24 | orderlist.cc tagfile.cc sourcelist.cc packagemanager.cc \ | |
f55ece0e | 25 | pkgrecords.cc algorithms.cc init.cc templates.cc |
094a497d AL |
26 | |
27 | # Source code for the debian specific components | |
f55ece0e | 28 | SOURCE+= deb/deblistparser.cc deb/debrecords.cc |
094a497d AL |
29 | |
30 | # Public apt-pkg header files | |
31 | HEADERS = algorithms.h depcache.h mmap.h pkgcachegen.h cacheiterators.h \ | |
32 | error.h orderlist.h sourcelist.h configuration.h fileutl.h \ | |
33 | packagemanager.h tagfile.h deblistparser.h init.h pkgcache.h \ | |
f55ece0e | 34 | version.h progress.h pkgrecords.h debrecords.h |
094a497d AL |
35 | HEADERS := $(addprefix apt-pkg/,$(HEADERS)) |
36 | ||
37 | # Private header files | |
38 | HEADERS+= strutl.h system.h | |
39 | ||
40 | include $(LIBRARY_H) |