freebsd-ports/devel/csmith/Makefile
Eitan Adler 9481f2221d - update to 2.1
- remove build patches

New features in this release:

- By default, functions and global variables are marked as "static" permitting compilers to optimize more aggressivELY IN SOme cases.
- We now try harder to get auto-vectorizers and other loop optimizers in trouble by generating code that is more idiomatic and therefore more likely to be optimized. In particular, array indices are in-bounds by construction instead of by using % operators.
- Unions are supported.
- The comma operator is supported, as in x = (y, 1, z, 3).
- Embedded assignments are supported, as in x = 1 + (y = z).
- The pre/post increment/decrement operators are supported.
- A --no-safe-math mode was added, which avoids calling the safe math wrappers. This is useful when trying to crash compilers but the resulting executables should not be run since they are very likely to have undefined behavior.

Feature safe:	yes
2011-11-23 05:33:29 +00:00

27 lines
556 B
Makefile

# New ports collection makefile for: csmith
# Date created: 2011-10-25
# Whom: Eitan Adler <eadler@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= csmith
PORTVERSION= 2.1.0
CATEGORIES= devel
MASTER_SITES= http://embed.cs.utah.edu/csmith/
MAINTAINER= eadler@FreeBSD.org
COMMENT= Generates random C programs that conform to the C99 standard
LICENSE= BSD
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf
CONFIGURE_ARGS= --docdir=${DOCSDIR}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_JOBS_SAFE= yes
.include <bsd.port.mk>