]>
Commit | Line | Data |
---|---|---|
b2e465d6 AL |
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 | |
c9569a1e | 9 | ifdef BDBLIB |
b2e465d6 | 10 | PROGRAM=apt-ftparchive |
8cd53bd4 | 11 | SLIBS = -lapt-pkg -lapt-inst $(BDBLIB) $(INTLLIBS) |
b2e465d6 AL |
12 | LIB_MAKES = apt-pkg/makefile apt-inst/makefile |
13 | SOURCE = apt-ftparchive.cc cachedb.cc writer.cc contents.cc override.cc \ | |
14 | multicompress.cc | |
15 | include $(PROGRAM_H) | |
16 | else | |
17 | PROGRAM=apt-ftparchive | |
18 | MESSAGE="Must have db2 to build apt-ftparchive" | |
19 | include $(FAIL_H) | |
c9569a1e | 20 | endif # ifdef BDBLIB |