mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 11:30:45 -05:00
ab72a2275f
If we're using the system glib library then we need to make sure not to include headers under deps/glib otherwise we end up with with incompatible typedefs that break the build. Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit 5d5fc97b59951ec56a4193b7ee7909ebd3cfbb94)
34 lines
729 B
Makefile
34 lines
729 B
Makefile
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
# preamble
|
|
|
|
NULL =
|
|
|
|
lib_LTLIBRARIES = libcogl-gles2.la
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir)
|
|
|
|
if !USE_GLIB
|
|
INCLUDES += -I$(top_builddir)/deps/glib
|
|
endif
|
|
|
|
AM_CFLAGS = $(COGL_DEP_CFLAGS) $(COGL_EXTRA_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
|
|
libcogl_gles2_la_SOURCES = cogl-gles2-api.c
|
|
libcogl_gles2_la_LDFLAGS = \
|
|
-no-undefined \
|
|
-version-info @COGL_LT_CURRENT@:@COGL_LT_REVISION@:@COGL_LT_AGE@ \
|
|
-export-dynamic \
|
|
-export-symbols-regex "^gl*"
|
|
|
|
coglgles2includedir = $(includedir)/cogl/cogl-gles2/GLES2
|
|
coglgles2include_HEADERS = \
|
|
GLES2/gl2.h \
|
|
GLES2/gl2ext.h \
|
|
GLES2/gl2platform.h
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = cogl-gles2-experimental.pc
|