2018-04-30 12:41:35 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2018/04/30 10:41:35 wiz Exp $
|
Initial import of ragge's version of pcc, version 0.9.8. This is the
latest version of the portable C compiler.
The compiler is based on the original Portable C Compiler by S. C.
Johnson, written in the late 70's. Even though much of the compiler
has been rewritten, some of the basics still remain.
The intention is to write a C99 compiler while still keeping it small,
simple, fast and understandable. I think of it as if it shall be able
to compile and run on PDP11 (even if it may not happen in reality).
But with this in mind it becomes important to think twice about what
algorithms are used.
The compiler is conceptually structured in two parts; pass1 which is
language-dependent, does parsing, typechecking and build trees, and
pass2 which is mostly language-independent.
About 50% of the frontend code and 80% of the backend code has been
rewritten. Most stuff is written by me, with the exception of the
data-flow analysis part and the SSA conversion code which is written
by Peter A Jonsson, and the Mips port that were written as part of a
project by undergraduate students at LTU.
As discussed at great length at EuroBSDcon 2007.
2007-09-15 11:43:32 +02:00
|
|
|
|
2011-04-10 12:46:45 +02:00
|
|
|
DISTNAME= pcc-1.0.0
|
Initial import of ragge's version of pcc, version 0.9.8. This is the
latest version of the portable C compiler.
The compiler is based on the original Portable C Compiler by S. C.
Johnson, written in the late 70's. Even though much of the compiler
has been rewritten, some of the basics still remain.
The intention is to write a C99 compiler while still keeping it small,
simple, fast and understandable. I think of it as if it shall be able
to compile and run on PDP11 (even if it may not happen in reality).
But with this in mind it becomes important to think twice about what
algorithms are used.
The compiler is conceptually structured in two parts; pass1 which is
language-dependent, does parsing, typechecking and build trees, and
pass2 which is mostly language-independent.
About 50% of the frontend code and 80% of the backend code has been
rewritten. Most stuff is written by me, with the exception of the
data-flow analysis part and the SSA conversion code which is written
by Peter A Jonsson, and the Mips port that were written as part of a
project by undergraduate students at LTU.
As discussed at great length at EuroBSDcon 2007.
2007-09-15 11:43:32 +02:00
|
|
|
CATEGORIES= lang
|
2017-01-19 19:52:01 +01:00
|
|
|
MASTER_SITES= ftp://pcc.ludd.ltu.se/pub/pcc-releases/
|
|
|
|
MASTER_SITES+= http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/
|
Initial import of ragge's version of pcc, version 0.9.8. This is the
latest version of the portable C compiler.
The compiler is based on the original Portable C Compiler by S. C.
Johnson, written in the late 70's. Even though much of the compiler
has been rewritten, some of the basics still remain.
The intention is to write a C99 compiler while still keeping it small,
simple, fast and understandable. I think of it as if it shall be able
to compile and run on PDP11 (even if it may not happen in reality).
But with this in mind it becomes important to think twice about what
algorithms are used.
The compiler is conceptually structured in two parts; pass1 which is
language-dependent, does parsing, typechecking and build trees, and
pass2 which is mostly language-independent.
About 50% of the frontend code and 80% of the backend code has been
rewritten. Most stuff is written by me, with the exception of the
data-flow analysis part and the SSA conversion code which is written
by Peter A Jonsson, and the Mips port that were written as part of a
project by undergraduate students at LTU.
As discussed at great length at EuroBSDcon 2007.
2007-09-15 11:43:32 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2007-09-22 00:55:46 +02:00
|
|
|
MAINTAINER= reed@reedmedia.net
|
2008-02-09 15:53:14 +01:00
|
|
|
HOMEPAGE= http://pcc.ludd.ltu.se/
|
Initial import of ragge's version of pcc, version 0.9.8. This is the
latest version of the portable C compiler.
The compiler is based on the original Portable C Compiler by S. C.
Johnson, written in the late 70's. Even though much of the compiler
has been rewritten, some of the basics still remain.
The intention is to write a C99 compiler while still keeping it small,
simple, fast and understandable. I think of it as if it shall be able
to compile and run on PDP11 (even if it may not happen in reality).
But with this in mind it becomes important to think twice about what
algorithms are used.
The compiler is conceptually structured in two parts; pass1 which is
language-dependent, does parsing, typechecking and build trees, and
pass2 which is mostly language-independent.
About 50% of the frontend code and 80% of the backend code has been
rewritten. Most stuff is written by me, with the exception of the
data-flow analysis part and the SSA conversion code which is written
by Peter A Jonsson, and the Mips port that were written as part of a
project by undergraduate students at LTU.
As discussed at great length at EuroBSDcon 2007.
2007-09-15 11:43:32 +02:00
|
|
|
COMMENT= Portable C compiler
|
|
|
|
|
2010-03-17 20:26:54 +01:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-arm* NetBSD-*-i386 NetBSD-*-mips* \
|
|
|
|
NetBSD-*-powerpc NetBSD-*-sparc64 NetBSD-*-vax \
|
2011-10-31 12:55:51 +01:00
|
|
|
NetBSD-*-x86_64 \
|
2010-03-17 20:26:54 +01:00
|
|
|
OpenBSD-*-i386 OpenBSD-*-vax \
|
|
|
|
OpenBSD-*-powerpc OpenBSD-*-sparc64 \
|
2011-04-10 12:46:45 +02:00
|
|
|
MirBSD-*-i386 \
|
2010-03-17 20:26:54 +01:00
|
|
|
Darwin-*-i386 Darwin-*-powerpc \
|
|
|
|
FreeBSD-*-i386 \
|
|
|
|
Linux-*-i386 Linux-*-powerpc
|
|
|
|
|
2007-10-10 15:15:59 +02:00
|
|
|
USE_TOOLS+= lex yacc
|
2009-08-01 22:37:05 +02:00
|
|
|
# XXX For some reason building with bmake fails randomly.
|
|
|
|
USE_TOOLS+= gmake
|
Initial import of ragge's version of pcc, version 0.9.8. This is the
latest version of the portable C compiler.
The compiler is based on the original Portable C Compiler by S. C.
Johnson, written in the late 70's. Even though much of the compiler
has been rewritten, some of the basics still remain.
The intention is to write a C99 compiler while still keeping it small,
simple, fast and understandable. I think of it as if it shall be able
to compile and run on PDP11 (even if it may not happen in reality).
But with this in mind it becomes important to think twice about what
algorithms are used.
The compiler is conceptually structured in two parts; pass1 which is
language-dependent, does parsing, typechecking and build trees, and
pass2 which is mostly language-independent.
About 50% of the frontend code and 80% of the backend code has been
rewritten. Most stuff is written by me, with the exception of the
data-flow analysis part and the SSA conversion code which is written
by Peter A Jonsson, and the Mips port that were written as part of a
project by undergraduate students at LTU.
As discussed at great length at EuroBSDcon 2007.
2007-09-15 11:43:32 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-11-03 23:38:48 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
Initial import of ragge's version of pcc, version 0.9.8. This is the
latest version of the portable C compiler.
The compiler is based on the original Portable C Compiler by S. C.
Johnson, written in the late 70's. Even though much of the compiler
has been rewritten, some of the basics still remain.
The intention is to write a C99 compiler while still keeping it small,
simple, fast and understandable. I think of it as if it shall be able
to compile and run on PDP11 (even if it may not happen in reality).
But with this in mind it becomes important to think twice about what
algorithms are used.
The compiler is conceptually structured in two parts; pass1 which is
language-dependent, does parsing, typechecking and build trees, and
pass2 which is mostly language-independent.
About 50% of the frontend code and 80% of the backend code has been
rewritten. Most stuff is written by me, with the exception of the
data-flow analysis part and the SSA conversion code which is written
by Peter A Jonsson, and the Mips port that were written as part of a
project by undergraduate students at LTU.
As discussed at great length at EuroBSDcon 2007.
2007-09-15 11:43:32 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|