]>
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 |
ad7e0941 DK |
12 | SLIBS = -lapt-pkg -lapt-inst -lapt-private $(BDBLIB) $(INTLLIBS) |
13 | LIB_MAKES = apt-pkg/makefile apt-inst/makefile apt-private/makefile | |
b2e465d6 | 14 | SOURCE = apt-ftparchive.cc cachedb.cc writer.cc contents.cc override.cc \ |
ce928105 | 15 | multicompress.cc sources.cc |
b2e465d6 AL |
16 | include $(PROGRAM_H) |
17 | else | |
18 | PROGRAM=apt-ftparchive | |
bacc49df | 19 | MESSAGE="Must have libdb to build apt-ftparchive" |
b2e465d6 | 20 | include $(FAIL_H) |
c9569a1e | 21 | endif # ifdef BDBLIB |