summaryrefslogtreecommitdiff
path: root/emulators/xmame/patches/patch-aa
blob: 3fe4d3755d4b455b21b11c267ddbeda6ca41be69 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
$NetBSD: patch-aa,v 1.38 2006/01/22 18:37:13 kristerw Exp $

--- makefile.unix.orig	2006-01-22 11:08:05.000000000 +0100
+++ makefile.unix	2006-01-22 11:11:39.000000000 +0100
@@ -33,7 +33,7 @@
 ###########################################################################
 
 # Uncomment one of these.
-TARGET = mame
+# TARGET = mame
 # TARGET = mess
 # TARGET = mage
 # TARGET = mmsnd
@@ -97,7 +97,7 @@
 # just as well.  However, stay away from the `cc' Ultrix compiler if 
 # possible.
 
-CC	= gcc
+# CC	= gcc
 # CC    = cc
 # CC	= icc
 # CC	= c89
@@ -118,7 +118,7 @@
 
 # If you want to use whatever CFLAGS are currently set in your 
 # environment, then comment this out.
-CFLAGS =
+# CFLAGS =
 
 
 ###########################################################################
@@ -127,7 +127,7 @@
 ###########################################################################
 
 # GCC on x86
-CFLAGS = -O2
+# CFLAGS = -O2
 
 # GCC on x86 with some optimizations
 # CFLAGS = -O2 -mtune=i686 -fomit-frame-pointer -fstrength-reduce -ffast-math
@@ -183,16 +183,16 @@
   #########################################################################
   
   # Check for C89 + GNU extensions compliance.
-  CFLAGS += -std=gnu89
+  # CFLAGS += -std=gnu89
 
   # Show all warnings.
-  CFLAGS += -Wall
+  # CFLAGS += -Wall
 
   # Don't warn about unused variables.
-  CFLAGS += -Wno-unused
+  # CFLAGS += -Wno-unused
 
   # Warn about declarations after statements.
-  CFLAGS += -Wdeclaration-after-statement
+  # CFLAGS += -Wdeclaration-after-statement
 
   # Don't warn about code that might break strict aliasing rules. 
   # CFLAGS += -Wno-strict-aliasing
@@ -328,7 +328,7 @@
 ifeq ($(CC),icc)
 
   # Optimizations for the Intel compiler.
-  CFLAGS    = -O3 -rcd -Xa -ipo -ipo_obj
+  # CFLAGS    = -O3 -rcd -Xa -ipo -ipo_obj
 
 else
 ifeq ($(CC),sun-forte)
@@ -551,7 +551,7 @@
 ###########################################################################
 
 # i386, GNU asm
-MY_CPU = i386
+# MY_CPU = i386
 
 # i386, no asm -- needed for the Intel C++ compiler, which does not fully
 # understand GCC's inline assembly syntax, though you may still enable 
@@ -589,7 +589,7 @@
 ###########################################################################
 
 # Linux 
-ARCH  = linux
+# ARCH  = linux
 
 # FreeBSD
 # ARCH  = freebsd
@@ -732,7 +732,7 @@
 X11_MITSHM = 1
 
 # Use Xv extension for hardware scaling.
-X11_XV = 1
+# X11_XV = 1
 
 # Enable XFree86 DGA.  This also causes "make install" to set the suid bit 
 # on the executable.
@@ -756,8 +756,8 @@
 # X11LIB		= -L/usr/lib/X11
 
 # Standard location for XFree86
-X11INC		= -I/usr/X11R6/include
-X11LIB		= -L/usr/X11R6/lib
+# X11INC		= -I/usr/X11R6/include
+# X11LIB		= -L/usr/X11R6/lib
 
 # Standard location for Sun systems
 # X11INC		= -I/usr/openwin/include