summaryrefslogtreecommitdiff
path: root/emulators/darcnes/Makefile.common
blob: d76d7c7421d23c8f70991e991e7845e76e3672af (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
# $NetBSD: Makefile.common,v 1.4 2004/04/19 00:08:50 wiz 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_GNU_TOOLS+=	make
USE_BUILDLINK3=	yes
PATCHDIR=	${.CURDIR}/../../emulators/darcnes/patches
DISTINFO_FILE=	${.CURDIR}/../../emulators/darcnes/distinfo

.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