637b047717
Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Markus Armbruster <armbru@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-Id: <20180202064546.21746-1-kraxel@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
55 lines
1.6 KiB
Makefile
55 lines
1.6 KiB
Makefile
vnc-obj-y += vnc.o
|
|
vnc-obj-y += vnc-enc-zlib.o vnc-enc-hextile.o
|
|
vnc-obj-y += vnc-enc-tight.o vnc-palette.o
|
|
vnc-obj-y += vnc-enc-zrle.o
|
|
vnc-obj-y += vnc-auth-vencrypt.o
|
|
vnc-obj-$(CONFIG_VNC_SASL) += vnc-auth-sasl.o
|
|
vnc-obj-y += vnc-ws.o
|
|
vnc-obj-y += vnc-jobs.o
|
|
|
|
common-obj-y += keymaps.o console.o cursor.o qemu-pixman.o
|
|
common-obj-y += input.o input-keymap.o input-legacy.o
|
|
common-obj-$(CONFIG_LINUX) += input-linux.o
|
|
common-obj-$(CONFIG_SPICE) += spice-core.o spice-input.o spice-display.o
|
|
common-obj-$(CONFIG_SDL) += sdl.mo
|
|
common-obj-$(CONFIG_COCOA) += cocoa.o
|
|
common-obj-$(CONFIG_CURSES) += curses.o
|
|
common-obj-$(CONFIG_VNC) += $(vnc-obj-y)
|
|
common-obj-$(call lnot,$(CONFIG_VNC)) += vnc-stubs.o
|
|
common-obj-$(CONFIG_GTK) += gtk.o
|
|
common-obj-$(if $(CONFIG_WIN32),n,$(if $(CONFIG_SDL),y,$(CONFIG_GTK))) += x_keymap.o
|
|
|
|
ifeq ($(CONFIG_SDLABI),1.2)
|
|
sdl.mo-objs := sdl.o sdl_zoom.o
|
|
endif
|
|
ifeq ($(CONFIG_SDLABI),2.0)
|
|
sdl.mo-objs := sdl2.o sdl2-input.o sdl2-2d.o
|
|
ifeq ($(CONFIG_OPENGL),y)
|
|
sdl.mo-objs += sdl2-gl.o
|
|
endif
|
|
endif
|
|
sdl.mo-cflags := $(SDL_CFLAGS)
|
|
sdl.mo-libs := $(SDL_LIBS)
|
|
|
|
ifeq ($(CONFIG_OPENGL),y)
|
|
common-obj-y += shader.o
|
|
common-obj-y += console-gl.o
|
|
common-obj-y += egl-helpers.o
|
|
common-obj-y += egl-context.o
|
|
common-obj-$(CONFIG_OPENGL_DMABUF) += egl-headless.o
|
|
ifeq ($(CONFIG_GTK_GL),y)
|
|
common-obj-$(CONFIG_GTK) += gtk-gl-area.o
|
|
else
|
|
common-obj-$(CONFIG_GTK) += gtk-egl.o
|
|
endif
|
|
endif
|
|
|
|
gtk.o-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS)
|
|
gtk-egl.o-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS)
|
|
gtk-gl-area.o-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS)
|
|
|
|
gtk-egl.o-libs += $(OPENGL_LIBS)
|
|
shader.o-libs += $(OPENGL_LIBS)
|
|
console-gl.o-libs += $(OPENGL_LIBS)
|
|
egl-helpers.o-libs += $(OPENGL_LIBS)
|