Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= bochs |
8 |
PORTNAME= bochs |
9 |
PORTVERSION= 2.3.7 |
9 |
PORTVERSION= 2.4 |
10 |
PORTEPOCH= 2 |
10 |
PORTEPOCH= 2 |
11 |
CATEGORIES= emulators |
11 |
CATEGORIES= emulators |
12 |
MASTER_SITES= SF |
12 |
MASTER_SITES= SF |
Lines 14-65
Link Here
|
14 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= An IA-32 (x86) PC emulator that runs DOS, Win 95, and more |
15 |
COMMENT= An IA-32 (x86) PC emulator that runs DOS, Win 95, and more |
16 |
|
16 |
|
17 |
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir |
|
|
18 |
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir |
19 |
|
20 |
USE_GNOME= gnometarget |
21 |
USE_GMAKE= yes |
17 |
USE_GMAKE= yes |
22 |
USE_AUTOTOOLS= libtool:15 |
18 |
USE_AUTOTOOLS= libtool:15 |
23 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
19 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
24 |
CONFIGURE_ARGS= --disable-docbook |
20 |
CONFIGURE_ARGS= --disable-docbook |
25 |
|
21 |
|
26 |
OPTIONS= ACPI "Enable ACPI emulation" off \ |
22 |
OPTIONS= 1G_PAGES "Enable support for 1G pages in long mode" off \ |
|
|
23 |
A20_PIN "Enable support for A20 pin" on \ |
24 |
ACPI "Enable ACPI emulation" off \ |
27 |
AES "Enable support of AES CPU extensions" off \ |
25 |
AES "Enable support of AES CPU extensions" off \ |
|
|
26 |
ALIGN_CHECK "Enable alignment check support" on \ |
27 |
APIC "Enable APIC support" off \ |
28 |
ASSERT_CHECK "Enable BX_ASSERT checks" off \ |
28 |
CDROM "Enable CDROM support" on \ |
29 |
CDROM "Enable CDROM support" on \ |
29 |
CLGD54XX "Enable Cirrus Logic GD54xx video card" off \ |
30 |
CLGD54XX "Enable Cirrus Logic GD54xx video card" off \ |
30 |
DEBUGGER "Enable debugger and disassembler support" off \ |
31 |
CONF_MSRS "Enable configurable MSR registers support" on \ |
|
|
32 |
DAZ "Enable demornals-are-zeros support" off \ |
33 |
DEBUGGER "Enable debugger support" off \ |
31 |
DEBUGGER_X86 "Enable x86 hardware debugger" off \ |
34 |
DEBUGGER_X86 "Enable x86 hardware debugger" off \ |
|
|
35 |
DISASM "Enable disassemler support " on \ |
36 |
FAST_FUNCCALL "Enable fast function calls support (x86 only)" off \ |
32 |
FPU "Enable FPU emulator" on \ |
37 |
FPU "Enable FPU emulator" on \ |
|
|
38 |
GAMEPORT "Enable standard PC gameport support" off \ |
39 |
GDB_STUB "Enable GDB stub support" off \ |
40 |
GLOBAL_PAGES "Enable support for global pages in PDE/PTE" off \ |
33 |
IDLE_HACK "Keep Bochs from using all CPU time" off \ |
41 |
IDLE_HACK "Keep Bochs from using all CPU time" off \ |
34 |
IGNORE_BAD_MSR "Ignore unknown MSR references (don't panic)" off \ |
42 |
IGNORE_BADMSR "Ignore unknown MSR references (don't panic)" on \ |
|
|
43 |
INSTRUMENT "Enable support for instrumentation" off \ |
44 |
IODEBUG "Enable I/O interface to debugger" off \ |
45 |
LARGE_PAGES "Enable support for large (2M/4M) pages" on \ |
46 |
LOGGING "Enable logging" on \ |
47 |
LONG_PHY_ADDR "Enable support for physical address >= 32bit" off \ |
35 |
MTRR "Enable MTRR emulation (CPU level >= 6)" off \ |
48 |
MTRR "Enable MTRR emulation (CPU level >= 6)" off \ |
|
|
49 |
MISALIGNEDSSE "Enable misaligned SSE support" off \ |
50 |
MOVBE "Enable MOVBE intel Atom(R) instruction support" off \ |
36 |
MWAIT "Enable experimental MONITOR/MWAIT support" off \ |
51 |
MWAIT "Enable experimental MONITOR/MWAIT support" off \ |
37 |
NE2000 "Enable limited ne2000 support" on \ |
52 |
NE2000 "Enable limited ne2000 support" on \ |
38 |
NEW_PIT "Enable use of the new PIT model" on \ |
53 |
NEW_PIT "Enable use of the new PIT model" on \ |
39 |
OPTIMIZATIONS "Enable all safe speeed optimizations" on \ |
54 |
OPTIMIZATIONS "Enable all safe speeed optimizations" on \ |
|
|
55 |
PAE "Enable support for Physical Address Extensions" off \ |
40 |
PCI "Enable limited i440FX PCI support" on \ |
56 |
PCI "Enable limited i440FX PCI support" on \ |
|
|
57 |
POPCNT "Enable support for POPCNT instruction" off \ |
41 |
PLUGINS "Enable building dynamic loadable plugins" off \ |
58 |
PLUGINS "Enable building dynamic loadable plugins" off \ |
42 |
PNIC "Enable PCI pseudo NIC (network card) support" off \ |
59 |
PNIC "Enable PCI pseudo NIC (network card) support" off \ |
43 |
PORT_E9_HACK "Writes to port e9 go to console" on \ |
60 |
RAW_SERIAL "Use raw serial port access" off \ |
44 |
READLINE "Enable readline support in debugger" off \ |
61 |
READLINE "Enable readline support in debugger" off \ |
|
|
62 |
REPEAT_SPEED "Enable repeated IO and mem copy speedups" off \ |
45 |
RFB "Enable VNC server support in display" off \ |
63 |
RFB "Enable VNC server support in display" off \ |
46 |
SB16 "Enable Sound Blaster 16 emulation" on \ |
64 |
SB16 "Enable Sound Blaster 16 emulation" on \ |
47 |
SDL "Enable SDL display interface" off \ |
65 |
SDL "Enable SDL display interface" off \ |
|
|
66 |
SEP "Enable SYSENTER/SYSEXIT support" off \ |
48 |
SHOW_IPS "Enable logging of measured IPS" off \ |
67 |
SHOW_IPS "Enable logging of measured IPS" off \ |
49 |
SMP "Enable SMP simulation support (CPU level 6)" off \ |
68 |
SMP "Enable SMP simulation support (CPU level 6)" off \ |
50 |
SSE4 "Enable emulation of SSE4.2 instruction set" off \ |
69 |
SSE4 "Enable emulation of SSE4.2 instruction set" off \ |
51 |
SVGA "Enable SVGAlib support" off \ |
70 |
SVGA "Enable SVGAlib support" off \ |
52 |
TCACHE "Enable trace cache" on \ |
71 |
TCACHE "Enable trace cache" on \ |
53 |
TERM "Use text only, console based interface" off \ |
72 |
TERM "Use text only, console based interface" off \ |
54 |
USB "Enable limited i440FX PCI USB support" off \ |
73 |
USB "Enable limited USB UHCI support" off \ |
|
|
74 |
USB_OHCI "Enable limited USB OHCI support" off \ |
55 |
VBE "Enable VGA BIOS Extensions" on \ |
75 |
VBE "Enable VGA BIOS Extensions" on \ |
|
|
76 |
VME "Enable Virtual 8086 mode extensions" on \ |
77 |
VMX "Enable Virtialization extensions" off \ |
56 |
WX "Use WxWidgets display interface" off \ |
78 |
WX "Use WxWidgets display interface" off \ |
57 |
X11 "Use X11 display interface" on \ |
79 |
X11 "Use X11 display interface" on \ |
58 |
X86_64 "Enable AMD x86-64 support" off \ |
80 |
X86_64 "Enable AMD x86-64 support" off \ |
59 |
XPM "Enable XPM library support" off \ |
81 |
XPM "Enable XPM library support" off \ |
60 |
XSAVE "Enable support of XSAVE/XRSTOR CPU extensions" off |
82 |
XSAVE "Enable support of XSAVE/XRSTOR CPU extensions" off |
61 |
|
83 |
|
62 |
CFLAGS+= -fno-rtti -fno-exceptions -fomit-frame-pointer |
84 |
CFLAGS+= -fno-exceptions -fomit-frame-pointer |
|
|
85 |
CXXFLAGS+= -fno-rtti |
63 |
CPPFLAGS= -I${LOCALBASE}/include |
86 |
CPPFLAGS= -I${LOCALBASE}/include |
64 |
LDFLAGS= -L${LOCALBASE}/lib |
87 |
LDFLAGS= -L${LOCALBASE}/lib |
65 |
|
88 |
|
Lines 75-150
Link Here
|
75 |
CONFIGURE_ARGS+=--with-nogui |
98 |
CONFIGURE_ARGS+=--with-nogui |
76 |
.endif |
99 |
.endif |
77 |
|
100 |
|
|
|
101 |
.if defined(WITH_1G_PAGES) && defined(WITH_X86_64) |
102 |
CONFIGURE_ARGS+=--enable-1g-pages |
103 |
.else |
104 |
CONFIGURE_ARGS+=--disable-1g-pages |
105 |
.endif |
106 |
|
107 |
.if !defined(WITH_A20_PIN) |
108 |
CONFIGURE_ARGS+=--disable-a20-pin |
109 |
.else |
110 |
CONFIGURE_ARGS+=--enable-a20-pin |
111 |
.endif |
112 |
|
78 |
.if defined(WITH_ACPI) |
113 |
.if defined(WITH_ACPI) |
79 |
CONFIGURE_ARGS+=--enable-acpi |
114 |
CONFIGURE_ARGS+=--enable-acpi |
|
|
115 |
.else |
116 |
CONFIGURE_ARGS+=--disable-acpi |
80 |
.endif |
117 |
.endif |
81 |
|
118 |
|
82 |
.if defined(WITH_AES) |
119 |
.if defined(WITH_AES) |
83 |
CONFIGURE_ARGS+=--enable-aes |
120 |
CONFIGURE_ARGS+=--enable-aes |
|
|
121 |
.else |
122 |
CONFIGURE_ARGS+=--disable-aes |
123 |
.endif |
124 |
|
125 |
.if !defined(WITH_ALIGN_CHECK) |
126 |
CONFIGURE_ARGS+=--disable-alignment-check |
127 |
.else |
128 |
CONFIGURE_ARGS+=--enable-alignment-check |
129 |
.endif |
130 |
|
131 |
.if defined(WITH_APIC) |
132 |
CONFIGURE_ARGS+=--enable-apic |
133 |
.else |
134 |
CONFIGURE_ARGS+=--disable-apic |
84 |
.endif |
135 |
.endif |
85 |
|
136 |
|
86 |
.if defined(WITHOUT_CDROM) |
137 |
.if defined(WITH_ASSERT_CHECK) |
|
|
138 |
CONFIGURE_ARGS+=--enable-assert-checks |
139 |
.else |
140 |
CONFIGURE_ARGS+=--disable-assert-checks |
141 |
.endif |
142 |
|
143 |
.if !defined(WITH_CDROM) |
87 |
CONFIGURE_ARGS+=--disable-cdrom |
144 |
CONFIGURE_ARGS+=--disable-cdrom |
|
|
145 |
.else |
146 |
CONFIGURE_ARGS+=--enable-cdrom |
88 |
.endif |
147 |
.endif |
89 |
|
148 |
|
90 |
.if defined(WITH_CLGD54XX) |
149 |
.if defined(WITH_CLGD54XX) |
91 |
CONFIGURE_ARGS+=--enable-clgd54xx |
150 |
CONFIGURE_ARGS+=--enable-clgd54xx |
|
|
151 |
.else |
152 |
CONFIGURE_ARGS+=--disable-clgd54xx |
153 |
.endif |
154 |
|
155 |
.if !defined(WITH_CONF_MSRS) |
156 |
CONFIGURE_ARGS+=--disable-configurable-msrs |
157 |
.else |
158 |
CONFIGURE_ARGS+=--enable-configurable-msrs |
159 |
.endif |
160 |
|
161 |
.if defined(WITH_DAZ) |
162 |
CONFIGURE_ARGS+=--enable-daz |
163 |
.else |
164 |
CONFIGURE_ARGS+=--disable-daz |
92 |
.endif |
165 |
.endif |
93 |
|
166 |
|
94 |
.if defined(WITH_DEBUGGER) |
167 |
.if defined(WITH_DEBUGGER) |
95 |
CONFIGURE_ARGS+=--enable-debugger --enable-disasm |
168 |
CONFIGURE_ARGS+=--enable-debugger |
|
|
169 |
.else |
170 |
CONFIGURE_ARGS+=--disable-debugger |
96 |
.endif |
171 |
.endif |
97 |
|
172 |
|
98 |
.if defined(WITH_DEBUGGER_X86) |
173 |
.if defined(WITH_DEBUGGER_X86) |
99 |
CONFIGURE_ARGS+=--enable-x86-debugger |
174 |
CONFIGURE_ARGS+=--enable-x86-debugger |
|
|
175 |
.else |
176 |
CONFIGURE_ARGS+=--disable-x86-debugger |
100 |
.endif |
177 |
.endif |
101 |
|
178 |
|
102 |
.if defined(WITH_FPU) |
179 |
.if !defined(WITH_DISASM) |
|
|
180 |
CONFIGURE_ARGS+=--disable-disasm |
181 |
.else |
182 |
CONFIGURE_ARGS+=--enable-disasm |
183 |
.endif |
184 |
|
185 |
.if defined(WITH_FAST_FUNCCALL) |
186 |
CONFIGURE_ARGS+=--enable-fast-function-calls |
187 |
.else |
188 |
CONFIGURE_ARGS+=--disable-fast-function-calls |
189 |
.endif |
190 |
|
191 |
.if !defined(WITH_FPU) |
192 |
CONFIGURE_ARGS+=--disable-fpu |
193 |
.else |
103 |
CONFIGURE_ARGS+=--enable-fpu |
194 |
CONFIGURE_ARGS+=--enable-fpu |
104 |
.endif |
195 |
.endif |
105 |
|
196 |
|
|
|
197 |
.if defined(WITH_GAMEPORT) |
198 |
CONFIGURE_ARGS+=--enable-gameport |
199 |
.else |
200 |
CONFIGURE_ARGS+=--disable-gameport |
201 |
.endif |
202 |
|
203 |
.if defined(WITH_GDB_STUB) |
204 |
CONFIGURE_ARGS+=--enable-gdb-stub |
205 |
.else |
206 |
CONFIGURE_ARGS+=--disable-gdb-stub |
207 |
.endif |
208 |
|
209 |
.if defined(WITH_GLOBAL_PAGES) |
210 |
CONFIGURE_ARGS+=--enable-global-pages |
211 |
.else |
212 |
CONFIGURE_ARGS+=--disable-global-pages |
213 |
.endif |
214 |
|
106 |
.if defined(WITH_IDLE_HACK) |
215 |
.if defined(WITH_IDLE_HACK) |
107 |
CONFIGURE_ARGS+=--enable-idle-hack |
216 |
CONFIGURE_ARGS+=--enable-idle-hack |
|
|
217 |
.else |
218 |
CONFIGURE_ARGS+=--disable-idle-hack |
108 |
.endif |
219 |
.endif |
109 |
|
220 |
|
110 |
.if defined(WITH_IGNORE_BAD_MSR) |
221 |
.if !defined(WITH_IGNORE_BADMSR) |
|
|
222 |
CONFIGURE_ARGS+=--disable-ignore-bad-msr |
223 |
.else |
111 |
CONFIGURE_ARGS+=--enable-ignore-bad-msr |
224 |
CONFIGURE_ARGS+=--enable-ignore-bad-msr |
112 |
.endif |
225 |
.endif |
113 |
|
226 |
|
|
|
227 |
.if defined(WITH_INSTRUMENT) |
228 |
CONFIGURE_ARGS+=--enable-instrumentation |
229 |
.else |
230 |
CONFIGURE_ARGS+=--disable-instrumentation |
231 |
.endif |
232 |
|
233 |
.if defined(WITH_IODEBUG) |
234 |
CONFIGURE_ARGS+=--enable-iodebug |
235 |
.else |
236 |
CONFIGURE_ARGS+=--disable-iodebug |
237 |
.endif |
238 |
|
239 |
.if !defined(WITH_LARGE_PAGES) |
240 |
CONFIGURE_ARGS+=--disable-large-pages |
241 |
.else |
242 |
CONFIGURE_ARGS+=--enable-large-pages |
243 |
.endif |
244 |
|
245 |
.if !defined(WITH_LOGGING) |
246 |
CONFIGURE_ARGS+=--disable-logging |
247 |
.else |
248 |
CONFIGURE_ARGS+=--enable-logging |
249 |
.endif |
250 |
|
251 |
.if defined(WITH_LONG_PHY_ADDR) |
252 |
CONFIGURE_ARGS+=--enable-long-phy-address |
253 |
.else |
254 |
CONFIGURE_ARGS+=--disable-long-phy-address |
255 |
.endif |
256 |
|
114 |
.if defined(WITH_MTRR) |
257 |
.if defined(WITH_MTRR) |
115 |
CONFIGURE_ARGS+=--enable-mtrr |
258 |
CONFIGURE_ARGS+=--enable-mtrr |
|
|
259 |
.else |
260 |
CONFIGURE_ARGS+=--disable-mtrr |
261 |
.endif |
262 |
|
263 |
.if defined(WITH_MISALIGNDSSE) |
264 |
CONFIGURE_ARGS+=--enable-misaligned-sse |
265 |
.else |
266 |
CONFIGURE_ARGS+=--disable-misaligned-sse |
267 |
.endif |
268 |
|
269 |
.if defined(WITH_MOVBE) |
270 |
CONFIGURE_ARGS+=--enable-movbe |
271 |
.else |
272 |
CONFIGURE_ARGS+=--disable-movbe |
116 |
.endif |
273 |
.endif |
117 |
|
274 |
|
118 |
.if defined(WITH_MWAIT) |
275 |
.if defined(WITH_MWAIT) |
119 |
CONFIGURE_ARGS+=--enable-monitor-mwait |
276 |
CONFIGURE_ARGS+=--enable-monitor-mwait |
|
|
277 |
.else |
278 |
CONFIGURE_ARGS+=--disable-monitor-mwait |
120 |
.endif |
279 |
.endif |
121 |
|
280 |
|
122 |
.if defined(WITH_NE2000) |
281 |
.if defined(WITH_NE2000) |
123 |
CONFIGURE_ARGS+=--enable-ne2000 |
282 |
CONFIGURE_ARGS+=--enable-ne2000 |
|
|
283 |
.else |
284 |
CONFIGURE_ARGS+=--disable-ne2000 |
124 |
.endif |
285 |
.endif |
125 |
|
286 |
|
126 |
.if defined(WITHOUT_NEW_PIT) |
287 |
.if !defined(WITH_NEW_PIT) |
127 |
CONFIGURE_ARGS+=--disable-new-pit |
288 |
CONFIGURE_ARGS+=--disable-new-pit |
|
|
289 |
.else |
290 |
CONFIGURE_ARGS+=--enable-new-pit |
128 |
.endif |
291 |
.endif |
129 |
|
292 |
|
130 |
.if defined(WITH_OPTIMIZATIONS) |
293 |
.if defined(WITH_OPTIMIZATIONS) |
131 |
CONFIGURE_ARGS+=--enable-all-optimizations |
294 |
CONFIGURE_ARGS+=--enable-all-optimizations |
|
|
295 |
.else |
296 |
CONFIGURE_ARGS+=--disable-all-optimizations |
297 |
.endif |
298 |
|
299 |
.if defined(WITH_PAE) |
300 |
CONFIGURE_ARGS+=--enable-pae |
301 |
.else |
302 |
CONFIGURE_ARGS+=--disable-pae |
132 |
.endif |
303 |
.endif |
133 |
|
304 |
|
134 |
.if defined(WITH_PCI) |
305 |
.if defined(WITH_PCI) |
135 |
CONFIGURE_ARGS+=--enable-pci |
306 |
CONFIGURE_ARGS+=--enable-pci |
|
|
307 |
.else |
308 |
CONFIGURE_ARGS+=--disable-pci |
309 |
.endif |
310 |
|
311 |
.if defined(WITH_POPCNT) |
312 |
CONFIGURE_ARGS+=--enable-popcnt |
313 |
.else |
314 |
CONFIGURE_ARGS+=--disable-popcnt |
136 |
.endif |
315 |
.endif |
137 |
|
316 |
|
138 |
.if defined(WITH_PLUGINS) |
317 |
.if defined(WITH_PLUGINS) |
139 |
CONFIGURE_ARGS+=--enable-plugins |
318 |
CONFIGURE_ARGS+=--enable-plugins |
|
|
319 |
.else |
320 |
CONFIGURE_ARGS+=--disable-plugins |
140 |
.endif |
321 |
.endif |
141 |
|
322 |
|
142 |
.if defined(WITH_PNIC) |
323 |
.if defined(WITH_PNIC) |
143 |
CONFIGURE_ARGS+=--enable-pnic |
324 |
CONFIGURE_ARGS+=--enable-pnic |
|
|
325 |
.else |
326 |
CONFIGURE_ARGS+=--disable-pnic |
144 |
.endif |
327 |
.endif |
145 |
|
328 |
|
146 |
.if defined(WITHOUT_PORT_E9_HACK) |
329 |
.if defined(WITH_RAW_SERIAL) |
147 |
CONFIGURE_ARGS+=--disable-port-e9-hack |
330 |
CONFIGURE_ARGS+=--enable-raw-serial |
|
|
331 |
.else |
332 |
CONFIGURE_ARGS+=--disable-raw-serial |
148 |
.endif |
333 |
.endif |
149 |
|
334 |
|
150 |
.if defined(WITH_READLINE) |
335 |
.if defined(WITH_READLINE) |
Lines 153-178
Link Here
|
153 |
CONFIGURE_ARGS+=--disable-readline |
338 |
CONFIGURE_ARGS+=--disable-readline |
154 |
.endif |
339 |
.endif |
155 |
|
340 |
|
|
|
341 |
.if defined(WITH_REPEAT_SPEED) |
342 |
CONFIGURE_ARGS+=--enable-repeat-speedups |
343 |
.else |
344 |
CONFIGURE_ARGS+=--disable-repeat-speedups |
345 |
.endif |
346 |
|
156 |
.if defined(WITH_RFB) |
347 |
.if defined(WITH_RFB) |
157 |
CONFIGURE_ARGS+=--with-rfb |
348 |
CONFIGURE_ARGS+=--with-rfb |
|
|
349 |
.else |
350 |
CONFIGURE_ARGS+=--without-rfb |
158 |
.endif |
351 |
.endif |
159 |
|
352 |
|
160 |
.if defined(WITH_SB16) |
353 |
.if defined(WITH_SB16) |
161 |
CONFIGURE_ARGS+=--enable-sb16=freebsd |
354 |
CONFIGURE_ARGS+=--enable-sb16=freebsd |
162 |
.endif |
355 |
.endif |
163 |
|
356 |
|
164 |
.if defined(WITH_SMP) |
|
|
165 |
CONFIGURE_ARGS+=--enable-smp |
166 |
WITH_CPU_LEVEL= 6 |
167 |
.endif |
168 |
|
169 |
.if defined(WITH_SDL) |
357 |
.if defined(WITH_SDL) |
170 |
USE_SDL= sdl |
358 |
USE_SDL= sdl |
171 |
CONFIGURE_ARGS+=--with-sdl |
359 |
CONFIGURE_ARGS+=--with-sdl |
172 |
.endif |
360 |
.endif |
173 |
|
361 |
|
|
|
362 |
.if defined(WITH_SEP) |
363 |
CONFIGURE_ARGS+=--enable-sep |
364 |
.else |
365 |
CONFIGURE_ARGS+=--disable-sep |
366 |
.endif |
367 |
|
174 |
.if defined(WITH_SHOW_IPS) |
368 |
.if defined(WITH_SHOW_IPS) |
175 |
CONFIGURE_ARGS+=--enable-show-ips |
369 |
CONFIGURE_ARGS+=--enable-show-ips |
|
|
370 |
.else |
371 |
CONFIGURE_ARGS+=--disable-show-ips |
372 |
.endif |
373 |
|
374 |
.if defined(WITH_SMP) |
375 |
CONFIGURE_ARGS+=--enable-smp |
376 |
WITH_CPU_LEVEL= 6 |
176 |
.endif |
377 |
.endif |
177 |
|
378 |
|
178 |
.if defined(WITH_SSE4) || defined(WITH_AES) || defined(WITH_XSAVE) |
379 |
.if defined(WITH_SSE4) || defined(WITH_AES) || defined(WITH_XSAVE) |
Lines 189-195
Link Here
|
189 |
CONFIGURE_ARGS+=--with-term |
390 |
CONFIGURE_ARGS+=--with-term |
190 |
.endif |
391 |
.endif |
191 |
|
392 |
|
192 |
.if defined(WITHOUT_TCACHE) |
393 |
.if !defined(WITH_TCACHE) |
193 |
CONFIGURE_ARGS+=--disable-trace-cache |
394 |
CONFIGURE_ARGS+=--disable-trace-cache |
194 |
.else |
395 |
.else |
195 |
CONFIGURE_ARGS+=--enable-trace-cache |
396 |
CONFIGURE_ARGS+=--enable-trace-cache |
Lines 197-211
Link Here
|
197 |
|
398 |
|
198 |
.if defined(WITH_USB) |
399 |
.if defined(WITH_USB) |
199 |
CONFIGURE_ARGS+=--enable-usb |
400 |
CONFIGURE_ARGS+=--enable-usb |
|
|
401 |
.else |
402 |
CONFIGURE_ARGS+=--disable-usb |
403 |
.endif |
404 |
|
405 |
.if defined(WITH_USB_OHCI) |
406 |
CONFIGURE_ARGS+=--enable-usb-ohci |
407 |
.else |
408 |
CONFIGURE_ARGS+=--disable-usb-ohci |
200 |
.endif |
409 |
.endif |
201 |
|
410 |
|
202 |
.if defined(WITH_VBE) |
411 |
.if !defined(WITH_VBE) |
|
|
412 |
CONFIGURE_ARGS+=--disable-vbe |
413 |
.else |
203 |
CONFIGURE_ARGS+=--enable-vbe |
414 |
CONFIGURE_ARGS+=--enable-vbe |
204 |
.endif |
415 |
.endif |
205 |
|
416 |
|
|
|
417 |
.if !defined(WITH_VME) |
418 |
CONFIGURE_ARGS+=--disable-vme |
419 |
.else |
420 |
CONFIGURE_ARGS+=--enable-vme |
421 |
.endif |
422 |
|
423 |
.if defined(WITH_VMX) |
424 |
CONFIGURE_ARGS+=--enable-vmx |
425 |
.else |
426 |
CONFIGURE_ARGS+=--disable-vmx |
427 |
.endif |
428 |
|
206 |
.if defined(WITH_WX) |
429 |
.if defined(WITH_WX) |
207 |
USE_WX= 2.4-2.6 |
430 |
USE_WX= 2.4-2.6 |
208 |
CONFIGURE_ARGS+=--with-wx |
431 |
CONFIGURE_ARGS+=--with-wx |
|
|
432 |
.else |
433 |
CONFIGURE_ARGS+=--disable-debugger-gui |
209 |
.endif |
434 |
.endif |
210 |
|
435 |
|
211 |
.if defined(WITH_X11) |
436 |
.if defined(WITH_X11) |
Lines 215-230
Link Here
|
215 |
|
440 |
|
216 |
.if defined(WITH_X86_64) |
441 |
.if defined(WITH_X86_64) |
217 |
CONFIGURE_ARGS+=--enable-x86-64 |
442 |
CONFIGURE_ARGS+=--enable-x86-64 |
|
|
443 |
.else |
444 |
CONFIGURE_ARGS+=--disable-x86-64 |
218 |
.endif |
445 |
.endif |
219 |
|
446 |
|
220 |
.if defined(WITH_XPM) |
447 |
.if defined(WITH_XPM) |
221 |
USE_XORG= xpm |
448 |
USE_XORG= xpm |
|
|
449 |
CONFIGURE_ARGS+=--enable-xpm |
222 |
.else |
450 |
.else |
223 |
CONFIGURE_ARGS+=--disable-xpm |
451 |
CONFIGURE_ARGS+=--disable-xpm |
224 |
.endif |
452 |
.endif |
225 |
|
453 |
|
226 |
.if defined(WITH_XSAVE) |
454 |
.if defined(WITH_XSAVE) |
227 |
CONFIGURE_ARGS+=--enable-xsave |
455 |
CONFIGURE_ARGS+=--enable-xsave |
|
|
456 |
.else |
457 |
CONFIGURE_ARGS+=--disable-xsave |
228 |
.endif |
458 |
.endif |
229 |
|
459 |
|
230 |
.if defined(WITH_CPU_LEVEL) |
460 |
.if defined(WITH_CPU_LEVEL) |