2009-07-29 16:21:07 +00:00
|
|
|
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
|
2011-05-06 16:13:56 +00:00
|
|
|
NULL =
|
|
|
|
|
|
|
|
CLEANFILES =
|
|
|
|
DISTCLEANFILES =
|
|
|
|
|
|
|
|
EXTRA_DIST =
|
|
|
|
|
2009-07-29 16:21:07 +00:00
|
|
|
source_c = \
|
2010-02-26 12:38:22 +00:00
|
|
|
cogl-pango-display-list.c \
|
|
|
|
cogl-pango-fontmap.c \
|
|
|
|
cogl-pango-render.c \
|
|
|
|
cogl-pango-glyph-cache.c \
|
2011-05-06 16:13:56 +00:00
|
|
|
cogl-pango-pipeline-cache.c \
|
|
|
|
$(NULL)
|
2009-07-29 16:21:07 +00:00
|
|
|
|
|
|
|
source_h = cogl-pango.h
|
|
|
|
|
|
|
|
source_h_priv = \
|
2010-02-26 12:38:22 +00:00
|
|
|
cogl-pango-display-list.h \
|
|
|
|
cogl-pango-private.h \
|
|
|
|
cogl-pango-glyph-cache.h \
|
2011-05-06 16:13:56 +00:00
|
|
|
cogl-pango-pipeline-cache.h \
|
|
|
|
$(NULL)
|
2009-07-29 16:21:07 +00:00
|
|
|
|
2011-05-05 21:04:07 +00:00
|
|
|
lib_LTLIBRARIES = libcogl-pango.la
|
2009-07-29 16:21:07 +00:00
|
|
|
|
2011-05-05 21:04:07 +00:00
|
|
|
libcogl_pango_la_SOURCES = $(source_c) $(source_h) $(source_h_priv)
|
|
|
|
libcogl_pango_la_CFLAGS = $(COGL_DEP_CFLAGS) $(COGL_EXTRA_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
|
|
libcogl_pango_la_LIBADD = $(COGL_DEP_LIBS) $(COGL_EXTRA_LDFLAGS)
|
|
|
|
libcogl_pango_la_LIBADD += $(top_builddir)/cogl/libcogl.la
|
|
|
|
libcogl_pango_la_LDFLAGS = \
|
2011-02-10 02:32:11 +00:00
|
|
|
-export-dynamic \
|
2011-05-06 16:13:56 +00:00
|
|
|
-export-symbols-regex "^cogl_pango_.*"
|
2011-02-10 02:32:11 +00:00
|
|
|
-no-undefined \
|
|
|
|
-version-info @COGL_LT_CURRENT@:@COGL_LT_REVISION@:@COGL_LT_AGE@
|
2009-07-29 16:21:07 +00:00
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
|
|
|
-DCLUTTER_COMPILATION \
|
|
|
|
-DG_LOG_DOMAIN=\"CoglPango\" \
|
2011-05-06 17:23:04 +00:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir)
|
2009-07-29 16:21:07 +00:00
|
|
|
|
2011-05-11 16:21:07 +00:00
|
|
|
cogl_pangoheadersdir = $(includedir)/cogl/cogl-pango
|
2011-05-05 21:04:07 +00:00
|
|
|
cogl_pangoheaders_HEADERS = $(source_h)
|
2011-02-10 02:32:11 +00:00
|
|
|
|
2011-05-05 20:52:40 +00:00
|
|
|
pc_files = cogl-pango-1.0.pc \
|
2011-06-10 17:47:12 +00:00
|
|
|
cogl-pango-$(COGL_API_VERSION)-experimental.pc
|
2011-05-05 20:52:40 +00:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = $(pc_files)
|
|
|
|
|
2011-05-06 16:13:56 +00:00
|
|
|
EXTRA_DIST += cogl-pango.pc.in
|
|
|
|
DISTCLEANFILES += $(pc_files)
|
|
|
|
|
|
|
|
-include $(INTROSPECTION_MAKEFILE)
|
|
|
|
|
|
|
|
INTROSPECTION_GIRS =
|
|
|
|
|
|
|
|
if HAVE_INTROSPECTION
|
2011-05-16 16:28:55 +00:00
|
|
|
INTROSPECTION_COMPILER_ARGS=--includedir=$(top_builddir)/cogl
|
|
|
|
|
2011-05-06 16:13:56 +00:00
|
|
|
CoglPango-1.0.gir: libcogl-pango.la Makefile
|
|
|
|
|
|
|
|
CoglPango_1_0_gir_NAMESPACE = CoglPango
|
|
|
|
CoglPango_1_0_gir_VERSION = 1.0
|
|
|
|
CoglPango_1_0_gir_LIBS = libcogl-pango.la
|
|
|
|
CoglPango_1_0_gir_FILES = $(source_h) $(source_c)
|
|
|
|
CoglPango_1_0_gir_CFLAGS = $(INCLUDES) $(AM_CPPFLAGS) $(COGL_DEP_CFLAGS)
|
|
|
|
CoglPango_1_0_gir_INCLUDES = Pango-1.0 PangoCairo-1.0
|
|
|
|
CoglPango_1_0_gir_EXPORT_PACKAGES = cogl-pango-1.0
|
|
|
|
CoglPango_1_0_gir_SCANNERFLAGS = \
|
|
|
|
--warn-all \
|
|
|
|
--identifier-prefix=CoglPango \
|
|
|
|
--symbol-prefix=cogl_pango \
|
2011-05-11 16:21:07 +00:00
|
|
|
--c-include='cogl-pango/cogl-pango.h' \
|
2011-05-06 16:13:56 +00:00
|
|
|
--include-uninstalled=$(top_builddir)/cogl/Cogl-1.0.gir
|
|
|
|
|
|
|
|
INTROSPECTION_GIRS += CoglPango-1.0.gir
|
|
|
|
|
|
|
|
girdir = $(datadir)/gir-1.0
|
|
|
|
gir_DATA = $(INTROSPECTION_GIRS)
|
|
|
|
|
|
|
|
typelibdir = $(libdir)/girepository-1.0
|
|
|
|
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
|
|
|
|
|
|
|
|
CLEANFILES += $(gir_DATA) $(typelib_DATA)
|
|
|
|
endif
|