2012-03-23 21:41:48 -04:00
|
|
|
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
|
|
|
|
# preamble
|
|
|
|
|
|
|
|
NULL =
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libcogl-gles2.la
|
|
|
|
|
2013-01-17 17:56:41 -05:00
|
|
|
AM_CPPFLAGS = \
|
2012-09-16 21:20:10 -04:00
|
|
|
-I$(top_srcdir) \
|
2012-09-24 11:42:44 -04:00
|
|
|
-I$(top_builddir)
|
|
|
|
|
|
|
|
if !USE_GLIB
|
2013-01-17 17:56:41 -05:00
|
|
|
AM_CPPFLAGS += -I$(top_builddir)/deps/glib
|
2012-09-24 11:42:44 -04:00
|
|
|
endif
|
2012-03-23 21:41:48 -04:00
|
|
|
|
|
|
|
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*"
|
|
|
|
|
2012-08-16 09:17:18 -04:00
|
|
|
coglgles2includedir = $(includedir)/cogl/cogl-gles2/GLES2
|
2012-03-23 21:41:48 -04:00
|
|
|
coglgles2include_HEADERS = \
|
|
|
|
GLES2/gl2.h \
|
|
|
|
GLES2/gl2ext.h \
|
|
|
|
GLES2/gl2platform.h
|
|
|
|
|
2013-11-29 11:42:24 -05:00
|
|
|
pc_files = cogl-gles2-1.0.pc \
|
|
|
|
cogl-gles2-2.0-experimental.pc
|
|
|
|
|
2012-03-23 21:41:48 -04:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2013-11-29 11:42:24 -05:00
|
|
|
pkgconfig_DATA = $(pc_files)
|