| 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 | PROGRAM=apt-ftparchive |
| 11 | SLIBS = -lapt-pkg -lapt-inst $(BDBLIB) |
| 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) |
| 20 | endif # ifdef BDBLIB |