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