summaryrefslogtreecommitdiff
path: root/emulators/darcnes/Makefile.common
blob: 48d23e09288e85917c04db122b0d2b0027a5001b (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.3 2004/01/22 08:36:03 grant 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_BUILDLINK2=	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