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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
$NetBSD: patch-aa,v 1.39 2006/03/09 20:51:43 kristerw Exp $
--- makefile.unix.orig 2006-03-09 19:41:47.000000000 +0100
+++ makefile.unix 2006-03-09 19:46:38.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,13 +183,13 @@
#########################################################################
# 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
@@ -328,16 +328,16 @@
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)
#
# sun-forte given above is just an artifice to get us into this section
- CC = cc
+ # CC = cc
# uncomment to set compiler defaults oriented for maximum performance
- XOPT += -fast
+ # XOPT += -fast
# Choose one optimization level;
#XOPT += -xO0
@@ -346,7 +346,7 @@
#XOPT += -xO3
# -xO4 and above automatically inline
#XOPT += -xO4
- XOPT += -xO5
+ # XOPT += -xO5
# uncomment for code generation targeted to the local machine; this
# supplies -xarch, -xcpu, -xtarget. It also seems to cause an annoying
@@ -354,11 +354,11 @@
# older hardware, which apparently can't be disabled. As an alternative,
# the particular -xtarget for your system could be specified;
# -xtarget=ultra2/2300
- XTARGET += -native
+ # XTARGET += -native
#XTARGET += -xtarget=ultra2/2300
# uncomment to inline library math functions
- EXTRA_OPTS += -xlibmil
+ # EXTRA_OPTS += -xlibmil
######################################################
# Additional options for parallelization optimizations
@@ -374,7 +374,7 @@
# Sparc only, uncomment to do loop restructuring optimizations
# and speculative prefetch for v8plusa and above
- EXTRA_OPTS += -xdepend -xsafe=mem
+ #EXTRA_OPTS += -xdepend -xsafe=mem
#################################################
# Additional options for glx builds
@@ -384,14 +384,14 @@
# (libGLU dlopen() complains of missing name mangled symbols)
# GLCFLAGS += -DSUN_FORTE_DLOPEN_LIBCRUN='\"libCrun.so.1\"'
- CFLAGS= $(XOPT) $(XTARGET) $(XPARALLEL) $(EXTRA_OPTS)
- LDFLAGS=$(XOPT) $(XTARGET) $(XPARALLEL) $(EXTRA_OPTS)
+ #CFLAGS= $(XOPT) $(XTARGET) $(XPARALLEL) $(EXTRA_OPTS)
+ #LDFLAGS=$(XOPT) $(XTARGET) $(XPARALLEL) $(EXTRA_OPTS)
# uncomment for silence...
- CFLAGS += -erroff
+ #CFLAGS += -erroff
# Tell xmame that we really are in fact elf. If not supplied, SHARED_PREFIX
# is set causing dlopen()'s to fail.
- CFLAGS += -D__ELF__
+ #CFLAGS += -D__ELF__
endif
endif
endif
@@ -589,7 +589,7 @@
###########################################################################
# Linux
-ARCH = linux
+# ARCH = linux
# FreeBSD
# ARCH = freebsd
@@ -701,7 +701,7 @@
# use SDL.
# X11 (including Glide & OpenGL if enabled below)
-DISPLAY_METHOD = x11
+# DISPLAY_METHOD = x11
# SDL library
# DISPLAY_METHOD = SDL
@@ -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
|