2f542b570b
This makes sure we install a cogl-gles2-1.0.pc and cogl-gles2-2.0-experimental.pc file consistent with other sub-libraries such that cogl-1.x packages can be parallel installed with cogl master. Reviewed-by: Neil Roberts <neil@linux.intel.com>
37 lines
787 B
Makefile
37 lines
787 B
Makefile
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
# preamble
|
|
|
|
NULL =
|
|
|
|
lib_LTLIBRARIES = libcogl-gles2.la
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir)
|
|
|
|
if !USE_GLIB
|
|
AM_CPPFLAGS += -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
|
|
|
|
pc_files = cogl-gles2-1.0.pc \
|
|
cogl-gles2-2.0-experimental.pc
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = $(pc_files)
|