4a0981f2bc882b055ea71a1e4932a3daca0ec981
[ntk/apt.git] / apt-inst / makefile
1 # -*- make -*-
2 BASE=..
3 SUBDIR=apt-inst
4
5 # Header location
6 SUBDIRS = contrib deb
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-inst
14 MAJOR=1.0
15 MINOR=0
16 SLIBS=$(PTHREADLIB)
17
18 # Source code for the contributed non-core things
19 SOURCE = contrib/extracttar.cc contrib/arfile.cc
20
21 # Source code for the main library
22 SOURCE+= filelist.cc database.cc dirstream.cc extract.cc \
23 deb/dpkgdb.cc deb/debfile.cc
24
25 # Public header files
26 HEADERS = extracttar.h arfile.h filelist.h database.h extract.h \
27 dpkgdb.h dirstream.h debfile.h
28
29 HEADERS := $(addprefix apt-pkg/,$(HEADERS))
30 include $(LIBRARY_H)