Daniel P. Berrange | 9fd7246 | 2015-07-01 18:10:31 +0100 | [diff] [blame] | 1 | vnc-obj-y += vnc.o |
Paolo Bonzini | 8867aef | 2012-05-22 13:48:15 +0200 | [diff] [blame] | 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 |
Daniel P. Berrange | 3e305e4 | 2015-08-06 14:39:32 +0100 | [diff] [blame] | 5 | vnc-obj-y += vnc-auth-vencrypt.o |
Paolo Bonzini | 8867aef | 2012-05-22 13:48:15 +0200 | [diff] [blame] | 6 | vnc-obj-$(CONFIG_VNC_SASL) += vnc-auth-sasl.o |
Daniel P. Berrange | 8e9b0d2 | 2015-07-01 18:10:36 +0100 | [diff] [blame] | 7 | vnc-obj-y += vnc-ws.o |
Daniel P. Berrange | 2624bab | 2012-06-20 14:24:28 +0100 | [diff] [blame] | 8 | vnc-obj-y += vnc-jobs.o |
Paolo Bonzini | 8867aef | 2012-05-22 13:48:15 +0200 | [diff] [blame] | 9 | |
Gerd Hoffmann | 02aa76c | 2014-03-11 12:15:39 +0100 | [diff] [blame] | 10 | common-obj-y += keymaps.o console.o cursor.o qemu-pixman.o |
Gerd Hoffmann | 47ddfab | 2019-01-22 10:28:07 +0100 | [diff] [blame] | 11 | common-obj-y += input.o input-keymap.o input-legacy.o kbd-state.o |
Gerd Hoffmann | e0d2bd5 | 2016-03-04 11:25:14 +0100 | [diff] [blame] | 12 | common-obj-$(CONFIG_LINUX) += input-linux.o |
Paolo Bonzini | 8867aef | 2012-05-22 13:48:15 +0200 | [diff] [blame] | 13 | common-obj-$(CONFIG_SPICE) += spice-core.o spice-input.o spice-display.o |
Paolo Bonzini | 8867aef | 2012-05-22 13:48:15 +0200 | [diff] [blame] | 14 | common-obj-$(CONFIG_COCOA) += cocoa.o |
Paolo Bonzini | 8867aef | 2012-05-22 13:48:15 +0200 | [diff] [blame] | 15 | common-obj-$(CONFIG_VNC) += $(vnc-obj-y) |
Gerd Hoffmann | 637b047 | 2018-02-02 07:45:46 +0100 | [diff] [blame] | 16 | common-obj-$(call lnot,$(CONFIG_VNC)) += vnc-stubs.o |
Gerd Hoffmann | 8781595 | 2018-03-01 11:05:42 +0100 | [diff] [blame] | 17 | |
Gerd Hoffmann | 96400a1 | 2018-03-01 11:05:47 +0100 | [diff] [blame] | 18 | # ui-sdl module |
| 19 | common-obj-$(CONFIG_SDL) += sdl.mo |
Gerd Hoffmann | f1ddebd | 2014-11-11 11:09:26 +0100 | [diff] [blame] | 20 | sdl.mo-objs := sdl2.o sdl2-input.o sdl2-2d.o |
Gerd Hoffmann | 0b71a5d | 2014-11-11 16:54:45 +0100 | [diff] [blame] | 21 | ifeq ($(CONFIG_OPENGL),y) |
| 22 | sdl.mo-objs += sdl2-gl.o |
| 23 | endif |
Fam Zheng | 98001e7 | 2014-10-28 16:47:55 +0800 | [diff] [blame] | 24 | sdl.mo-cflags := $(SDL_CFLAGS) |
Fam Zheng | 8ecc89f | 2017-09-07 16:29:11 +0800 | [diff] [blame] | 25 | sdl.mo-libs := $(SDL_LIBS) |
Paolo Bonzini | 525877c | 2012-09-17 08:35:53 +0200 | [diff] [blame] | 26 | |
Gerd Hoffmann | e0fb129 | 2018-03-01 11:05:44 +0100 | [diff] [blame] | 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) |
Gerd Hoffmann | c923cbe | 2018-03-06 10:09:47 +0100 | [diff] [blame] | 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 |
Gerd Hoffmann | e0fb129 | 2018-03-01 11:05:44 +0100 | [diff] [blame] | 39 | |
Paolo Bonzini | 68898bc | 2018-05-17 14:39:42 +0200 | [diff] [blame] | 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 |
| 46 | |
Gerd Hoffmann | 2373f7d | 2018-03-01 11:05:45 +0100 | [diff] [blame] | 47 | common-obj-$(CONFIG_CURSES) += curses.mo |
| 48 | curses.mo-objs := curses.o |
Samuel Thibault | e08bb30 | 2019-03-11 14:51:26 +0100 | [diff] [blame] | 49 | curses.mo-cflags := $(CURSES_CFLAGS) $(ICONV_CFLAGS) |
| 50 | curses.mo-libs := $(CURSES_LIBS) $(ICONV_LIBS) |
Gerd Hoffmann | 2373f7d | 2018-03-01 11:05:45 +0100 | [diff] [blame] | 51 | |
Marc-André Lureau | f54d432 | 2019-08-27 18:02:40 +0400 | [diff] [blame] | 52 | ifeq ($(CONFIG_GIO)$(CONFIG_SPICE),yy) |
| 53 | common-obj-$(if $(CONFIG_MODULES),m,y) += spice-app.mo |
| 54 | endif |
Marc-André Lureau | d8aec9d | 2019-02-21 12:07:03 +0100 | [diff] [blame] | 55 | spice-app.mo-objs := spice-app.o |
| 56 | spice-app.mo-cflags := $(GIO_CFLAGS) |
| 57 | spice-app.mo-libs := $(GIO_LIBS) |
| 58 | |
Gerd Hoffmann | 2f92f37 | 2018-03-06 10:09:48 +0100 | [diff] [blame] | 59 | common-obj-$(CONFIG_OPENGL) += shader.o |
| 60 | common-obj-$(CONFIG_OPENGL) += console-gl.o |
| 61 | common-obj-$(CONFIG_OPENGL) += egl-helpers.o |
| 62 | common-obj-$(CONFIG_OPENGL) += egl-context.o |
Gerd Hoffmann | 371ec54 | 2017-05-17 14:27:44 +0200 | [diff] [blame] | 63 | common-obj-$(CONFIG_OPENGL_DMABUF) += egl-headless.o |
Gerd Hoffmann | 985e1c9 | 2015-04-24 07:48:45 +0200 | [diff] [blame] | 64 | |
Gerd Hoffmann | 985e1c9 | 2015-04-24 07:48:45 +0200 | [diff] [blame] | 65 | shader.o-libs += $(OPENGL_LIBS) |
Gerd Hoffmann | cd2bc88 | 2015-01-09 11:40:23 +0100 | [diff] [blame] | 66 | console-gl.o-libs += $(OPENGL_LIBS) |
Gerd Hoffmann | 7ced9e9 | 2015-01-06 15:40:00 +0100 | [diff] [blame] | 67 | egl-helpers.o-libs += $(OPENGL_LIBS) |
Gerd Hoffmann | 2f92f37 | 2018-03-06 10:09:48 +0100 | [diff] [blame] | 68 | egl-context.o-libs += $(OPENGL_LIBS) |
| 69 | egl-headless.o-libs += $(OPENGL_LIBS) |