hw/s390/css: avoid taking address members in packed structs
[qemu/kevin.git] / ui / Makefile.objs
blobcc2bf5b180f37dbcabb6b53f16ffc9968182a64d
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 kbd-state.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 # ui-sdl module
19 common-obj-$(CONFIG_SDL) += sdl.mo
20 sdl.mo-objs := sdl2.o sdl2-input.o sdl2-2d.o
21 ifeq ($(CONFIG_OPENGL),y)
22 sdl.mo-objs += sdl2-gl.o
23 endif
24 sdl.mo-cflags := $(SDL_CFLAGS)
25 sdl.mo-libs := $(SDL_LIBS)
27 # ui-gtk module
28 common-obj-$(CONFIG_GTK) += gtk.mo
29 gtk.mo-objs := gtk.o
30 gtk.mo-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS)
31 gtk.mo-libs := $(GTK_LIBS) $(VTE_LIBS)
32 ifeq ($(CONFIG_OPENGL),y)
33 gtk.mo-objs += gtk-egl.o
34 gtk.mo-libs += $(OPENGL_LIBS)
35 ifeq ($(CONFIG_GTK_GL),y)
36 gtk.mo-objs += gtk-gl-area.o
37 endif
38 endif
40 ifeq ($(CONFIG_X11),y)
41 sdl.mo-objs += x_keymap.o
42 gtk.mo-objs += x_keymap.o
43 x_keymap.o-cflags := $(X11_CFLAGS)
44 x_keymap.o-libs := $(X11_LIBS)
45 endif
47 common-obj-$(CONFIG_CURSES) += curses.mo
48 curses.mo-objs := curses.o
49 curses.mo-cflags := $(CURSES_CFLAGS) $(ICONV_CFLAGS)
50 curses.mo-libs := $(CURSES_LIBS) $(ICONV_LIBS)
52 common-obj-$(call land,$(CONFIG_SPICE),$(CONFIG_GIO)) += spice-app.mo
53 spice-app.mo-objs := spice-app.o
54 spice-app.mo-cflags := $(GIO_CFLAGS)
55 spice-app.mo-libs := $(GIO_LIBS)
57 common-obj-$(CONFIG_OPENGL) += shader.o
58 common-obj-$(CONFIG_OPENGL) += console-gl.o
59 common-obj-$(CONFIG_OPENGL) += egl-helpers.o
60 common-obj-$(CONFIG_OPENGL) += egl-context.o
61 common-obj-$(CONFIG_OPENGL_DMABUF) += egl-headless.o
63 shader.o-libs += $(OPENGL_LIBS)
64 console-gl.o-libs += $(OPENGL_LIBS)
65 egl-helpers.o-libs += $(OPENGL_LIBS)
66 egl-context.o-libs += $(OPENGL_LIBS)
67 egl-headless.o-libs += $(OPENGL_LIBS)