makefile 492 B

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