obj-$(CONFIG_XEN) += xen-all.o xen_machine_pv.o xen_domainbuild.o xen-mapcache.o
obj-$(CONFIG_NO_XEN) += xen-stub.o
-obj-i386-$(CONFIG_XEN) += xen_platform.o
-
+obj-i386-$(CONFIG_XEN) += xen_platform.o xen_apic.o
# HAX support
-ifeq ($(TARGET_ARCH), i386)
-ifdef CONFIG_WIN32
-obj-$(CONFIG_HAX) += \
- hax-all.o \
- hax-windows.o
-endif
+obj-$(CONFIG_HAX) += hax-all.o hax-windows.o
+obj-$(CONFIG_NO_HAX) += hax-stub.o
+ ifdef CONFIG_DARWIN
+ obj-$(CONFIG_HAX) += \
+ hax-all.o \
+ hax-darwin.o
+ endif
-endif
# Inter-VM PCI shared memory
CONFIG_IVSHMEM =
@exit 1
endif
+export CONFIG_OPENGLES
+
+ifdef CONFIG_OPENGLES
+ifdef CONFIG_WIN32
+GLESLIBS_LIST:=$(wildcard ../../arm-softmmu/*.dll)
+else
+GLESLIBS_LIST:=$(wildcard ../../arm-softmmu/lib*)
+endif
+endif
+
all: qemu skin_client
-
qemu: build_info ffmpeg_install check_hax
cd ../../ && $(MAKE)
qemu_clean:
cp skin/client/emulator-skin.jar $(EMUL_DIR)/bin
ifdef CONFIG_WIN32
cp check-hax.exe $(EMUL_DIR)/bin
-
+ endif
+ ifdef CONFIG_DARWIN
+ cp check-hax $(EMUL_DIR)/bin
+ endif
++ifdef CONFIG_LINUX
++ cp -pPr ../distrib/initscript/tizen-kvm $(EMUL_DIR)/etc
++ cp -pPr ../distrib/initscript/45-tizen-kvm.rules $(EMUL_DIR)/etc
+else
++
+endif
ifndef CONFIG_DARWIN
cp ../../qemu-img $(EMUL_DIR)/bin
else
cp ../../qemu-img $(EMUL_DIR)/bin
cp -pPR ../license $(EMUL_DIR)
- cp -pPR ../../pc-bios/bios.bin $(EMUL_DIR)/data/bios
- cp -pPR ../../pc-bios/linuxboot.bin $(EMUL_DIR)/data/bios
- cp -pPR ../../pc-bios/pxe-rtl8139.rom $(EMUL_DIR)/data/bios
- cp -pPR ../../pc-bios/pxe-virtio.rom $(EMUL_DIR)/data/bios
cp skin/client/lib/swt.jar $(EMUL_DIR)/bin/swt.jar
cp -pPR skin/client/skins $(EMUL_DIR)
+ cp -pPR skin/client/native_src/libshared.dylib $(EMUL_DIR)/bin
endif
-ifdef CONFIG_LINUX
- cp -pPr ../distrib/initscript/tizen-kvm $(EMUL_DIR)/etc
- cp -pPr ../distrib/initscript/45-tizen-kvm.rules $(EMUL_DIR)/etc
-else
-
-endif
-
# for dibs system...
all_dibs: qemu skin_client_dibs
skin_client_dibs:
else
endif
++ifdef CONFIG_LINUX
++ echo "Copying tizen-kvm to $(EMUL_DIR)/etc"
++ cp -pPr ../distrib/initscript/tizen-kvm $(EMUL_DIR)/etc
++ cp -pPr ../distrib/initscript/45-tizen-kvm.rules $(EMUL_DIR)/etc
++else
++
++endif
ifndef CONFIG_DARWIN
cp ../../qemu-img $(EMUL_DIR)/bin
cp -dpr ../license $(EMUL_DIR)
- cp skin/client/lib/swt.jar $(EMUL_DIR)/bin/swt.jar
- cp -dpr ../../pc-bios/bios.bin $(EMUL_DIR)/data/bios
- cp -dpr ../../pc-bios/linuxboot.bin $(EMUL_DIR)/data/bios
- cp -dpr ../../pc-bios/pxe-rtl8139.rom $(EMUL_DIR)/data/bios
- cp -dpr ../../pc-bios/pxe-virtio.rom $(EMUL_DIR)/data/bios
cp -dpr skin/client/skins $(EMUL_DIR)
else
cp ../../qemu-img $(EMUL_DIR)/bin
cp -pPR ../license $(EMUL_DIR)
- cp skin/client/lib/swt.jar $(EMUL_DIR)/bin/swt.jar
- cp -pPR ../../pc-bios/bios.bin $(EMUL_DIR)/data/bios
- cp -pPR ../../pc-bios/linuxboot.bin $(EMUL_DIR)/data/bios
- cp -pPR ../../pc-bios/pxe-rtl8139.rom $(EMUL_DIR)/data/bios
- cp -pPR ../../pc-bios/pxe-virtio.rom $(EMUL_DIR)/data/bios
cp -pPR skin/client/skins $(EMUL_DIR)
+ cp -pPR skin/client/native_src/libshared.dylib $(EMUL_DIR)/bin
endif
-
-ifdef CONFIG_LINUX
- cp -pPr ../distrib/initscript/tizen-kvm $(EMUL_DIR)/etc
- cp -pPr ../distrib/initscript/45-tizen-kvm.rules $(EMUL_DIR)/etc
-else
-
-endif