openbsd-ports/lang/gcc/Makefile.inc
pascal 76c4d2cea0 - add Go support (only tested on amd64, but I'd be surprised if it broke
anywhere else.  The only thing not supported yet is tracing using ptrace(2).
- clean up Makefile and restructure a bit
- VMEM_WARNING when -java is built
- some minor PLIST tweaks

ok espie@
2011-11-19 22:19:53 +00:00

50 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile.inc,v 1.12 2011/11/19 22:19:53 pascal Exp $
# common stuff for all gcc ports
# we assume each one defines a V variable.
CATEGORIES= lang
PERMIT_PACKAGE_FTP=Yes
PERMIT_DISTFILES_FTP=Yes
PERMIT_PACKAGE_CDROM=Yes
PERMIT_DISTFILES_CDROM=Yes
COM= GNU compiler collection
COMMENT= ${COM}: core C compiler
COMMENT-main= ${COMMENT}
COMMENT-c++ = ${COM}: C++ compiler
COMMENT-estdc= ${COM}: C++ compiler library
COMMENT-g77= ${COM}: f77 compiler
COMMENT-f95= ${COM}: f95 compiler
COMMENT-java= ${COM}: java compiler
COMMENT-objc= ${COM}: obj C compiler
COMMENT-ada= ${COM}: Ada compiler
COMMENT-go= ${COM}: Go compiler
PKGNAME?= gcc-${FULL_PKGVERSION}
PKGNAME-c++ ?= g++-${FULL_PKGVERSION}
PKGNAME-estdc?= libstdc++-${FULL_PKGVERSION}
PKGNAME-g77?= g77-${FULL_PKGVERSION}
PKGNAME-f95?= g95-${FULL_PKGVERSION}
PKGNAME-java?= gcj-${FULL_PKGVERSION}
PKGNAME-objc?= gobjc-${FULL_PKGVERSION}
PKGNAME-ada?= gnat-${FULL_PKGVERSION}
PKGNAME-go?= gccgo-${FULL_PKGVERSION}
DESCR-main ?= ${PORTSDIR}/lang/gcc/DESCR
DESCR-c++ ?= ${PORTSDIR}/lang/gcc/DESCR-c++
DESCR-estdc ?= ${PORTSDIR}/lang/gcc/DESCR-estdc
DESCR-g77 ?= ${PORTSDIR}/lang/gcc/DESCR-g77
DESCR-f95 ?= ${PORTSDIR}/lang/gcc/DESCR-f95
DESCR-java ?= ${PORTSDIR}/lang/gcc/DESCR-java
DESCR-objc ?= ${PORTSDIR}/lang/gcc/DESCR-objc
DESCR-ada ?= ${PORTSDIR}/lang/gcc/DESCR-ada
DESCR-go ?= ${PORTSDIR}/lang/gcc/DESCR-go
HOMEPAGE?= http://gcc.gnu.org/
DIST_SUBDIR=gcc
CONFIG=${MACHINE_ARCH}-unknown-openbsd${OSREV}
SUBST_VARS+=CONFIG V