makefile 584 B

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