Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 448 lines (372 sloc) 9.707 kb
626df76a »
2003-08-10 build all targets at the same time
1 include config.mak
2
0b0babc6 »
2005-01-03 x86_64 target support
3 TARGET_BASE_ARCH:=$(TARGET_ARCH)
4 ifeq ($(TARGET_ARCH), x86_64)
5 TARGET_BASE_ARCH:=i386
6 endif
64b3ab24 »
2005-01-30 sparc64 support (Blue Swirl)
7 ifeq ($(TARGET_ARCH), sparc64)
8 TARGET_BASE_ARCH:=sparc
9 endif
0b0babc6 »
2005-01-03 x86_64 target support
10 TARGET_PATH=$(SRC_PATH)/target-$(TARGET_BASE_ARCH)
85571bc7 »
2004-11-07 audio merge (malc)
11 VPATH=$(SRC_PATH):$(TARGET_PATH):$(SRC_PATH)/hw:$(SRC_PATH)/audio
3035f7ff »
2004-03-21 use new directory layout
12 DEFINES=-I. -I$(TARGET_PATH) -I$(SRC_PATH)
13 ifdef CONFIG_USER_ONLY
14 VPATH+=:$(SRC_PATH)/linux-user
15 DEFINES+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ARCH)
16 endif
ab2572d7 »
2004-06-03 added -fno-strict-aliasing
17 CFLAGS=-Wall -O2 -g -fno-strict-aliasing
0b0babc6 »
2005-01-03 x86_64 target support
18 #CFLAGS+=-Werror
626df76a »
2003-08-10 build all targets at the same time
19 LDFLAGS=-g
20 LIBS=
21 HELPER_CFLAGS=$(CFLAGS)
67b915a5 »
2004-03-31 win32 port (initial patch by kazu)
22 DYNGEN=../dyngen$(EXESUF)
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
23 # user emulator name
808c4954 »
2004-12-19 big endian ARM support (Lennert Buytenhek)
24 ifeq ($(TARGET_ARCH),arm)
25 ifeq ($(TARGET_WORDS_BIGENDIAN),yes)
26 QEMU_USER=qemu-armeb
27 else
28 QEMU_USER=qemu-arm
29 endif
30 else
31 QEMU_USER=qemu-$(TARGET_ARCH)
32 endif
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
33 # system emulator name
34 ifdef CONFIG_SOFTMMU
a541f297 »
2004-04-12 PowerPC system emulation fixes (Jocelyn Mayer)
35 ifeq ($(TARGET_ARCH), i386)
67b915a5 »
2004-03-31 win32 port (initial patch by kazu)
36 QEMU_SYSTEM=qemu$(EXESUF)
0db63474 »
2003-10-27 qemu with softmmu is now the default executable
37 else
a541f297 »
2004-04-12 PowerPC system emulation fixes (Jocelyn Mayer)
38 QEMU_SYSTEM=qemu-system-$(TARGET_ARCH)$(EXESUF)
39 endif
40 else
0db63474 »
2003-10-27 qemu with softmmu is now the default executable
41 QEMU_SYSTEM=qemu-fast
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
42 endif
43
16e9b7de »
2003-10-27 filename fixes
44 ifdef CONFIG_USER_ONLY
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
45 PROGS=$(QEMU_USER)
16e9b7de »
2003-10-27 filename fixes
46 else
47 ifeq ($(TARGET_ARCH), i386)
c321f673 »
2003-10-30 enabled system emulator build on PowerPC - increased portability of s…
48
49 ifeq ($(ARCH), i386)
50 PROGS+=$(QEMU_SYSTEM)
de5eaa64 »
2003-11-16 static config for SDL
51 ifndef CONFIG_SOFTMMU
52 CONFIG_STATIC=y
53 endif
38ca2abc »
2004-03-13 m68k compile fix
54 else
55 # the system emulator using soft mmu is portable
c321f673 »
2003-10-30 enabled system emulator build on PowerPC - increased portability of s…
56 ifdef CONFIG_SOFTMMU
16e9b7de »
2003-10-27 filename fixes
57 PROGS+=$(QEMU_SYSTEM)
58 endif
38ca2abc »
2004-03-13 m68k compile fix
59 endif # ARCH != i386
c321f673 »
2003-10-30 enabled system emulator build on PowerPC - increased portability of s…
60
38ca2abc »
2004-03-13 m68k compile fix
61 endif # TARGET_ARCH = i386
728c9fd5 »
2004-01-05 update
62
0b0babc6 »
2005-01-03 x86_64 target support
63 ifeq ($(TARGET_ARCH), x86_64)
64 ifdef CONFIG_SOFTMMU
65 PROGS+=$(QEMU_SYSTEM)
66 endif
67 endif # TARGET_ARCH = x86_64
68
728c9fd5 »
2004-01-05 update
69 ifeq ($(TARGET_ARCH), ppc)
70
71 ifeq ($(ARCH), ppc)
72 PROGS+=$(QEMU_SYSTEM)
73 endif
74
75 ifeq ($(ARCH), i386)
76 ifdef CONFIG_SOFTMMU
77 PROGS+=$(QEMU_SYSTEM)
626df76a »
2003-08-10 build all targets at the same time
78 endif
728c9fd5 »
2004-01-05 update
79 endif # ARCH = i386
80
0b0babc6 »
2005-01-03 x86_64 target support
81 ifeq ($(ARCH), x86_64)
75dfaa1e »
2004-04-25 x86-64 port (Jocelyn Mayer)
82 ifdef CONFIG_SOFTMMU
83 PROGS+=$(QEMU_SYSTEM)
84 endif
0b0babc6 »
2005-01-03 x86_64 target support
85 endif # ARCH = x86_64
75dfaa1e »
2004-04-25 x86-64 port (Jocelyn Mayer)
86
728c9fd5 »
2004-01-05 update
87 endif # TARGET_ARCH = ppc
e95c8d51 »
2004-09-30 full system SPARC emulation (Blue Swirl)
88
89 ifeq ($(TARGET_ARCH), sparc)
90
91 ifeq ($(ARCH), ppc)
92 PROGS+=$(QEMU_SYSTEM)
93 endif
94
95 ifeq ($(ARCH), i386)
96 ifdef CONFIG_SOFTMMU
97 PROGS+=$(QEMU_SYSTEM)
98 endif
99 endif # ARCH = i386
100
0b0babc6 »
2005-01-03 x86_64 target support
101 ifeq ($(ARCH), x86_64)
e95c8d51 »
2004-09-30 full system SPARC emulation (Blue Swirl)
102 ifdef CONFIG_SOFTMMU
103 PROGS+=$(QEMU_SYSTEM)
104 endif
0b0babc6 »
2005-01-03 x86_64 target support
105 endif # ARCH = x86_64
e95c8d51 »
2004-09-30 full system SPARC emulation (Blue Swirl)
106
107 endif # TARGET_ARCH = sparc
64b3ab24 »
2005-01-30 sparc64 support (Blue Swirl)
108
109 ifeq ($(TARGET_ARCH), sparc64)
110 ifdef CONFIG_SOFTMMU
111 PROGS+=$(QEMU_SYSTEM)
112 endif
113 endif # TARGET_ARCH = sparc64
114
728c9fd5 »
2004-01-05 update
115 endif # !CONFIG_USER_ONLY
626df76a »
2003-08-10 build all targets at the same time
116
117 ifdef CONFIG_STATIC
118 LDFLAGS+=-static
119 endif
120
121 ifeq ($(ARCH),i386)
122 CFLAGS+=-fomit-frame-pointer
123 OP_CFLAGS=$(CFLAGS) -mpreferred-stack-boundary=2
124 ifeq ($(HAVE_GCC3_OPTIONS),yes)
3611a29c »
2004-08-03 -fno-gcse option for opcodes to use asm macros with gcc >= 3.3 on i38…
125 OP_CFLAGS+= -falign-functions=0 -fno-gcse
626df76a »
2003-08-10 build all targets at the same time
126 else
127 OP_CFLAGS+= -malign-functions=0
128 endif
3a4739d6 »
2003-10-28 static link
129
626df76a »
2003-08-10 build all targets at the same time
130 ifdef TARGET_GPROF
3a4739d6 »
2003-10-28 static link
131 USE_I386_LD=y
132 endif
133 ifdef CONFIG_STATIC
134 USE_I386_LD=y
135 endif
136 ifdef USE_I386_LD
626df76a »
2003-08-10 build all targets at the same time
137 LDFLAGS+=-Wl,-T,$(SRC_PATH)/i386.ld
138 else
139 # WARNING: this LDFLAGS is _very_ tricky : qemu is an ELF shared object
140 # that the kernel ELF loader considers as an executable. I think this
141 # is the simplest way to make it self virtualizable!
142 LDFLAGS+=-Wl,-shared
143 endif
144 endif
145
0b0babc6 »
2005-01-03 x86_64 target support
146 ifeq ($(ARCH),x86_64)
bc51c5c9 »
2004-03-17 initial x86-64 host support (Gwenole Beauchesne)
147 OP_CFLAGS=$(CFLAGS) -falign-functions=0
0b0babc6 »
2005-01-03 x86_64 target support
148 LDFLAGS+=-Wl,-T,$(SRC_PATH)/x86_64.ld
bc51c5c9 »
2004-03-17 initial x86-64 host support (Gwenole Beauchesne)
149 endif
150
626df76a »
2003-08-10 build all targets at the same time
151 ifeq ($(ARCH),ppc)
83fb7adf »
2004-07-05 Darwin patch (initial patch by Pierre d'Herbemont)
152 CFLAGS+= -D__powerpc__
626df76a »
2003-08-10 build all targets at the same time
153 OP_CFLAGS=$(CFLAGS)
154 LDFLAGS+=-Wl,-T,$(SRC_PATH)/ppc.ld
155 endif
156
157 ifeq ($(ARCH),s390)
158 OP_CFLAGS=$(CFLAGS)
159 LDFLAGS+=-Wl,-T,$(SRC_PATH)/s390.ld
160 endif
161
162 ifeq ($(ARCH),sparc)
163 CFLAGS+=-m32 -ffixed-g1 -ffixed-g2 -ffixed-g3 -ffixed-g6
164 LDFLAGS+=-m32
165 OP_CFLAGS=$(CFLAGS) -fno-delayed-branch -ffixed-i0
166 HELPER_CFLAGS=$(CFLAGS) -ffixed-i0 -mflat
167 # -static is used to avoid g1/g3 usage by the dynamic linker
168 LDFLAGS+=-Wl,-T,$(SRC_PATH)/sparc.ld -static
169 endif
170
171 ifeq ($(ARCH),sparc64)
172 CFLAGS+=-m64 -ffixed-g1 -ffixed-g2 -ffixed-g3 -ffixed-g6
173 LDFLAGS+=-m64
174 OP_CFLAGS=$(CFLAGS) -fno-delayed-branch -ffixed-i0
175 endif
176
177 ifeq ($(ARCH),alpha)
178 # -msmall-data is not used because we want two-instruction relocations
179 # for the constant constructions
180 OP_CFLAGS=-Wall -O2 -g
181 # Ensure there's only a single GP
182 CFLAGS += -msmall-data
183 LDFLAGS+=-Wl,-T,$(SRC_PATH)/alpha.ld
184 endif
185
186 ifeq ($(ARCH),ia64)
187 OP_CFLAGS=$(CFLAGS)
188 endif
189
190 ifeq ($(ARCH),arm)
191 OP_CFLAGS=$(CFLAGS) -mno-sched-prolog
192 LDFLAGS+=-Wl,-T,$(SRC_PATH)/arm.ld
193 endif
194
38e584a0 »
2003-08-10 m68k host port (Richard Zidlicky)
195 ifeq ($(ARCH),m68k)
196 OP_CFLAGS=$(CFLAGS) -fomit-frame-pointer
197 LDFLAGS+=-Wl,-T,m68k.ld
198 endif
199
626df76a »
2003-08-10 build all targets at the same time
200 ifeq ($(HAVE_GCC3_OPTIONS),yes)
201 # very important to generate a return at the end of every operation
202 OP_CFLAGS+=-fno-reorder-blocks -fno-optimize-sibling-calls
203 endif
204
83fb7adf »
2004-07-05 Darwin patch (initial patch by Pierre d'Herbemont)
205 ifeq ($(CONFIG_DARWIN),yes)
206 OP_CFLAGS+= -mdynamic-no-pic
e80cfcfc »
2004-12-19 SPARC merge
207 LIBS+=-lmx
83fb7adf »
2004-07-05 Darwin patch (initial patch by Pierre d'Herbemont)
208 endif
209
626df76a »
2003-08-10 build all targets at the same time
210 #########################################################
211
d5249393 »
2004-08-03 64 bit file I/O by default
212 DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
626df76a »
2003-08-10 build all targets at the same time
213 LIBS+=-lm
b932caba »
2004-08-01 new disk image layer
214 ifndef CONFIG_USER_ONLY
215 LIBS+=-lz
216 endif
67b915a5 »
2004-03-31 win32 port (initial patch by kazu)
217 ifdef CONFIG_WIN32
3db38e87 »
2004-07-14 virtual console support - slirp for win32 support
218 LIBS+=-lwinmm -lws2_32 -liphlpapi
67b915a5 »
2004-03-31 win32 port (initial patch by kazu)
219 endif
626df76a »
2003-08-10 build all targets at the same time
220
221 # profiling code
222 ifdef TARGET_GPROF
223 LDFLAGS+=-p
224 main.o: CFLAGS+=-p
225 endif
226
3035f7ff »
2004-03-21 use new directory layout
227 OBJS= elfload.o main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o
626df76a »
2003-08-10 build all targets at the same time
228 ifeq ($(TARGET_ARCH), i386)
229 OBJS+= vm86.o
230 endif
f72b519c »
2004-02-16 added osdep.o and nwfpe
231 ifeq ($(TARGET_ARCH), arm)
232 OBJS+=nwfpe/softfloat.o nwfpe/fpa11.o nwfpe/fpa11_cpdo.o \
233 nwfpe/fpa11_cpdt.o nwfpe/fpa11_cprt.o nwfpe/fpopcode.o nwfpe/single_cpdo.o \
234 nwfpe/double_cpdo.o nwfpe/extended_cpdo.o
235 endif
626df76a »
2003-08-10 build all targets at the same time
236 SRCS:= $(OBJS:.o=.c)
237 OBJS+= libqemu.a
238
239 # cpu emulator library
e3086fbf »
2005-02-10 kqemu support
240 LIBOBJS=exec.o kqemu.o translate-all.o cpu-exec.o\
241 translate.o op.o
626df76a »
2003-08-10 build all targets at the same time
242
243 ifeq ($(TARGET_ARCH), i386)
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
244 LIBOBJS+=helper.o helper2.o
f72b519c »
2004-02-16 added osdep.o and nwfpe
245 ifeq ($(ARCH), i386)
246 LIBOBJS+=translate-copy.o
247 endif
626df76a »
2003-08-10 build all targets at the same time
248 endif
249
0b0babc6 »
2005-01-03 x86_64 target support
250 ifeq ($(TARGET_ARCH), x86_64)
251 LIBOBJS+=helper.o helper2.o
252 endif
253
67867308 »
2003-11-23 PowerPC target support (Jocelyn Mayer) - added better support for uid16
254 ifeq ($(TARGET_ARCH), ppc)
728c9fd5 »
2004-01-05 update
255 LIBOBJS+= op_helper.o helper.o
67867308 »
2003-11-23 PowerPC target support (Jocelyn Mayer) - added better support for uid16
256 endif
257
64b3ab24 »
2005-01-30 sparc64 support (Blue Swirl)
258 ifeq ($(TARGET_BASE_ARCH), sparc)
e95c8d51 »
2004-09-30 full system SPARC emulation (Blue Swirl)
259 LIBOBJS+= op_helper.o helper.o
260 endif
261
b7bcbe95 »
2005-02-22 ARM VFP support (Paul Brook)
262 ifeq ($(TARGET_BASE_ARCH), arm)
263 LIBOBJS+= op_helper.o
264 endif
265
626df76a »
2003-08-10 build all targets at the same time
266 # NOTE: the disassembler code is only needed for debugging
267 LIBOBJS+=disas.o
268 ifeq ($(findstring i386, $(TARGET_ARCH) $(ARCH)),i386)
bc51c5c9 »
2004-03-17 initial x86-64 host support (Gwenole Beauchesne)
269 USE_I386_DIS=y
270 endif
0b0babc6 »
2005-01-03 x86_64 target support
271 ifeq ($(findstring x86_64, $(TARGET_ARCH) $(ARCH)),x86_64)
bc51c5c9 »
2004-03-17 initial x86-64 host support (Gwenole Beauchesne)
272 USE_I386_DIS=y
273 endif
274 ifdef USE_I386_DIS
626df76a »
2003-08-10 build all targets at the same time
275 LIBOBJS+=i386-dis.o
276 endif
277 ifeq ($(findstring alpha, $(TARGET_ARCH) $(ARCH)),alpha)
278 LIBOBJS+=alpha-dis.o
279 endif
280 ifeq ($(findstring ppc, $(TARGET_ARCH) $(ARCH)),ppc)
281 LIBOBJS+=ppc-dis.o
282 endif
64b3ab24 »
2005-01-30 sparc64 support (Blue Swirl)
283 ifeq ($(findstring sparc, $(TARGET_BASE_ARCH) $(ARCH)),sparc)
626df76a »
2003-08-10 build all targets at the same time
284 LIBOBJS+=sparc-dis.o
285 endif
286 ifeq ($(findstring arm, $(TARGET_ARCH) $(ARCH)),arm)
287 LIBOBJS+=arm-dis.o
288 endif
289
290 ifeq ($(ARCH),ia64)
291 OBJS += ia64-syscall.o
292 endif
293
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
294 all: $(PROGS)
626df76a »
2003-08-10 build all targets at the same time
295
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
296 $(QEMU_USER): $(OBJS)
626df76a »
2003-08-10 build all targets at the same time
297 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
298 ifeq ($(ARCH),alpha)
299 # Mark as 32 bit binary, i. e. it will be mapped into the low 31 bit of
300 # the address space (31 bit so sign extending doesn't matter)
301 echo -ne '\001\000\000\000' | dd of=qemu bs=1 seek=48 count=4 conv=notrunc
302 endif
303
304 # must use static linking to avoid leaving stuff in virtual address space
b932caba »
2004-08-01 new disk image layer
305 VL_OBJS=vl.o osdep.o block.o readline.o monitor.o pci.o console.o
585d0ed9 »
2004-12-12 .dmg disk image format support (Johannes Schindelin)
306 VL_OBJS+=block-cow.o block-qcow.o aes.o block-vmdk.o block-cloop.o block-dmg.o
a541f297 »
2004-04-12 PowerPC system emulation fixes (Jocelyn Mayer)
307
85571bc7 »
2004-11-07 audio merge (malc)
308 SOUND_HW = sb16.o
7372f88d »
2004-11-11 audio fixes (malc)
309 AUDIODRV = audio.o noaudio.o wavaudio.o
fb065187 »
2004-11-09 audio clean up (initial patch by malc)
310 ifdef CONFIG_SDL
311 AUDIODRV += sdlaudio.o
312 endif
313 ifdef CONFIG_OSS
314 AUDIODRV += ossaudio.o
315 endif
316
317 pc.o: DEFINES := -DUSE_SB16 $(DEFINES)
85571bc7 »
2004-11-07 audio merge (malc)
318
fb065187 »
2004-11-09 audio clean up (initial patch by malc)
319 ifdef CONFIG_ADLIB
85571bc7 »
2004-11-07 audio merge (malc)
320 SOUND_HW += fmopl.o adlib.o
321 endif
322
102a52e4 »
2004-11-14 FMOD configure options (malc)
323 ifdef CONFIG_FMOD
85571bc7 »
2004-11-07 audio merge (malc)
324 AUDIODRV += fmodaudio.o
102a52e4 »
2004-11-14 FMOD configure options (malc)
325 audio.o fmodaudio.o: DEFINES := -I$(CONFIG_FMOD_INC) $(DEFINES)
326 LIBS += $(CONFIG_FMOD_LIB)
85571bc7 »
2004-11-07 audio merge (malc)
327 endif
328
0b0babc6 »
2005-01-03 x86_64 target support
329 ifeq ($(TARGET_BASE_ARCH), i386)
a541f297 »
2004-04-12 PowerPC system emulation fixes (Jocelyn Mayer)
330 # Hardware support
85571bc7 »
2004-11-07 audio merge (malc)
331 VL_OBJS+= ide.o ne2000.o pckbd.o vga.o $(SOUND_HW) dma.o $(AUDIODRV)
332 VL_OBJS+= fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o
6508fe59 »
2005-01-15 PC parallel port support (Mark Jonckheere)
333 VL_OBJS+= cirrus_vga.o mixeng.o apic.o parallel.o
67b915a5 »
2004-03-31 win32 port (initial patch by kazu)
334 endif
728c9fd5 »
2004-01-05 update
335 ifeq ($(TARGET_ARCH), ppc)
85571bc7 »
2004-11-07 audio merge (malc)
336 VL_OBJS+= ppc.o ide.o ne2000.o pckbd.o vga.o $(SOUND_HW) dma.o $(AUDIODRV)
64201201 »
2004-05-26 PowerPC prep/chrp/pmac support
337 VL_OBJS+= mc146818rtc.o serial.o i8259.o i8254.o fdc.o m48t59.o
85571bc7 »
2004-11-07 audio merge (malc)
338 VL_OBJS+= ppc_prep.o ppc_chrp.o cuda.o adb.o openpic.o mixeng.o
a541f297 »
2004-04-12 PowerPC system emulation fixes (Jocelyn Mayer)
339 endif
64b3ab24 »
2005-01-30 sparc64 support (Blue Swirl)
340 ifeq ($(TARGET_BASE_ARCH), sparc)
e80cfcfc »
2004-12-19 SPARC merge
341 VL_OBJS+= sun4m.o tcx.o lance.o iommu.o m48t08.o magic-load.o slavio_intctl.o slavio_timer.o slavio_serial.o fdc.o
e95c8d51 »
2004-09-30 full system SPARC emulation (Blue Swirl)
342 endif
a541f297 »
2004-04-12 PowerPC system emulation fixes (Jocelyn Mayer)
343 ifdef CONFIG_GDBSTUB
344 VL_OBJS+=gdbstub.o
728c9fd5 »
2004-01-05 update
345 endif
626df76a »
2003-08-10 build all targets at the same time
346 ifdef CONFIG_SDL
347 VL_OBJS+=sdl.o
de5eaa64 »
2003-11-16 static config for SDL
348 endif
7c1f25b4 »
2004-04-22 probe static SDL link
349 ifdef CONFIG_SLIRP
350 DEFINES+=-I$(SRC_PATH)/slirp
351 SLIRP_OBJS=cksum.o if.o ip_icmp.o ip_input.o ip_output.o \
352 slirp.o mbuf.o misc.o sbuf.o socket.o tcp_input.o tcp_output.o \
c7f74643 »
2004-08-24 TFTP support (Magnus Damm)
353 tcp_subr.o tcp_timer.o udp.o bootp.o debug.o tftp.o
7c1f25b4 »
2004-04-22 probe static SDL link
354 VL_OBJS+=$(addprefix slirp/, $(SLIRP_OBJS))
626df76a »
2003-08-10 build all targets at the same time
355 endif
356
c321f673 »
2003-10-30 enabled system emulator build on PowerPC - increased portability of s…
357 VL_LDFLAGS=
358 # specific flags are needed for non soft mmu emulator
359 ifdef CONFIG_STATIC
360 VL_LDFLAGS+=-static
361 endif
de5eaa64 »
2003-11-16 static config for SDL
362 ifndef CONFIG_SOFTMMU
363 VL_LDFLAGS+=-Wl,-T,$(SRC_PATH)/i386-vl.ld
364 endif
83fb7adf »
2004-07-05 Darwin patch (initial patch by Pierre d'Herbemont)
365 ifndef CONFIG_DARWIN
11d9f695 »
2004-04-02 win32 cross compile fix
366 ifndef CONFIG_WIN32
367 VL_LIBS=-lutil
368 endif
83fb7adf »
2004-07-05 Darwin patch (initial patch by Pierre d'Herbemont)
369 endif
e3086fbf »
2005-02-10 kqemu support
370 ifdef TARGET_GPROF
371 vl.o: CFLAGS+=-p
372 VL_LDFLAGS+=-p
373 endif
c321f673 »
2003-10-30 enabled system emulator build on PowerPC - increased portability of s…
374
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
375 $(QEMU_SYSTEM): $(VL_OBJS) libqemu.a
11d9f695 »
2004-04-02 win32 cross compile fix
376 $(CC) $(VL_LDFLAGS) -o $@ $^ $(LIBS) $(SDL_LIBS) $(VL_LIBS)
626df76a »
2003-08-10 build all targets at the same time
377
3d11d0eb »
2004-12-12 keymaps support (initial patch by Johannes Schindelin)
378 sdl.o: sdl.c keymaps.c sdl_keysym.h
626df76a »
2003-08-10 build all targets at the same time
379 $(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $<
380
9f059eca »
2004-11-14 win32/SDL build fixes
381 sdlaudio.o: sdlaudio.c
382 $(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $<
383
626df76a »
2003-08-10 build all targets at the same time
384 depend: $(SRCS)
16e9b7de »
2003-10-27 filename fixes
385 $(CC) -MM $(CFLAGS) $(DEFINES) $^ 1>.depend
626df76a »
2003-08-10 build all targets at the same time
386
387 # libqemu
388
389 libqemu.a: $(LIBOBJS)
390 rm -f $@
391 $(AR) rcs $@ $(LIBOBJS)
392
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
393 translate.o: translate.c gen-op.h opc.h cpu.h
626df76a »
2003-08-10 build all targets at the same time
394
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
395 translate-all.o: translate-all.c op.h opc.h cpu.h
626df76a »
2003-08-10 build all targets at the same time
396
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
397 op.h: op.o $(DYNGEN)
626df76a »
2003-08-10 build all targets at the same time
398 $(DYNGEN) -o $@ $<
399
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
400 opc.h: op.o $(DYNGEN)
626df76a »
2003-08-10 build all targets at the same time
401 $(DYNGEN) -c -o $@ $<
402
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
403 gen-op.h: op.o $(DYNGEN)
626df76a »
2003-08-10 build all targets at the same time
404 $(DYNGEN) -g -o $@ $<
405
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
406 op.o: op.c
626df76a »
2003-08-10 build all targets at the same time
407 $(CC) $(OP_CFLAGS) $(DEFINES) -c -o $@ $<
408
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
409 helper.o: helper.c
626df76a »
2003-08-10 build all targets at the same time
410 $(CC) $(HELPER_CFLAGS) $(DEFINES) -c -o $@ $<
411
0b0babc6 »
2005-01-03 x86_64 target support
412 ifeq ($(TARGET_BASE_ARCH), i386)
664e0f19 »
2005-01-08 MMX/SSE support
413 op.o: op.c opreg_template.h ops_template.h ops_template_mem.h ops_mem.h ops_sse.h
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
414 endif
415
416 ifeq ($(TARGET_ARCH), arm)
417 op.o: op.c op_template.h
418 endif
626df76a »
2003-08-10 build all targets at the same time
419
64b3ab24 »
2005-01-30 sparc64 support (Blue Swirl)
420 ifeq ($(TARGET_BASE_ARCH), sparc)
e95c8d51 »
2004-09-30 full system SPARC emulation (Blue Swirl)
421 op.o: op.c op_template.h op_mem.h
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
422 endif
626df76a »
2003-08-10 build all targets at the same time
423
728c9fd5 »
2004-01-05 update
424 ifeq ($(TARGET_ARCH), ppc)
425 op.o: op.c op_template.h op_mem.h
426 op_helper.o: op_helper_mem.h
427 endif
428
85571bc7 »
2004-11-07 audio merge (malc)
429 mixeng.o: mixeng.c mixeng.h mixeng_template.h
430
626df76a »
2003-08-10 build all targets at the same time
431 %.o: %.c
432 $(CC) $(CFLAGS) $(DEFINES) -c -o $@ $<
433
f72b519c »
2004-02-16 added osdep.o and nwfpe
434 %.o: %.S
435 $(CC) $(DEFINES) -c -o $@ $<
436
626df76a »
2003-08-10 build all targets at the same time
437 clean:
7c1f25b4 »
2004-04-22 probe static SDL link
438 rm -f *.o *.a *~ $(PROGS) gen-op.h opc.h op.h nwfpe/*.o slirp/*.o
1e43adfc »
2003-09-30 new directory structure - changed naming of qemu and vl
439
440 install: all
9b14bb04 »
2004-03-26 install fix (Rusty Russel)
441 ifneq ($(PROGS),)
11d9f695 »
2004-04-02 win32 cross compile fix
442 install -m 755 -s $(PROGS) "$(bindir)"
9b14bb04 »
2004-03-26 install fix (Rusty Russel)
443 endif
626df76a »
2003-08-10 build all targets at the same time
444
445 ifneq ($(wildcard .depend),)
446 include .depend
447 endif
Something went wrong with that request. Please try again.