]> git.saurik.com Git - apt.git/blob - apt-pkg/makefile
Fixed pthread test
[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.0
15 MINOR=0
16 SLIBS=$(PTHREADLIB)
17
18 # Source code for the contributed non-core things
19 SOURCE = contrib/mmap.cc contrib/error.cc contrib/strutl.cc \
20 contrib/configuration.cc contrib/progress.cc contrib/cmndline.cc
21
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 \
25 pkgrecords.cc algorithms.cc acquire.cc acquire-item.cc \
26 acquire-worker.cc init.cc templates.cc
27
28 # Source code for the debian specific components
29 SOURCE+= deb/deblistparser.cc deb/debrecords.cc
30
31 # Public apt-pkg header files
32 HEADERS = 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 \
35 version.h progress.h pkgrecords.h debrecords.h cmndline.h \
36 acquire.h acquire-worker.h acquire-item.h
37
38 HEADERS := $(addprefix apt-pkg/,$(HEADERS))
39
40 # Private header files
41 HEADERS+= strutl.h system.h
42
43 include $(LIBRARY_H)