summaryrefslogtreecommitdiff
path: root/hw/vigs/Makefile.objs
blob: 3ebd185f3550e96119eb7c9bb0eb5c02a9e3dad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# VIGS
obj-y += vigs_log.o
obj-y += vigs_device.o
libs_softmmu += $(GLX_LIBS)
obj-y += vigs_comm.o
obj-y += vigs_server.o
obj-y += vigs_onscreen_server.o
obj-y += vigs_offscreen_server.o
obj-y += vigs_backend.o
obj-y += vigs_surface.o
obj-y += vigs_utils.o
obj-y += vigs_vector.o
obj-y += vigs_ref.o
obj-y += vigs_fenceman.o
obj-y += vigs_gl_pool.o
obj-y += vigs_gl_backend.o
obj-y += vigs_sw_backend.o
obj-$(CONFIG_QT) += vigs_qt5.o
ifndef CONFIG_QT
obj-y += vigs_qt5_stub.o
endif
obj-y += work_queue.o
obj-y += winsys.o
obj-y += display.o

$(obj)/vigs_qt5.o: QEMU_CFLAGS += $(QT_CFLAGS)

# GL GLX backend
ifdef CONFIG_LINUX
obj-y += vigs_gl_backend_glx.o
endif
# GL WGL backend
ifdef CONFIG_WIN32
obj-y += vigs_gl_backend_wgl.o
$(obj)/%.o: QEMU_CFLAGS += -I$(SRC_PATH)/hw/vigs/vigs_inc
endif
# GL CGL backend
ifdef CONFIG_DARWIN
obj-y += vigs_gl_backend_cgl.o
$(obj)/%.o: QEMU_CFLAGS += -I$(SRC_PATH)/hw/vigs/vigs_inc
endif