pnv: Clean up cpu realize path
[qemu/rayw.git] / ui / Makefile.objs
blob00f6976c302ca67753d72d55dda8c67bc62899d5
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
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 ifeq ($(CONFIG_SDLABI),1.2)
21 sdl.mo-objs := sdl.o sdl_zoom.o
22 endif
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
27 endif
28 endif
29 sdl.mo-cflags := $(SDL_CFLAGS)
30 sdl.mo-libs := $(SDL_LIBS)
32 # ui-gtk module
33 common-obj-$(CONFIG_GTK) += gtk.mo
34 gtk.mo-objs := gtk.o
35 gtk.mo-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS)
36 gtk.mo-libs := $(GTK_LIBS) $(VTE_LIBS)
37 ifeq ($(CONFIG_OPENGL),y)
38 gtk.mo-objs += gtk-egl.o
39 gtk.mo-libs += $(OPENGL_LIBS)
40 ifeq ($(CONFIG_GTK_GL),y)
41 gtk.mo-objs += gtk-gl-area.o
42 endif
43 endif
45 ifeq ($(CONFIG_X11),y)
46 sdl.mo-objs += x_keymap.o
47 gtk.mo-objs += x_keymap.o
48 x_keymap.o-cflags := $(X11_CFLAGS)
49 x_keymap.o-libs := $(X11_LIBS)
50 endif
52 common-obj-$(CONFIG_CURSES) += curses.mo
53 curses.mo-objs := curses.o
54 curses.mo-cflags := $(CURSES_CFLAGS)
55 curses.mo-libs := $(CURSES_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)