1
0
Fork 0
mutter-performance-source/cogl-gles2/Makefile.am
Damien Lespiau d2c41502a4 build: Allow to build cogl without an external glib dependency
This commit pushes --disable-glib to the extreme of embedding the par of
glib cogl depends on in tree to be able to generate a DSO that does not
depend on an external glib.

To do so, it:
  - keeps a lot of glib's configure.ac in as-glibconfig.m4
  - pulls the code cogl depends on and the necessary dependencies

Reviewed-by: Robert Bragg <robert@linux.intel.com>
2013-01-22 17:47:58 +00:00

30 lines
700 B
Makefile

include $(top_srcdir)/build/autotools/Makefile.am.silent
# preamble
NULL =
lib_LTLIBRARIES = libcogl-gles2.la
INCLUDES = \
-I$(top_srcdir) \
-I$(top_builddir) \
-I$(top_builddir)/deps/glib
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