c110b12190
ok martin@ espie@
55 lines
1.0 KiB
Makefile
55 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2005/09/26 08:59:06 aanriot Exp $
|
|
|
|
COMMENT= "Atmel AVR 8-bit RISC microcontrollers' XGCC"
|
|
|
|
V=3.4.5
|
|
FULL_VERSION=3.4-20050913
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
WANTLIB= c
|
|
DIST_SUBDIR=gcc
|
|
|
|
MAKE_GXX=No
|
|
MAKE_FORTRAN=No
|
|
MAKE_OBJC=No
|
|
MAKE_JAVA=No
|
|
MAKE_ADA=No
|
|
|
|
DISTNAME= gcc-${FULL_VERSION}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
PKGNAME= avr-gcc-${V}p1
|
|
|
|
MASTER_SITE_GCC= ftp://gcc.gnu.org/pub/gcc/ \
|
|
ftp://ftp.uvsq.fr/pub/gcc/ \
|
|
ftp://ftp.grolier.fr/pub/egcs/
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GCC:=snapshots/$(FULL_VERSION)/}
|
|
|
|
BUILD_DEPENDS+= ::devel/autoconf/2.13 \
|
|
:bison-*:devel/bison \
|
|
::devel/metaauto \
|
|
::devel/avr/binutils
|
|
|
|
LANGS=c,c++
|
|
CC=/usr/bin/gcc
|
|
CFLAGS=-O2 -g
|
|
|
|
CONFIGURE_ARGS+= \
|
|
--verbose \
|
|
--enable-languages=${LANGS} \
|
|
--enable-cpp
|
|
|
|
MAKE_FLAGS= LANGUAGES="c c++" CFLAGS="-I/usr/local/include"
|
|
MAKE_ENV= MACHINE_ARCH=avr
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
USE_GMAKE= Yes
|
|
YACC= bison
|
|
|
|
REGRESS_DEPENDS=::devel/dejagnu
|
|
|
|
.include <bsd.port.mk>
|