blob: 859cf53c74b5417bace7261815e65df59f585900 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $NetBSD: Makefile.gcc,v 1.4 2002/05/25 18:45:54 dmcmahill Exp $
.include "../../mk/bsd.prefs.mk"
GCC_VERSION!= gcc --version
.if (${GCC_VERSION} != "2.95.3") || defined(${GCC_FORCE_BUILD})
BUILD_DEPENDS+= gcc>=2.95.3:../../lang/gcc
.if (${OPSYS} == SunOS)
CC= ${LOCALBASE}/bin/gcc
CPP= ${LOCALBASE}/bin/cpp
CXX= ${LOCALBASE}/bin/g++
F77= ${LOCALBASE}/bin/g77
PKG_FC= ${LOCALBASE}/bin/g77
.else
CC= ${LOCALBASE}/gcc-2.95.3/bin/cc
CPP= ${LOCALBASE}/gcc-2.95.3/bin/cpp
CXX= ${LOCALBASE}/gcc-2.95.3/bin/c++
F77= ${LOCALBASE}/gcc-2.95.3/bin/g77
PKG_FC= ${LOCALBASE}/gcc-2.95.3/bin/g77
.endif
.endif
|