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
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_SDL) += sdl.mo x_keymap.o
15 common-obj-$(CONFIG_COCOA) += cocoa.o
16 common-obj-$(CONFIG_CURSES) += curses.o
17 common-obj-$(CONFIG_VNC) += $(vnc-obj-y)
18 common-obj-$(CONFIG_GTK) += gtk.o x_keymap.o
20 ifeq ($(CONFIG_SDLABI),1.2)
21 sdl.mo-objs := sdl.o sdl_zoom.o
23 ifeq ($(CONFIG_SDLABI),2.0)
24 sdl.mo-objs := sdl2.o sdl2-input.o sdl2-2d.o
25 ifeq ($(CONFIG_OPENGL),y)
26 sdl.mo-objs += sdl2-gl.o
29 sdl.mo-cflags := $(SDL_CFLAGS)
30 sdl.mo-libs := $(SDL_LIBS)
32 ifeq ($(CONFIG_OPENGL),y)
33 common-obj-y += shader.o
34 common-obj-y += console-gl.o
35 common-obj-y += egl-helpers.o
36 common-obj-y += egl-context.o
37 common-obj-$(CONFIG_OPENGL_DMABUF) += egl-headless.o
38 ifeq ($(CONFIG_GTK_GL),y)
39 common-obj-$(CONFIG_GTK) += gtk-gl-area.o
41 common-obj-$(CONFIG_GTK) += gtk-egl.o
45 gtk.o-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS)
46 gtk-egl.o-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS)
47 gtk-gl-area.o-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS)
49 gtk-egl.o-libs += $(OPENGL_LIBS)
50 shader.o-libs += $(OPENGL_LIBS)
51 console-gl.o-libs += $(OPENGL_LIBS)
52 egl-helpers.o-libs += $(OPENGL_LIBS)