summaryrefslogtreecommitdiff
path: root/emulators/darcnes/Makefile.common
diff options
context:
space:
mode:
authorwiz <wiz>2003-08-02 19:52:12 +0000
committerwiz <wiz>2003-08-02 19:52:12 +0000
commita782e71d27632e84a45c4159db9fdfbbbd92698a (patch)
treec955fb6ef44f177d5b28b2ff87803cbf92b0c361 /emulators/darcnes/Makefile.common
parentc218580390c80600b1ee151ff57d6836e9e1e4b8 (diff)
downloadpkgsrc-a782e71d27632e84a45c4159db9fdfbbbd92698a.tar.gz
Split out some code into Makefile.common to be used by darcnes-svgalib
in pkgsrc-wip. From Ben Collver.
Diffstat (limited to 'emulators/darcnes/Makefile.common')
-rw-r--r--emulators/darcnes/Makefile.common29
1 files changed, 29 insertions, 0 deletions
diff --git a/emulators/darcnes/Makefile.common b/emulators/darcnes/Makefile.common
new file mode 100644
index 00000000000..466a5a59ddd
--- /dev/null
+++ b/emulators/darcnes/Makefile.common
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile.common,v 1.1 2003/08/02 19:52:12 wiz Exp $
+
+DISTNAME= dn9b0401
+WRKSRC= ${WRKDIR}/darcnes
+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
+
+USE_GMAKE= yes
+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