]> git.saurik.com Git - apt.git/blame - ftparchive/makefile
act on various suggestions from cppcheck
[apt.git] / ftparchive / makefile
CommitLineData
b2e465d6
AL
1# -*- make -*-
2BASE=..
3SUBDIR=ftparchive
4
5# Bring in the default rules
6include ../buildlib/defaults.mak
7
8# The apt-ftparchive program
c9569a1e 9ifdef BDBLIB
53ec04bb 10APT_DOMAIN:=apt-utils
b2e465d6 11PROGRAM=apt-ftparchive
ad7e0941
DK
12SLIBS = -lapt-pkg -lapt-inst -lapt-private $(BDBLIB) $(INTLLIBS)
13LIB_MAKES = apt-pkg/makefile apt-inst/makefile apt-private/makefile
b2e465d6 14SOURCE = apt-ftparchive.cc cachedb.cc writer.cc contents.cc override.cc \
7852873a 15 multicompress.cc sources.cc byhash.cc
b2e465d6
AL
16include $(PROGRAM_H)
17else
18PROGRAM=apt-ftparchive
bacc49df 19MESSAGE="Must have libdb to build apt-ftparchive"
b2e465d6 20include $(FAIL_H)
c9569a1e 21endif # ifdef BDBLIB