migration: Define MultifdRecvParams sooner
[qemu/ar7.git] / ui / Makefile.objs
blobcc784346cb65b6862057e05d2d101706be4918fa
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-y += 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_LINUX) += input-linux.o
13 common-obj-$(CONFIG_SPICE) += spice-core.o spice-input.o spice-display.o
14 common-obj-$(CONFIG_COCOA) += cocoa.o
15 common-obj-$(CONFIG_VNC) += $(vnc-obj-y)
16 common-obj-$(call lnot,$(CONFIG_VNC)) += vnc-stubs.o
18 common-obj-$(CONFIG_X11) += x_keymap.o
19 x_keymap.o-cflags := $(X11_CFLAGS)
20 x_keymap.o-libs := $(X11_LIBS)
22 # ui-sdl module
23 common-obj-$(CONFIG_SDL) += sdl.mo
24 ifeq ($(CONFIG_SDLABI),1.2)
25 sdl.mo-objs := sdl.o sdl_zoom.o
26 endif
27 ifeq ($(CONFIG_SDLABI),2.0)
28 sdl.mo-objs := sdl2.o sdl2-input.o sdl2-2d.o
29 ifeq ($(CONFIG_OPENGL),y)
30 sdl.mo-objs += sdl2-gl.o
31 endif
32 endif
33 sdl.mo-cflags := $(SDL_CFLAGS)
34 sdl.mo-libs := $(SDL_LIBS)
36 # ui-gtk module
37 common-obj-$(CONFIG_GTK) += gtk.mo
38 gtk.mo-objs := gtk.o
39 gtk.mo-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS)
40 gtk.mo-libs := $(GTK_LIBS) $(VTE_LIBS)
41 ifeq ($(CONFIG_OPENGL),y)
42 gtk.mo-objs += gtk-egl.o
43 gtk.mo-libs += $(OPENGL_LIBS)
44 ifeq ($(CONFIG_GTK_GL),y)
45 gtk.mo-objs += gtk-gl-area.o
46 endif
47 endif
49 common-obj-$(CONFIG_CURSES) += curses.mo
50 curses.mo-objs := curses.o
51 curses.mo-cflags := $(CURSES_CFLAGS)
52 curses.mo-libs := $(CURSES_LIBS)
54 common-obj-$(CONFIG_OPENGL) += shader.o
55 common-obj-$(CONFIG_OPENGL) += console-gl.o
56 common-obj-$(CONFIG_OPENGL) += egl-helpers.o
57 common-obj-$(CONFIG_OPENGL) += egl-context.o
58 common-obj-$(CONFIG_OPENGL_DMABUF) += egl-headless.o
60 shader.o-libs += $(OPENGL_LIBS)
61 console-gl.o-libs += $(OPENGL_LIBS)
62 egl-helpers.o-libs += $(OPENGL_LIBS)
63 egl-context.o-libs += $(OPENGL_LIBS)
64 egl-headless.o-libs += $(OPENGL_LIBS)