]> git.saurik.com Git - apt.git/blob - ftparchive/makefile
Add support for writing by-hash dirs in apt-ftparchive
[apt.git] / ftparchive / makefile
1 # -*- make -*-
2 BASE=..
3 SUBDIR=ftparchive
4
5 # Bring in the default rules
6 include ../buildlib/defaults.mak
7
8 # The apt-ftparchive program
9 ifdef BDBLIB
10 APT_DOMAIN:=apt-utils
11 PROGRAM=apt-ftparchive
12 SLIBS = -lapt-pkg -lapt-inst -lapt-private $(BDBLIB) $(INTLLIBS)
13 LIB_MAKES = apt-pkg/makefile apt-inst/makefile apt-private/makefile
14 SOURCE = apt-ftparchive.cc cachedb.cc writer.cc contents.cc override.cc \
15 multicompress.cc sources.cc byhash.cc
16 include $(PROGRAM_H)
17 else
18 PROGRAM=apt-ftparchive
19 MESSAGE="Must have libdb to build apt-ftparchive"
20 include $(FAIL_H)
21 endif # ifdef BDBLIB