Merge remote-tracking branch 'remotes/lalrae/tags/mips-20150804' into staging
[qemu/ar7.git] / ui / Makefile.objs
blobc62d4d9722b826b1328539a558438c4f74c650a2
1 vnc-obj-y += vnc.o
2 vnc-obj-y += vnc-enc-zlib.o vnc-enc-hextile.o
3 vnc-obj-y += vnc-enc-tight.o vnc-palette.o
4 vnc-obj-y += vnc-enc-zrle.o
5 vnc-obj-$(CONFIG_VNC_TLS) += vnc-tls.o vnc-auth-vencrypt.o
6 vnc-obj-$(CONFIG_VNC_SASL) += vnc-auth-sasl.o
7 vnc-obj-y += vnc-ws.o
8 vnc-obj-y += vnc-jobs.o
10 common-obj-y += keymaps.o console.o cursor.o qemu-pixman.o
11 common-obj-y += input.o input-keymap.o input-legacy.o
12 common-obj-$(CONFIG_SPICE) += spice-core.o spice-input.o spice-display.o
13 common-obj-$(CONFIG_SDL) += sdl.mo x_keymap.o
14 common-obj-$(CONFIG_COCOA) += cocoa.o
15 common-obj-$(CONFIG_CURSES) += curses.o
16 common-obj-$(CONFIG_VNC) += $(vnc-obj-y)
17 common-obj-$(CONFIG_GTK) += gtk.o x_keymap.o
19 ifeq ($(CONFIG_SDLABI),1.2)
20 sdl.mo-objs := sdl.o sdl_zoom.o
21 endif
22 ifeq ($(CONFIG_SDLABI),2.0)
23 sdl.mo-objs := sdl2.o sdl2-input.o sdl2-2d.o
24 ifeq ($(CONFIG_OPENGL),y)
25 sdl.mo-objs += sdl2-gl.o
26 endif
27 endif
28 sdl.mo-cflags := $(SDL_CFLAGS)
30 ifeq ($(CONFIG_OPENGL),y)
31 common-obj-y += shader.o
32 common-obj-y += console-gl.o
33 common-obj-y += egl-helpers.o
34 common-obj-$(CONFIG_GTK) += gtk-egl.o
35 endif
37 gtk.o-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS)
38 gtk-egl.o-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS) $(OPENGL_CFLAGS)
39 shader.o-cflags += $(OPENGL_CFLAGS)
40 console-gl.o-cflags += $(OPENGL_CFLAGS)
41 egl-helpers.o-cflags += $(OPENGL_CFLAGS)
43 gtk-egl.o-libs += $(OPENGL_LIBS)
44 shader.o-libs += $(OPENGL_LIBS)
45 console-gl.o-libs += $(OPENGL_LIBS)
46 egl-helpers.o-libs += $(OPENGL_LIBS)