blob: ba39080edb2bd9659efe900f4ec9e79233a0fc67 [file] [log] [blame]
Daniel P. Berrange9fd72462015-07-01 18:10:31 +01001vnc-obj-y += vnc.o
Paolo Bonzini8867aef2012-05-22 13:48:15 +02002vnc-obj-y += vnc-enc-zlib.o vnc-enc-hextile.o
3vnc-obj-y += vnc-enc-tight.o vnc-palette.o
4vnc-obj-y += vnc-enc-zrle.o
Daniel P. Berrange3e305e42015-08-06 14:39:32 +01005vnc-obj-y += vnc-auth-vencrypt.o
Paolo Bonzini8867aef2012-05-22 13:48:15 +02006vnc-obj-$(CONFIG_VNC_SASL) += vnc-auth-sasl.o
Daniel P. Berrange8e9b0d22015-07-01 18:10:36 +01007vnc-obj-y += vnc-ws.o
Daniel P. Berrange2624bab2012-06-20 14:24:28 +01008vnc-obj-y += vnc-jobs.o
Paolo Bonzini8867aef2012-05-22 13:48:15 +02009
Gerd Hoffmann02aa76c2014-03-11 12:15:39 +010010common-obj-y += keymaps.o console.o cursor.o qemu-pixman.o
Gerd Hoffmann47ddfab2019-01-22 10:28:07 +010011common-obj-y += input.o input-keymap.o input-legacy.o kbd-state.o
Gerd Hoffmanne0d2bd52016-03-04 11:25:14 +010012common-obj-$(CONFIG_LINUX) += input-linux.o
Paolo Bonzini8867aef2012-05-22 13:48:15 +020013common-obj-$(CONFIG_SPICE) += spice-core.o spice-input.o spice-display.o
Paolo Bonzini8867aef2012-05-22 13:48:15 +020014common-obj-$(CONFIG_COCOA) += cocoa.o
Paolo Bonzini8867aef2012-05-22 13:48:15 +020015common-obj-$(CONFIG_VNC) += $(vnc-obj-y)
Gerd Hoffmann637b0472018-02-02 07:45:46 +010016common-obj-$(call lnot,$(CONFIG_VNC)) += vnc-stubs.o
Gerd Hoffmann87815952018-03-01 11:05:42 +010017
Gerd Hoffmann96400a12018-03-01 11:05:47 +010018# ui-sdl module
19common-obj-$(CONFIG_SDL) += sdl.mo
Gerd Hoffmannf1ddebd2014-11-11 11:09:26 +010020sdl.mo-objs := sdl2.o sdl2-input.o sdl2-2d.o
Gerd Hoffmann0b71a5d2014-11-11 16:54:45 +010021ifeq ($(CONFIG_OPENGL),y)
22sdl.mo-objs += sdl2-gl.o
23endif
Fam Zheng98001e72014-10-28 16:47:55 +080024sdl.mo-cflags := $(SDL_CFLAGS)
Fam Zheng8ecc89f2017-09-07 16:29:11 +080025sdl.mo-libs := $(SDL_LIBS)
Paolo Bonzini525877c2012-09-17 08:35:53 +020026
Gerd Hoffmanne0fb1292018-03-01 11:05:44 +010027# ui-gtk module
28common-obj-$(CONFIG_GTK) += gtk.mo
29gtk.mo-objs := gtk.o
30gtk.mo-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS)
31gtk.mo-libs := $(GTK_LIBS) $(VTE_LIBS)
Gerd Hoffmannc923cbe2018-03-06 10:09:47 +010032ifeq ($(CONFIG_OPENGL),y)
33gtk.mo-objs += gtk-egl.o
34gtk.mo-libs += $(OPENGL_LIBS)
35ifeq ($(CONFIG_GTK_GL),y)
36gtk.mo-objs += gtk-gl-area.o
37endif
38endif
Gerd Hoffmanne0fb1292018-03-01 11:05:44 +010039
Paolo Bonzini68898bc2018-05-17 14:39:42 +020040ifeq ($(CONFIG_X11),y)
41sdl.mo-objs += x_keymap.o
42gtk.mo-objs += x_keymap.o
43x_keymap.o-cflags := $(X11_CFLAGS)
44x_keymap.o-libs := $(X11_LIBS)
45endif
46
Gerd Hoffmann2373f7d2018-03-01 11:05:45 +010047common-obj-$(CONFIG_CURSES) += curses.mo
48curses.mo-objs := curses.o
Samuel Thibaulte08bb302019-03-11 14:51:26 +010049curses.mo-cflags := $(CURSES_CFLAGS) $(ICONV_CFLAGS)
50curses.mo-libs := $(CURSES_LIBS) $(ICONV_LIBS)
Gerd Hoffmann2373f7d2018-03-01 11:05:45 +010051
Marc-André Lureauf54d4322019-08-27 18:02:40 +040052ifeq ($(CONFIG_GIO)$(CONFIG_SPICE),yy)
53common-obj-$(if $(CONFIG_MODULES),m,y) += spice-app.mo
54endif
Marc-André Lureaud8aec9d2019-02-21 12:07:03 +010055spice-app.mo-objs := spice-app.o
56spice-app.mo-cflags := $(GIO_CFLAGS)
57spice-app.mo-libs := $(GIO_LIBS)
58
Gerd Hoffmann2f92f372018-03-06 10:09:48 +010059common-obj-$(CONFIG_OPENGL) += shader.o
60common-obj-$(CONFIG_OPENGL) += console-gl.o
61common-obj-$(CONFIG_OPENGL) += egl-helpers.o
62common-obj-$(CONFIG_OPENGL) += egl-context.o
Gerd Hoffmann371ec542017-05-17 14:27:44 +020063common-obj-$(CONFIG_OPENGL_DMABUF) += egl-headless.o
Gerd Hoffmann985e1c92015-04-24 07:48:45 +020064
Gerd Hoffmann985e1c92015-04-24 07:48:45 +020065shader.o-libs += $(OPENGL_LIBS)
Gerd Hoffmanncd2bc882015-01-09 11:40:23 +010066console-gl.o-libs += $(OPENGL_LIBS)
Gerd Hoffmann7ced9e92015-01-06 15:40:00 +010067egl-helpers.o-libs += $(OPENGL_LIBS)
Gerd Hoffmann2f92f372018-03-06 10:09:48 +010068egl-context.o-libs += $(OPENGL_LIBS)
69egl-headless.o-libs += $(OPENGL_LIBS)