diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-06 10:09:47 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-12 09:00:34 +0100 |
commit | c923cbedb20d5d4153a02d474ea710d634720622 (patch) | |
tree | 52549b09ab798dee5866a60bdb3be499988b48e3 /ui | |
parent | 11c82b584a4578f7c7e408448c9f61c729acabae (diff) |
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.objs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/ui/Makefile.objs b/ui/Makefile.objs index d1203bb80a..b560ee12c3 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) |