* Build apt-ftparchive with libdb4.2 rather than libdb2
[apt.git] / ftparchive / makefile
0 / 20 (  0%)
CommitLineData
1# -*- make -*-
2BASE=..
3SUBDIR=ftparchive
4
5# Bring in the default rules
6include ../buildlib/defaults.mak
7
8# The apt-ftparchive program
9ifdef BDBLIB
10PROGRAM=apt-ftparchive
11SLIBS = -lapt-pkg -lapt-inst $(BDBLIB)
12LIB_MAKES = apt-pkg/makefile apt-inst/makefile
13SOURCE = apt-ftparchive.cc cachedb.cc writer.cc contents.cc override.cc \
14 multicompress.cc
15include $(PROGRAM_H)
16else
17PROGRAM=apt-ftparchive
18MESSAGE="Must have db2 to build apt-ftparchive"
19include $(FAIL_H)
20endif # ifdef BDBLIB