Makefile.inc 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # $OpenBSD: Makefile.inc,v 1.1 2016/11/06 14:59:15 zhuk Exp $
  2. # common stuff for all gcc ports
  3. # we assume each one defines a V variable.
  4. CATEGORIES= lang
  5. PERMIT_PACKAGE_CDROM=Yes
  6. COM= GNU compiler collection
  7. COMMENT= ${COM}: core C compiler
  8. COMMENT-main= ${COMMENT}
  9. COMMENT-libs= ${COM}: support libs
  10. COMMENT-c++ = ${COM}: C++ compiler
  11. COMMENT-estdc= ${COM}: C++ compiler library
  12. COMMENT-g77= ${COM}: f77 compiler
  13. COMMENT-f95= ${COM}: f95 compiler
  14. COMMENT-java= ${COM}: java compiler
  15. COMMENT-objc= ${COM}: obj C compiler
  16. COMMENT-ada= ${COM}: Ada compiler
  17. COMMENT-go= ${COM}: Go compiler
  18. PKGNAME?= gcc-${FULL_PKGVERSION}
  19. PKGNAME-libs?= gcc-libs-${FULL_PKGVERSION}
  20. PKGNAME-c++ ?= g++-${FULL_PKGVERSION}
  21. PKGNAME-estdc?= libstdc++-${FULL_PKGVERSION}
  22. PKGNAME-g77?= g77-${FULL_PKGVERSION}
  23. PKGNAME-f95?= g95-${FULL_PKGVERSION}
  24. PKGNAME-java?= gcj-${FULL_PKGVERSION}
  25. PKGNAME-objc?= gobjc-${FULL_PKGVERSION}
  26. PKGNAME-ada?= gnat-${FULL_PKGVERSION}
  27. PKGNAME-go?= gccgo-${FULL_PKGVERSION}
  28. DESCR-main ?= ${PORTSDIR}/lang/gcc/DESCR
  29. DESCR-libs ?= ${PORTSDIR}/lang/gcc/DESCR-libs
  30. DESCR-c++ ?= ${PORTSDIR}/lang/gcc/DESCR-c++
  31. DESCR-estdc ?= ${PORTSDIR}/lang/gcc/DESCR-estdc
  32. DESCR-g77 ?= ${PORTSDIR}/lang/gcc/DESCR-g77
  33. DESCR-f95 ?= ${PORTSDIR}/lang/gcc/DESCR-f95
  34. DESCR-java ?= ${PORTSDIR}/lang/gcc/DESCR-java
  35. DESCR-objc ?= ${PORTSDIR}/lang/gcc/DESCR-objc
  36. DESCR-ada ?= ${PORTSDIR}/lang/gcc/DESCR-ada
  37. DESCR-go ?= ${PORTSDIR}/lang/gcc/DESCR-go
  38. HOMEPAGE?= http://gcc.gnu.org/
  39. DIST_SUBDIR=gcc
  40. CONFIG=${MACHINE_ARCH}-unknown-openbsd${OSREV}
  41. SUBST_VARS+=CONFIG V