root / Makefile.target @ 5bc89ef6
History | View | Annotate | Download (9.9 kB)
1 | 562593aa | Anthony Liguori | # -*- Mode: makefile -*- |
---|---|---|---|
2 | 562593aa | Anthony Liguori | |
3 | 626df76a | bellard | include config.mak |
4 | 17759187 | aliguori | include $(SRC_PATH)/rules.mak |
5 | 626df76a | bellard | |
6 | 0b0babc6 | bellard | TARGET_PATH=$(SRC_PATH)/target-$(TARGET_BASE_ARCH) |
7 | 4fb240a4 | bellard | VPATH=$(SRC_PATH):$(TARGET_PATH):$(SRC_PATH)/hw |
8 | 6c90361a | Juan Quintela | QEMU_CFLAGS+= -I.. -I$(TARGET_PATH) -DNEED_CPU_H |
9 | 40293e58 | bellard | |
10 | 40293e58 | bellard | ifdef CONFIG_USER_ONLY |
11 | 40293e58 | bellard | # user emulator name |
12 | 40293e58 | bellard | QEMU_PROG=qemu-$(TARGET_ARCH2) |
13 | 40293e58 | bellard | else |
14 | 1e43adfc | bellard | # system emulator name |
15 | a541f297 | bellard | ifeq ($(TARGET_ARCH), i386) |
16 | 40293e58 | bellard | QEMU_PROG=qemu$(EXESUF) |
17 | 0db63474 | bellard | else |
18 | 40293e58 | bellard | QEMU_PROG=qemu-system-$(TARGET_ARCH2)$(EXESUF) |
19 | a541f297 | bellard | endif |
20 | de5eaa64 | bellard | endif |
21 | 626df76a | bellard | |
22 | 40293e58 | bellard | PROGS=$(QEMU_PROG) |
23 | 626df76a | bellard | |
24 | 626df76a | bellard | LIBS+=-lm |
25 | 831b7825 | ths | |
26 | b248a85d | Juan Quintela | kvm.o kvm-all.o: QEMU_CFLAGS+=$(KVM_CFLAGS) |
27 | 7ba1e619 | aliguori | |
28 | 40293e58 | bellard | all: $(PROGS) |
29 | c2fb2637 | Paul Brook | # Dummy command so that make thinks it has done something |
30 | c2fb2637 | Paul Brook | @true |
31 | 626df76a | bellard | |
32 | 40293e58 | bellard | ######################################################### |
33 | 626df76a | bellard | # cpu emulator library |
34 | facd2857 | Blue Swirl | libobj-y = exec.o translate-all.o cpu-exec.o translate.o |
35 | c9e0df73 | Juan Quintela | libobj-y += tcg/tcg.o tcg/tcg-runtime.o |
36 | d6b38939 | Juan Quintela | libobj-$(CONFIG_SOFTFLOAT) += fpu/softfloat.o |
37 | d6b38939 | Juan Quintela | libobj-$(CONFIG_NOSOFTFLOAT) += fpu/softfloat-native.o |
38 | c9e0df73 | Juan Quintela | libobj-y += op_helper.o helper.o |
39 | 471857dd | Juan Quintela | libobj-$(CONFIG_NEED_MMU) += mmu.o |
40 | e18ea868 | Juan Quintela | libobj-$(TARGET_ARM) += neon_helper.o iwmmxt_helper.o |
41 | e18ea868 | Juan Quintela | libobj-$(TARGET_ALPHA) += alpha_palcode.o |
42 | cf6c1b16 | j_mayer | |
43 | 626df76a | bellard | # NOTE: the disassembler code is only needed for debugging |
44 | c9e0df73 | Juan Quintela | libobj-y += disas.o |
45 | 64656024 | Juan Quintela | libobj-$(CONFIG_ALPHA_DIS) += alpha-dis.o |
46 | 64656024 | Juan Quintela | libobj-$(CONFIG_ARM_DIS) += arm-dis.o |
47 | 64656024 | Juan Quintela | libobj-$(CONFIG_CRIS_DIS) += cris-dis.o |
48 | 64656024 | Juan Quintela | libobj-$(CONFIG_HPPA_DIS) += hppa-dis.o |
49 | 64656024 | Juan Quintela | libobj-$(CONFIG_I386_DIS) += i386-dis.o |
50 | 64656024 | Juan Quintela | libobj-$(CONFIG_M68K_DIS) += m68k-dis.o |
51 | 64656024 | Juan Quintela | libobj-$(CONFIG_MICROBLAZE_DIS) += microblaze-dis.o |
52 | 64656024 | Juan Quintela | libobj-$(CONFIG_MIPS_DIS) += mips-dis.o |
53 | 64656024 | Juan Quintela | libobj-$(CONFIG_PPC_DIS) += ppc-dis.o |
54 | 64656024 | Juan Quintela | libobj-$(CONFIG_S390_DIS) += s390-dis.o |
55 | 64656024 | Juan Quintela | libobj-$(CONFIG_SH4_DIS) += sh4-dis.o |
56 | 64656024 | Juan Quintela | libobj-$(CONFIG_SPARC_DIS) += sparc-dis.o |
57 | 626df76a | bellard | |
58 | 40293e58 | bellard | # libqemu |
59 | 40293e58 | bellard | |
60 | c9e0df73 | Juan Quintela | libqemu.a: $(libobj-y) |
61 | 40293e58 | bellard | |
62 | 86e840ee | aurel32 | translate.o: translate.c cpu.h |
63 | 40293e58 | bellard | |
64 | 86e840ee | aurel32 | translate-all.o: translate-all.c cpu.h |
65 | 40293e58 | bellard | |
66 | 86e840ee | aurel32 | tcg/tcg.o: cpu.h |
67 | 40293e58 | bellard | |
68 | 40293e58 | bellard | # HELPER_CFLAGS is used for all the code compiled with static register |
69 | 40293e58 | bellard | # variables |
70 | 864de24a | Juan Quintela | op_helper.o cpu-exec.o: QEMU_CFLAGS += $(HELPER_CFLAGS) |
71 | 40293e58 | bellard | |
72 | c81da56e | Juan Quintela | # Note: this is a workaround. The real fix is to avoid compiling |
73 | c81da56e | Juan Quintela | # cpu_signal_handler() in cpu-exec.c. |
74 | c81da56e | Juan Quintela | signal.o: QEMU_CFLAGS += $(HELPER_CFLAGS) |
75 | c81da56e | Juan Quintela | |
76 | 40293e58 | bellard | ######################################################### |
77 | 40293e58 | bellard | # Linux user emulator target |
78 | 40293e58 | bellard | |
79 | 40293e58 | bellard | ifdef CONFIG_LINUX_USER |
80 | 40293e58 | bellard | |
81 | 3ebdd119 | aurel32 | VPATH+=:$(SRC_PATH)/linux-user:$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) |
82 | a558ee17 | Juan Quintela | QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) |
83 | 40293e58 | bellard | |
84 | 37022086 | Blue Swirl | obj-y = main.o syscall.o strace.o mmap.o signal.o thunk.o \ |
85 | 6af5a252 | Blue Swirl | elfload.o linuxload.o uaccess.o gdbstub.o gdbstub-xml.o |
86 | 5ba65319 | Blue Swirl | |
87 | 943e0a31 | Juan Quintela | obj-$(TARGET_HAS_BFLT) += flatload.o |
88 | 943e0a31 | Juan Quintela | obj-$(TARGET_HAS_ELFLOAD32) += elfload32.o |
89 | 40293e58 | bellard | |
90 | e18ea868 | Juan Quintela | obj-$(TARGET_I386) += vm86.o |
91 | 1c872672 | Juan Quintela | |
92 | e27b27b3 | Blue Swirl | obj-i386-y += ioport-user.o |
93 | 5ba65319 | Blue Swirl | |
94 | ed69c30d | Juan Quintela | nwfpe-obj-y = fpa11.o fpa11_cpdo.o fpa11_cpdt.o fpa11_cprt.o fpopcode.o |
95 | 9c1dd99b | Juan Quintela | nwfpe-obj-y += single_cpdo.o double_cpdo.o extended_cpdo.o |
96 | 1c872672 | Juan Quintela | obj-arm-y += $(addprefix nwfpe/, $(nwfpe-obj-y)) |
97 | 1c872672 | Juan Quintela | obj-arm-y += arm-semi.o |
98 | 1c872672 | Juan Quintela | |
99 | 1c872672 | Juan Quintela | obj-m68k-y += m68k-sim.o m68k-semi.o |
100 | 40293e58 | bellard | |
101 | 16394485 | Juan Quintela | ARLIBS=../libqemu_user.a libqemu.a |
102 | 40293e58 | bellard | endif #CONFIG_LINUX_USER |
103 | 40293e58 | bellard | |
104 | 40293e58 | bellard | ######################################################### |
105 | 40293e58 | bellard | # Darwin user emulator target |
106 | 40293e58 | bellard | |
107 | 40293e58 | bellard | ifdef CONFIG_DARWIN_USER |
108 | 40293e58 | bellard | |
109 | 40293e58 | bellard | VPATH+=:$(SRC_PATH)/darwin-user |
110 | a558ee17 | Juan Quintela | QEMU_CFLAGS+=-I$(SRC_PATH)/darwin-user -I$(SRC_PATH)/darwin-user/$(TARGET_ARCH) |
111 | 40293e58 | bellard | |
112 | 40293e58 | bellard | # Leave some space for the regular program loading zone |
113 | 40293e58 | bellard | LDFLAGS+=-Wl,-segaddr,__STD_PROG_ZONE,0x1000 -image_base 0x0e000000 |
114 | 40293e58 | bellard | |
115 | 40293e58 | bellard | LIBS+=-lmx |
116 | 40293e58 | bellard | |
117 | a8e492c0 | Juan Quintela | obj-y = main.o commpage.o machload.o mmap.o signal.o syscall.o thunk.o \ |
118 | 5ba65319 | Blue Swirl | gdbstub.o gdbstub-xml.o |
119 | 5ba65319 | Blue Swirl | |
120 | e27b27b3 | Blue Swirl | obj-i386-y += ioport-user.o |
121 | 40293e58 | bellard | |
122 | 16394485 | Juan Quintela | ARLIBS=libqemu.a |
123 | 40293e58 | bellard | |
124 | 40293e58 | bellard | endif #CONFIG_DARWIN_USER |
125 | 40293e58 | bellard | |
126 | 40293e58 | bellard | ######################################################### |
127 | 84778508 | blueswir1 | # BSD user emulator target |
128 | 84778508 | blueswir1 | |
129 | 84778508 | blueswir1 | ifdef CONFIG_BSD_USER |
130 | 84778508 | blueswir1 | |
131 | 84778508 | blueswir1 | VPATH+=:$(SRC_PATH)/bsd-user |
132 | a558ee17 | Juan Quintela | QEMU_CFLAGS+=-I$(SRC_PATH)/bsd-user -I$(SRC_PATH)/bsd-user/$(TARGET_ARCH) |
133 | 84778508 | blueswir1 | |
134 | 37022086 | Blue Swirl | obj-y = main.o bsdload.o elfload.o mmap.o signal.o strace.o syscall.o \ |
135 | 5ba65319 | Blue Swirl | gdbstub.o gdbstub-xml.o uaccess.o |
136 | 5ba65319 | Blue Swirl | |
137 | e27b27b3 | Blue Swirl | obj-i386-y += ioport-user.o |
138 | 84778508 | blueswir1 | |
139 | 16394485 | Juan Quintela | ARLIBS=libqemu.a ../libqemu_user.a |
140 | 84778508 | blueswir1 | |
141 | 84778508 | blueswir1 | endif #CONFIG_BSD_USER |
142 | 84778508 | blueswir1 | |
143 | 84778508 | blueswir1 | ######################################################### |
144 | 40293e58 | bellard | # System emulator target |
145 | 76dfdd24 | Juan Quintela | ifdef CONFIG_SOFTMMU |
146 | 40293e58 | bellard | |
147 | a25a0ef5 | Anthony Liguori | obj-y = vl.o monitor.o pci.o loader.o isa_mmio.o machine.o \ |
148 | 7282a033 | Gerd Hoffmann | gdbstub.o gdbstub-xml.o msix.o ioport.o qemu-config.o |
149 | 1fd31ad7 | aliguori | # virtio has to be here due to weird dependency between PCI and virtio-net. |
150 | 1fd31ad7 | aliguori | # need to fix this properly |
151 | 3987e1cf | Michael S. Tsirkin | obj-y += virtio-blk.o virtio-balloon.o virtio-net.o virtio-console.o virtio-pci.o |
152 | a8e492c0 | Juan Quintela | obj-$(CONFIG_KVM) += kvm.o kvm-all.o |
153 | a3392f9b | aliguori | |
154 | 40293e58 | bellard | LIBS+=-lz |
155 | 4fb240a4 | bellard | |
156 | b6271b48 | Juan Quintela | sound-obj-y = |
157 | b6271b48 | Juan Quintela | sound-obj-$(CONFIG_SB16) += sb16.o |
158 | b6271b48 | Juan Quintela | sound-obj-$(CONFIG_ES1370) += es1370.o |
159 | b6271b48 | Juan Quintela | sound-obj-$(CONFIG_AC97) += ac97.o |
160 | b6271b48 | Juan Quintela | sound-obj-$(CONFIG_ADLIB) += fmopl.o adlib.o |
161 | b6271b48 | Juan Quintela | sound-obj-$(CONFIG_GUS) += gus.o gusemu_hal.o gusemu_mixer.o |
162 | 57a943c4 | malc | sound-obj-$(CONFIG_CS4231A) += cs4231a.o |
163 | b6271b48 | Juan Quintela | |
164 | ed69c30d | Juan Quintela | adlib.o fmopl.o: QEMU_CFLAGS += -DBUILD_Y8950=0 |
165 | 85571bc7 | bellard | |
166 | a558ee17 | Juan Quintela | QEMU_CFLAGS += $(VNC_TLS_CFLAGS) |
167 | a558ee17 | Juan Quintela | QEMU_CFLAGS += $(VNC_SASL_CFLAGS) |
168 | 2f9606b3 | aliguori | |
169 | e37630ca | aliguori | # xen backend driver support |
170 | 943e0a31 | Juan Quintela | obj-$(CONFIG_XEN) += xen_machine_pv.o xen_domainbuild.o |
171 | e37630ca | aliguori | |
172 | a594cfbf | bellard | # USB layer |
173 | a8e492c0 | Juan Quintela | obj-y += usb-ohci.o |
174 | a594cfbf | bellard | |
175 | a41b2ff2 | pbrook | # PCI network cards |
176 | a8e492c0 | Juan Quintela | obj-y += eepro100.o |
177 | a8e492c0 | Juan Quintela | obj-y += ne2000.o |
178 | a8e492c0 | Juan Quintela | obj-y += pcnet.o |
179 | a8e492c0 | Juan Quintela | obj-y += rtl8139.o |
180 | a8e492c0 | Juan Quintela | obj-y += e1000.o |
181 | a41b2ff2 | pbrook | |
182 | 09aaa160 | Markus Armbruster | # PCI watchdog devices |
183 | 09aaa160 | Markus Armbruster | obj-y += wdt_i6300esb.o |
184 | 9dd986cc | Richard W.M. Jones | |
185 | a541f297 | bellard | # Hardware support |
186 | 59f2a787 | Gerd Hoffmann | obj-i386-y = ide/core.o ide/isa.o ide/pci.o pckbd.o vga.o $(sound-obj-y) dma.o isa-bus.o |
187 | 9637443f | Juan Quintela | obj-i386-y += fdc.o mc146818rtc.o serial.o i8259.o i8254.o pcspk.o pc.o |
188 | 9637443f | Juan Quintela | obj-i386-y += cirrus_vga.o apic.o ioapic.o parallel.o acpi.o piix_pci.o |
189 | 9637443f | Juan Quintela | obj-i386-y += usb-uhci.o vmmouse.o vmport.o vmware_vga.o hpet.o |
190 | 09aaa160 | Markus Armbruster | obj-i386-y += device-hotplug.o pci-hotplug.o smbios.o wdt_ib700.o |
191 | 9637443f | Juan Quintela | |
192 | 3cbee15b | j_mayer | # shared objects |
193 | 977e1244 | Gerd Hoffmann | obj-ppc-y = ppc.o ide/core.o ide/isa.o ide/pci.o ide/macio.o |
194 | 977e1244 | Gerd Hoffmann | obj-ppc-y += vga.o $(sound-obj-y) dma.o isa-bus.o openpic.o |
195 | 3cbee15b | j_mayer | # PREP target |
196 | 9637443f | Juan Quintela | obj-ppc-y += pckbd.o serial.o i8259.o i8254.o fdc.o mc146818rtc.o |
197 | 9637443f | Juan Quintela | obj-ppc-y += prep_pci.o ppc_prep.o |
198 | 3cbee15b | j_mayer | # Mac shared devices |
199 | 9637443f | Juan Quintela | obj-ppc-y += macio.o cuda.o adb.o mac_nvram.o mac_dbdma.o |
200 | 3cbee15b | j_mayer | # OldWorld PowerMac |
201 | 9637443f | Juan Quintela | obj-ppc-y += heathrow_pic.o grackle_pci.o ppc_oldworld.o |
202 | 3cbee15b | j_mayer | # NewWorld PowerMac |
203 | 9637443f | Juan Quintela | obj-ppc-y += unin_pci.o ppc_newworld.o |
204 | 3cbee15b | j_mayer | # PowerPC 4xx boards |
205 | 9637443f | Juan Quintela | obj-ppc-y += pflash_cfi02.o ppc4xx_devs.o ppc4xx_pci.o ppc405_uc.o ppc405_boards.o |
206 | 9637443f | Juan Quintela | obj-ppc-y += ppc440.o ppc440_bamboo.o |
207 | 74c62ba8 | aurel32 | # PowerPC E500 boards |
208 | 9637443f | Juan Quintela | obj-ppc-y += ppce500_pci.o ppce500_mpc8544ds.o |
209 | 9637443f | Juan Quintela | obj-ppc-$(CONFIG_KVM) += kvm_ppc.o |
210 | 3f0855b1 | Juan Quintela | obj-ppc-$(CONFIG_FDT) += device_tree.o |
211 | 9637443f | Juan Quintela | |
212 | 9637443f | Juan Quintela | obj-mips-y = mips_r4k.o mips_jazz.o mips_malta.o mips_mipssim.o |
213 | 9637443f | Juan Quintela | obj-mips-y += mips_timer.o mips_int.o dma.o vga.o serial.o i8254.o i8259.o rc4030.o |
214 | 9637443f | Juan Quintela | obj-mips-y += g364fb.o jazz_led.o dp8393x.o |
215 | 59f2a787 | Gerd Hoffmann | obj-mips-y += ide/core.o ide/isa.o ide/pci.o |
216 | ec82026c | Gerd Hoffmann | obj-mips-y += gt64xxx.o pckbd.o fdc.o mc146818rtc.o usb-uhci.o acpi.o ds1225y.o |
217 | 823e675a | Juan Quintela | obj-mips-y += piix4.o parallel.o cirrus_vga.o isa-bus.o pcspk.o $(sound-obj-y) |
218 | 9637443f | Juan Quintela | obj-mips-y += mipsnet.o |
219 | 9637443f | Juan Quintela | obj-mips-y += pflash_cfi01.o |
220 | 9637443f | Juan Quintela | obj-mips-y += vmware_vga.o |
221 | 9637443f | Juan Quintela | |
222 | 9637443f | Juan Quintela | obj-microblaze-y = petalogix_s3adsp1800_mmu.o |
223 | 9637443f | Juan Quintela | |
224 | 9637443f | Juan Quintela | obj-microblaze-y += microblaze_pic_cpu.o |
225 | 9637443f | Juan Quintela | obj-microblaze-y += xilinx_intc.o |
226 | 9637443f | Juan Quintela | obj-microblaze-y += xilinx_timer.o |
227 | 9637443f | Juan Quintela | obj-microblaze-y += xilinx_uartlite.o |
228 | 9637443f | Juan Quintela | obj-microblaze-y += xilinx_ethlite.o |
229 | 9637443f | Juan Quintela | |
230 | 9637443f | Juan Quintela | obj-microblaze-y += pflash_cfi02.o |
231 | 72b675ca | Edgar E. Iglesias | |
232 | 3f0855b1 | Juan Quintela | obj-microblaze-$(CONFIG_FDT) += device_tree.o |
233 | 9637443f | Juan Quintela | |
234 | 10c144e2 | edgar_igl | # Boards |
235 | 9637443f | Juan Quintela | obj-cris-y = cris_pic_cpu.o etraxfs.o axis_dev88.o |
236 | 10c144e2 | edgar_igl | |
237 | 10c144e2 | edgar_igl | # IO blocks |
238 | 9637443f | Juan Quintela | obj-cris-y += etraxfs_dma.o |
239 | 9637443f | Juan Quintela | obj-cris-y += etraxfs_pic.o |
240 | 9637443f | Juan Quintela | obj-cris-y += etraxfs_eth.o |
241 | 9637443f | Juan Quintela | obj-cris-y += etraxfs_timer.o |
242 | 9637443f | Juan Quintela | obj-cris-y += etraxfs_ser.o |
243 | 9637443f | Juan Quintela | |
244 | 9637443f | Juan Quintela | obj-cris-y += pflash_cfi02.o |
245 | e62b5b13 | edgar_igl | |
246 | 3475187d | bellard | ifeq ($(TARGET_ARCH), sparc64) |
247 | 59f2a787 | Gerd Hoffmann | obj-sparc-y = sun4u.o ide/core.o ide/pci.o isa-bus.o pckbd.o vga.o apb_pci.o |
248 | 9637443f | Juan Quintela | obj-sparc-y += fdc.o mc146818rtc.o serial.o |
249 | 9637443f | Juan Quintela | obj-sparc-y += cirrus_vga.o parallel.o |
250 | 3475187d | bellard | else |
251 | 9637443f | Juan Quintela | obj-sparc-y = sun4m.o tcx.o iommu.o slavio_intctl.o |
252 | f915a115 | Gerd Hoffmann | obj-sparc-y += slavio_timer.o slavio_misc.o fdc.o isa-bus.o sparc32_dma.o |
253 | 9637443f | Juan Quintela | obj-sparc-y += cs4231.o eccmemctl.o sbi.o sun4c_intctl.o |
254 | 9637443f | Juan Quintela | endif |
255 | 9637443f | Juan Quintela | |
256 | 9637443f | Juan Quintela | obj-arm-y = integratorcp.o versatilepb.o smc91c111.o arm_pic.o arm_timer.o |
257 | 9637443f | Juan Quintela | obj-arm-y += arm_boot.o pl011.o pl031.o pl050.o pl080.o pl110.o pl181.o pl190.o |
258 | 9637443f | Juan Quintela | obj-arm-y += versatile_pci.o |
259 | 9637443f | Juan Quintela | obj-arm-y += realview_gic.o realview.o arm_sysctl.o mpcore.o |
260 | 9637443f | Juan Quintela | obj-arm-y += armv7m.o armv7m_nvic.o stellaris.o pl022.o stellaris_enet.o |
261 | 9637443f | Juan Quintela | obj-arm-y += pl061.o |
262 | 9637443f | Juan Quintela | obj-arm-y += arm-semi.o |
263 | 9637443f | Juan Quintela | obj-arm-y += pxa2xx.o pxa2xx_pic.o pxa2xx_gpio.o pxa2xx_timer.o pxa2xx_dma.o |
264 | 9637443f | Juan Quintela | obj-arm-y += pxa2xx_lcd.o pxa2xx_mmci.o pxa2xx_pcmcia.o pxa2xx_keypad.o |
265 | 9637443f | Juan Quintela | obj-arm-y += pflash_cfi01.o gumstix.o |
266 | 59f2a787 | Gerd Hoffmann | obj-arm-y += zaurus.o ide/core.o isa-bus.o ide/microdrive.o serial.o spitz.o tosa.o tc6393xb.o |
267 | 9637443f | Juan Quintela | obj-arm-y += omap1.o omap_lcdc.o omap_dma.o omap_clk.o omap_mmc.o omap_i2c.o |
268 | 9637443f | Juan Quintela | obj-arm-y += omap2.o omap_dss.o soc_dma.o |
269 | 9637443f | Juan Quintela | obj-arm-y += omap_sx1.o palm.o tsc210x.o |
270 | 9637443f | Juan Quintela | obj-arm-y += nseries.o blizzard.o onenand.o vga.o cbus.o tusb6010.o usb-musb.o |
271 | 9637443f | Juan Quintela | obj-arm-y += mst_fpga.o mainstone.o |
272 | ef07b491 | Andrzej Zaborowski | obj-arm-y += musicpal.o pflash_cfi02.o bitbang_i2c.o marvell_88w8618_audio.o |
273 | 9637443f | Juan Quintela | obj-arm-y += framebuffer.o |
274 | 9637443f | Juan Quintela | obj-arm-y += syborg.o syborg_fb.o syborg_interrupt.o syborg_keyboard.o |
275 | 9637443f | Juan Quintela | obj-arm-y += syborg_serial.o syborg_timer.o syborg_pointer.o syborg_rtc.o |
276 | 9637443f | Juan Quintela | obj-arm-y += syborg_virtio.o |
277 | 9637443f | Juan Quintela | |
278 | 9637443f | Juan Quintela | obj-sh4-y = shix.o r2d.o sh7750.o sh7750_regnames.o tc58128.o |
279 | 9637443f | Juan Quintela | obj-sh4-y += sh_timer.o sh_serial.o sh_intc.o sh_pci.o sm501.o serial.o |
280 | 59f2a787 | Gerd Hoffmann | obj-sh4-y += ide/core.o isa-bus.o ide/mmio.o |
281 | 9637443f | Juan Quintela | |
282 | 9637443f | Juan Quintela | obj-m68k-y = an5206.o mcf5206.o mcf_uart.o mcf_intc.o mcf5208.o mcf_fec.o |
283 | 9637443f | Juan Quintela | obj-m68k-y += m68k-semi.o dummy_m68k.o |
284 | 9637443f | Juan Quintela | |
285 | f622d8a3 | Juan Quintela | main.o vl.o: QEMU_CFLAGS+=$(GPROF_CFLAGS) |
286 | 6e1b3e4d | bellard | |
287 | a558ee17 | Juan Quintela | vl.o: QEMU_CFLAGS+=$(SDL_CFLAGS) |
288 | 537fe2d6 | Anthony Liguori | |
289 | 5824d651 | blueswir1 | vl.o: qemu-options.h |
290 | 5824d651 | blueswir1 | |
291 | 2313086a | Blue Swirl | monitor.o: qemu-monitor.h |
292 | 2313086a | Blue Swirl | |
293 | 16394485 | Juan Quintela | ARLIBS=../libqemu_common.a libqemu.a $(HWLIB) |
294 | 626df76a | bellard | |
295 | 76dfdd24 | Juan Quintela | endif # CONFIG_SOFTMMU |
296 | 00a67ba1 | bellard | |
297 | 16394485 | Juan Quintela | $(QEMU_PROG): $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y) $(ARLIBS) |
298 | 16394485 | Juan Quintela | $(call LINK,$(obj-y) $(obj-$(TARGET_BASE_ARCH)-y)) |
299 | 16394485 | Juan Quintela | |
300 | 16394485 | Juan Quintela | |
301 | 56aebc89 | pbrook | gdbstub-xml.c: $(TARGET_XML_FILES) feature_to_c.sh |
302 | 56aebc89 | pbrook | ifeq ($(TARGET_XML_FILES),) |
303 | 1aef4c57 | aurel32 | $(call quiet-command,rm -f $@ && echo > $@," GEN $(TARGET_DIR)$@") |
304 | 56aebc89 | pbrook | else |
305 | 1aef4c57 | aurel32 | $(call quiet-command,rm -f $@ && $(SHELL) $(SRC_PATH)/feature_to_c.sh $@ $(TARGET_XML_FILES)," GEN $(TARGET_DIR)$@") |
306 | 56aebc89 | pbrook | endif |
307 | 56aebc89 | pbrook | |
308 | 5824d651 | blueswir1 | qemu-options.h: $(SRC_PATH)/qemu-options.hx |
309 | 0d00e563 | aliguori | $(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@," GEN $(TARGET_DIR)$@") |
310 | 5824d651 | blueswir1 | |
311 | 2313086a | Blue Swirl | qemu-monitor.h: $(SRC_PATH)/qemu-monitor.hx |
312 | 2313086a | Blue Swirl | $(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@," GEN $(TARGET_DIR)$@") |
313 | 2313086a | Blue Swirl | |
314 | 626df76a | bellard | clean: |
315 | 2313086a | Blue Swirl | rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o |
316 | 57fec1fe | bellard | rm -f *.d */*.d tcg/*.o |
317 | 2313086a | Blue Swirl | rm -f qemu-options.h qemu-monitor.h gdbstub-xml.c |
318 | 1e43adfc | bellard | |
319 | 5fafdf24 | ths | install: all |
320 | 9b14bb04 | bellard | ifneq ($(PROGS),) |
321 | 1625af87 | aliguori | $(INSTALL) -m 755 $(STRIP_OPT) $(PROGS) "$(DESTDIR)$(bindir)" |
322 | 9b14bb04 | bellard | endif |
323 | 626df76a | bellard | |
324 | 2f96c28d | j_mayer | # Include automatically generated dependency files |
325 | 2f96c28d | j_mayer | -include $(wildcard *.d */*.d) |