]> git.saurik.com Git - apt.git/blob - apt-pkg/makefile
Sync
[apt.git] / apt-pkg / makefile
1 # -*- make -*-
2 BASE=..
3 SUBDIR=apt-pkg
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
16
17 # Source code for the contributed non-core things
18 SOURCE = contrib/mmap.cc contrib/error.cc contrib/strutl.cc \
19 contrib/configuration.cc contrib/progress.cc
20
21 # Source code for the main library
22 SOURCE+= pkgcache.cc version.cc fileutl.cc pkgcachegen.cc depcache.cc \
23 orderlist.cc tagfile.cc sourcelist.cc packagemanager.cc \
24 pkgrecords.cc algorithms.cc init.cc templates.cc
25
26 # Source code for the debian specific components
27 SOURCE+= deb/deblistparser.cc deb/debrecords.cc
28
29 # Public apt-pkg header files
30 HEADERS = algorithms.h depcache.h mmap.h pkgcachegen.h cacheiterators.h \
31 error.h orderlist.h sourcelist.h configuration.h fileutl.h \
32 packagemanager.h tagfile.h deblistparser.h init.h pkgcache.h \
33 version.h progress.h pkgrecords.h debrecords.h
34 HEADERS := $(addprefix apt-pkg/,$(HEADERS))
35
36 # Private header files
37 HEADERS+= strutl.h system.h
38
39 include $(LIBRARY_H)