summaryrefslogtreecommitdiff
path: root/ftparchive/makefile
blob: e67272e1e8f016d2d0e9543fbe610f4c6d62fe8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- make -*-
BASE=..
SUBDIR=ftparchive

# Bring in the default rules
include ../buildlib/defaults.mak

# The apt-ftparchive program
ifdef BDBLIB
APT_DOMAIN:=apt-utils
PROGRAM=apt-ftparchive
SLIBS = -lapt-pkg -lapt-inst -lapt-private $(BDBLIB) $(INTLLIBS)
LIB_MAKES = apt-pkg/makefile apt-inst/makefile apt-private/makefile
SOURCE = apt-ftparchive.cc cachedb.cc writer.cc contents.cc override.cc \
         multicompress.cc sources.cc
include $(PROGRAM_H)
else
PROGRAM=apt-ftparchive
MESSAGE="Must have libdb to build apt-ftparchive"
include $(FAIL_H)
endif # ifdef BDBLIB