Makefile.inc 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile.inc,v 1.3 2014/01/17 19:46:21 juanfra Exp $
  2. # This directory contain every lzip project.
  3. # lzd isn't included due to the educational purpose of this and the author
  4. # doesn't recommend the use of lzd in production.
  5. CATEGORIES = archivers
  6. MAINTAINER = Juan Francisco Cantero Hurtado <juanfra@openbsd.org>
  7. MASTER_SITES ?= ${MASTER_SITE_SAVANNAH:=lzip/} \
  8. ${MASTER_SITE_SAVANNAH:=lzip/old/}
  9. # Upstream also releases the tarballs compressed with gz but to use the
  10. # lz version of the tarballs for the lzip project give us a quick and simple
  11. # test to detect problems with the lzip format on every OpenBSD platform.
  12. EXTRACT_SUFX ?= .tar.lz
  13. DIST_SUBDIR = lzip
  14. CONFIGURE_STYLE = simple
  15. CONFIGURE_ARGS += CC="${CC}" CXX="${CXX}" \
  16. CPPFLAGS="-I${LOCALBASE}/include" \
  17. LDFLAGS="-L${LOCALBASE}/lib" \
  18. CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
  19. --prefix=${PREFIX} \
  20. --infodir=${PREFIX}/info \
  21. --mandir=${PREFIX}/man
  22. .ifndef DEBUG
  23. INSTALL_TARGET ?= install-strip
  24. .endif
  25. TEST_TARGET = check