summaryrefslogtreecommitdiff
path: root/emulators/darcnes/Makefile.common
blob: 9588b2ac1323f90b873be8430d19cc6d7ff34724 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile.common,v 1.9 2005/05/22 20:07:57 jlam Exp $

DISTNAME=	dn9b0401
CATEGORIES=	emulators
MASTER_SITES=	http://www.dridus.com/~nyef/darcnes/download/
EXTRACT_SUFX=	.tgz

HOMEPAGE=	http://www.dridus.com/~nyef/darcnes/

LICENSE=	no-commercial-use

WRKSRC=		${WRKDIR}/darcnes
USE_TOOLS+=	gmake
PATCHDIR=	${.CURDIR}/../../emulators/darcnes/patches
DISTINFO_FILE=	${.CURDIR}/../../emulators/darcnes/distinfo

# tool.c causes the sunpro acomp process to spin on the CPU.
NOT_FOR_COMPILER=	sunpro

.include "../../mk/bsd.prefs.mk"

.if ( ${OBJECT_FMT} == "a.out" )
MAKE_FLAGS+=	ASM_FLAGS=-DASM_UNDERBARS
MAKE_FLAGS+=	NO_MULTIPLE_COMMON_WARNING=-DNO_MULTIPLE_COMMON_WARNING
.endif

.if ( ${MACHINE_ARCH} == "i386" )
MAKE_FLAGS+=	MACH_TYPES=-DMACH_TYPES=\\\"types-i386.h\\\"
.else
MAKE_FLAGS+=	C_ONLY=-DC_ONLY
.endif