]> git.saurik.com Git - apt.git/blame - apt-pkg/makefile
Sync
[apt.git] / apt-pkg / makefile
CommitLineData
094a497d
AL
1# -*- make -*-
2BASE=..
3164dff9 3SUBDIR=apt-pkg
094a497d
AL
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
e1b74f61
AL
14MAJOR=2.0
15MINOR=0
6f27a7fc 16SLIBS=$(PTHREADLIB)
094a497d
AL
17
18# Source code for the contributed non-core things
19SOURCE = contrib/mmap.cc contrib/error.cc contrib/strutl.cc \
08e8f724 20 contrib/configuration.cc contrib/progress.cc contrib/cmndline.cc
404ec98e 21
094a497d
AL
22# Source code for the main library
23SOURCE+= pkgcache.cc version.cc fileutl.cc pkgcachegen.cc depcache.cc \
24 orderlist.cc tagfile.cc sourcelist.cc packagemanager.cc \
0118833a 25 pkgrecords.cc algorithms.cc acquire.cc acquire-item.cc \
93bf083d 26 acquire-worker.cc acquire-method.cc init.cc templates.cc
0118833a 27
094a497d 28# Source code for the debian specific components
f55ece0e 29SOURCE+= deb/deblistparser.cc deb/debrecords.cc
094a497d
AL
30
31# Public apt-pkg header files
32HEADERS = algorithms.h depcache.h mmap.h pkgcachegen.h cacheiterators.h \
33 error.h orderlist.h sourcelist.h configuration.h fileutl.h \
34 packagemanager.h tagfile.h deblistparser.h init.h pkgcache.h \
0118833a 35 version.h progress.h pkgrecords.h debrecords.h cmndline.h \
93bf083d 36 acquire.h acquire-worker.h acquire-item.h acquire-method.h
0118833a 37
094a497d
AL
38HEADERS := $(addprefix apt-pkg/,$(HEADERS))
39
40# Private header files
41HEADERS+= strutl.h system.h
42
43include $(LIBRARY_H)