From 66c364eca183f8e1ed5fb56852275d5344e3d02a Mon Sep 17 00:00:00 2001 From: xtraeme Date: Mon, 8 Nov 2004 10:03:41 +0000 Subject: Convert xmame and xmess to use bsd.options.mk. Available options are: sdl opengl esound. sdl and opengl options are used to specify default display method, if none of them is specified, x11 is used as before. --- emulators/xmess/Makefile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'emulators/xmess') diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile index 51a4f080358..3ebb98aa753 100644 --- a/emulators/xmess/Makefile +++ b/emulators/xmess/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.60 2004/11/07 16:11:48 kristerw Exp $ +# $NetBSD: Makefile,v 1.61 2004/11/08 10:03:41 xtraeme Exp $ # DISTNAME= xmame-0.87 @@ -24,8 +24,7 @@ TARGET= ${PKGBASE} UNLIMIT_RESOURCES= datasize .include "../../mk/bsd.prefs.mk" - -BUILD_DEFS+= USE_ESOUND +.include "${.CURDIR}/../../emulators/xmame/options.mk" ROMPATH= ${PREFIX}/share/${TARGET} SPOOLDIR= ${VARBASE}/games/${TARGET} @@ -38,13 +37,6 @@ MAKE_FLAGS+= X11INC= X11LIB= # Network support is broken in xmame-0.85 #MAKE_FLAGS+= XMAME_NET=1 -.if !empty(USE_ESOUND:M[Yy][Ee][Ss]) -MAKE_FLAGS+= SOUND_ESOUND=1 -.include "../../audio/esound/buildlink3.mk" -.endif - -MAME_DISP_METHOD?= x11 - # Determine which CPU-specific code to use. .for MARCH in alpha m68k i386 ia64 mips MAME_CPU.${MARCH}?= ${MARCH} -- cgit v1.2.3