Annotation of pkgsrc/cross/h8300-hms-gcc/Makefile, Revision 1.14
1.14 ! wiz 1: # $NetBSD: Makefile,v 1.13 2004/08/05 13:38:00 drochner Exp $
1.1 dmcmahil 2:
3: DISTNAME= gcc-core-3.1
4: PKGNAME= cross-h8300-hms-gcc-3.1
5: CATEGORIES= cross
6: MASTER_SITES= ftp://ftp.gnu.org/gnu/gcc/gcc-3.1/ \
7: ftp://sources.redhat.com/pub/newlib/
8: DISTFILES= ${DISTNAME}${EXTRACT_SUFX} newlib-1.10.0.tar.gz
9:
1.13 drochner 10: PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:=h8300-hms/}
1.1 dmcmahil 11: PATCHFILES= h8300-hms-gcc-3.1-1.patch
12: PATCH_DIST_ARGS= -d ${SRCDIR} -E -p1
13:
14: MAINTAINER= oishi@ims.ac.jp
15: HOMEPAGE= #empty
1.5 martti 16: COMMENT= GCC compiler for h8300-hms
1.1 dmcmahil 17:
1.2 jlam 18: DEPENDS+= cross-h8300-hms-binutils-[0-9]*:../../cross/h8300-hms-binutils
1.1 dmcmahil 19:
1.2 jlam 20: H8300_PREFIX= ${LOCALBASE}/libexec/cross-h8300-hms
21:
1.9 agc 22: WRKSRC= ${WRKDIR}/objdir
1.11 snj 23: USE_BUILDLINK3= yes
1.10 grant 24: USE_GNU_TOOLS+= make
1.1 dmcmahil 25: HAS_CONFIGURE= yes
1.2 jlam 26: CONFIGURE_ARGS+= --prefix=${H8300_PREFIX}
27: CONFIGURE_ARGS+= --infodir=${H8300_PREFIX}/gcc
1.1 dmcmahil 28: CONFIGURE_ARGS+= --target=h8300-hms
29: CONFIGURE_ARGS+= --enable-languages=c
30: CONFIGURE_ARGS+= --with-newlib
31: CONFIGURE_SCRIPT= ${SRCDIR}/configure
32: SRCDIR= ${WRKDIR}/gcc-3.1
1.14 ! wiz 33: BUILD_TARGET= CFLAGS="-O2 -fomit-frame-pointer" all
1.8 seb 34: INFO_DIR= ${H8300_PREFIX:S|${PREFIX}/||}/gcc
35: INFO_FILES= cpp.info cppinternals.info gcc.info gccint.info
1.1 dmcmahil 36:
1.12 wiz 37: GCC_REQD+= 2.8.0
1.6 grant 38:
1.1 dmcmahil 39: post-extract:
40: ${LN} -s ${WRKDIR}/newlib-1.10.0/newlib ${SRCDIR}/newlib
41: ${MKDIR} ${WRKSRC}
42:
43: post-install:
44: for f in h8300-hms-cpp h8300-hms-gcc \
45: h8300-hms-gccbug h8300-hms-gcov ; do \
1.2 jlam 46: ${LN} -s ${H8300_PREFIX}/bin/$$f ${PREFIX}/bin/$$f ; \
1.1 dmcmahil 47: done
48:
49: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>