]> git.saurik.com Git - apt.git/blame_incremental - apt-pkg/makefile
More Solaris fixes
[apt.git] / apt-pkg / makefile
... / ...
CommitLineData
1# -*- make -*-
2BASE=..
3SUBDIR=apt-pkg
4
5# Header location
6SUBDIRS = deb contrib
7HEADER_TARGETDIRS = apt-pkg
8
9# Bring in the default rules
10include ../buildlib/defaults.mak
11
12# The library name
13LIBRARY=apt-pkg
14MAJOR=2.6
15MINOR=0
16SLIBS=$(PTHREADLIB)
17
18# Source code for the contributed non-core things
19SOURCE = contrib/mmap.cc contrib/error.cc contrib/strutl.cc \
20 contrib/configuration.cc contrib/progress.cc contrib/cmndline.cc \
21 contrib/md5.cc contrib/cdromutl.cc contrib/crc-16.cc
22
23# Source code for the main library
24SOURCE+= pkgcache.cc version.cc fileutl.cc pkgcachegen.cc depcache.cc \
25 orderlist.cc tagfile.cc sourcelist.cc packagemanager.cc \
26 pkgrecords.cc algorithms.cc acquire.cc acquire-item.cc \
27 acquire-worker.cc acquire-method.cc init.cc clean.cc \
28 srcrecords.cc cachefile.cc
29
30# Source code for the debian specific components
31SOURCE+= deb/deblistparser.cc deb/debrecords.cc deb/dpkgpm.cc deb/dpkginit.cc \
32 deb/debsrcrecords.cc
33
34# Public apt-pkg header files
35HEADERS = 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 \
38 version.h progress.h pkgrecords.h debrecords.h cmndline.h \
39 acquire.h acquire-worker.h acquire-item.h acquire-method.h md5.h \
40 dpkgpm.h dpkginit.h cdromutl.h strutl.h clean.h srcrecords.h \
41 debsrcrecords.h cachefile.h crc-16.h
42
43HEADERS := $(addprefix apt-pkg/,$(HEADERS))
44
45# Private header files
46HEADERS+= system.h
47
48include $(LIBRARY_H)