]> git.saurik.com Git - apt-legacy.git/blame - apt-inst/makefile
I am sick of that Package: error.
[apt-legacy.git] / apt-inst / makefile
CommitLineData
da6ee469
JF
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
14LIBEXT=
15#$(GLIBC_VER)$(LIBSTDCPP_VER)
16MAJOR=1.1
17MINOR=0
acdafb44 18SLIBS=$(PTHREADLIB) -lapt-pkg $(INTLLIBS)
da6ee469
JF
19APT_DOMAIN:=libapt-inst$(MAJOR)
20
21# Source code for the contributed non-core things
22SOURCE = contrib/extracttar.cc contrib/arfile.cc
23
24# Source code for the main library
25SOURCE+= filelist.cc database.cc dirstream.cc extract.cc \
26 deb/dpkgdb.cc deb/debfile.cc
27
28# Public header files
29HEADERS = extracttar.h arfile.h filelist.h database.h extract.h \
30 dpkgdb.h dirstream.h debfile.h
31
32HEADERS := $(addprefix apt-pkg/,$(HEADERS))
33include $(LIBRARY_H)