]> git.saurik.com Git - apt-legacy.git/blame - apt-inst/makefile.orig
Fix compilation of http when embedding into Cydia.
[apt-legacy.git] / apt-inst / makefile.orig
CommitLineData
acdafb44
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
0e5943eb
JF
12# The library name and version (indirectly used from init.h)
13include ../buildlib/libversion.mak
14
acdafb44
JF
15# The library name
16LIBRARY=apt-inst
acdafb44
JF
17MAJOR=1.1
18MINOR=0
0e5943eb 19SLIBS=$(PTHREADLIB) -lapt-pkg
acdafb44
JF
20APT_DOMAIN:=libapt-inst$(MAJOR)
21
22# Source code for the contributed non-core things
23SOURCE = contrib/extracttar.cc contrib/arfile.cc
24
25# Source code for the main library
26SOURCE+= filelist.cc database.cc dirstream.cc extract.cc \
27 deb/dpkgdb.cc deb/debfile.cc
28
29# Public header files
30HEADERS = extracttar.h arfile.h filelist.h database.h extract.h \
31 dpkgdb.h dirstream.h debfile.h
32
33HEADERS := $(addprefix apt-pkg/,$(HEADERS))
34include $(LIBRARY_H)