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