]> git.saurik.com Git - apt.git/blame - apt-inst/makefile
Merge bzip2-debs branch
[apt.git] / apt-inst / makefile
CommitLineData
b2e465d6
AL
1# -*- make -*-
2BASE=..
3SUBDIR=apt-inst
4
5# Header location
6SUBDIRS = contrib deb
7HEADER_TARGETDIRS = apt-pkg
8
9# Bring in the default rules
10include ../buildlib/defaults.mak
11
12# The library name
13LIBRARY=apt-inst
a5b7cd82 14LIBEXT=$(GLIBC_VER)$(LIBSTDCPP_VER)
b21c0438 15MAJOR=1.1
b2e465d6 16MINOR=0
87b192a0 17SLIBS=$(PTHREADLIB) -lapt-pkg
05eb7df0 18APT_DOMAIN:=libapt-inst$(MAJOR)
b2e465d6
AL
19
20# Source code for the contributed non-core things
21SOURCE = contrib/extracttar.cc contrib/arfile.cc
22
23# Source code for the main library
24SOURCE+= filelist.cc database.cc dirstream.cc extract.cc \
25 deb/dpkgdb.cc deb/debfile.cc
26
27# Public header files
28HEADERS = extracttar.h arfile.h filelist.h database.h extract.h \
29 dpkgdb.h dirstream.h debfile.h
30
31HEADERS := $(addprefix apt-pkg/,$(HEADERS))
32include $(LIBRARY_H)