aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-03-06 10:09:47 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-03-12 09:00:34 +0100
commitc923cbedb20d5d4153a02d474ea710d634720622 (patch)
tree52549b09ab798dee5866a60bdb3be499988b48e3 /ui
parent11c82b584a4578f7c7e408448c9f61c729acabae (diff)
downloadqemu-c923cbedb20d5d4153a02d474ea710d634720622.zip
qemu-c923cbedb20d5d4153a02d474ea710d634720622.tar.gz
qemu-c923cbedb20d5d4153a02d474ea710d634720622.tar.bz2
ui/gtk: group gtk.mo declarations in Makefile
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180306090951.22932-3-kraxel@redhat.com
Diffstat (limited to 'ui')
-rw-r--r--ui/Makefile.objs12
1 files changed, 7 insertions, 5 deletions
diff --git a/ui/Makefile.objs b/ui/Makefile.objs
index d1203bb..b560ee1 100644
--- a/ui/Makefile.objs
+++ b/ui/Makefile.objs
@@ -38,6 +38,13 @@ common-obj-$(CONFIG_GTK) += gtk.mo
gtk.mo-objs := gtk.o
gtk.mo-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS)
gtk.mo-libs := $(GTK_LIBS) $(VTE_LIBS)
+ifeq ($(CONFIG_OPENGL),y)
+gtk.mo-objs += gtk-egl.o
+gtk.mo-libs += $(OPENGL_LIBS)
+ifeq ($(CONFIG_GTK_GL),y)
+gtk.mo-objs += gtk-gl-area.o
+endif
+endif
common-obj-$(CONFIG_CURSES) += curses.mo
curses.mo-objs := curses.o
@@ -50,11 +57,6 @@ 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)
-gtk.mo-objs += gtk-gl-area.o
-endif
-gtk.mo-objs += gtk-egl.o
-gtk.mo-libs += $(OPENGL_LIBS)
endif
shader.o-libs += $(OPENGL_LIBS)