2009-07-29 12:21:07 -04:00
|
|
|
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
|
2011-05-06 12:13:56 -04:00
|
|
|
NULL =
|
|
|
|
|
|
|
|
CLEANFILES =
|
|
|
|
DISTCLEANFILES =
|
|
|
|
|
|
|
|
EXTRA_DIST =
|
|
|
|
|
2009-07-29 12:21:07 -04:00
|
|
|
source_c = \
|
2010-02-26 07:38:22 -05:00
|
|
|
cogl-pango-display-list.c \
|
|
|
|
cogl-pango-fontmap.c \
|
|
|
|
cogl-pango-render.c \
|
|
|
|
cogl-pango-glyph-cache.c \
|
2011-05-06 12:13:56 -04:00
|
|
|
cogl-pango-pipeline-cache.c \
|
|
|
|
$(NULL)
|
2009-07-29 12:21:07 -04:00
|
|
|
|
|
|
|
source_h = cogl-pango.h
|
|
|
|
|
|
|
|
source_h_priv = \
|
2010-02-26 07:38:22 -05:00
|
|
|
cogl-pango-display-list.h \
|
|
|
|
cogl-pango-private.h \
|
|
|
|
cogl-pango-glyph-cache.h \
|
2011-05-06 12:13:56 -04:00
|
|
|
cogl-pango-pipeline-cache.h \
|
|
|
|
$(NULL)
|
2009-07-29 12:21:07 -04:00
|
|
|
|
2011-05-05 17:04:07 -04:00
|
|
|
lib_LTLIBRARIES = libcogl-pango.la
|
2009-07-29 12:21:07 -04:00
|
|
|
|
2011-05-05 17:04:07 -04: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-09 21:32:11 -05:00
|
|
|
-export-dynamic \
|
2011-05-06 12:13:56 -04:00
|
|
|
-export-symbols-regex "^cogl_pango_.*"
|
2011-02-09 21:32:11 -05:00
|
|
|
-no-undefined \
|
|
|
|
-version-info @COGL_LT_CURRENT@:@COGL_LT_REVISION@:@COGL_LT_AGE@
|
2009-07-29 12:21:07 -04:00
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
|
|
|
-DCLUTTER_COMPILATION \
|
|
|
|
-DG_LOG_DOMAIN=\"CoglPango\" \
|
2011-05-06 13:23:04 -04:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir)
|
2009-07-29 12:21:07 -04:00
|
|
|
|
2011-05-11 12:21:07 -04:00
|
|
|
cogl_pangoheadersdir = $(includedir)/cogl/cogl-pango
|
2011-05-05 17:04:07 -04:00
|
|
|
cogl_pangoheaders_HEADERS = $(source_h)
|
2011-02-09 21:32:11 -05:00
|
|
|
|
2011-05-05 16:52:40 -04:00
|
|
|
pc_files = cogl-pango-1.0.pc \
|
|
|
|
cogl-pango-$(COGL_API_VERSION).pc
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = $(pc_files)
|
|
|
|
|
2011-05-06 12:13:56 -04:00
|
|
|
EXTRA_DIST += cogl-pango.pc.in
|
|
|
|
DISTCLEANFILES += $(pc_files)
|
|
|
|
|
|
|
|
-include $(INTROSPECTION_MAKEFILE)
|
|
|
|
|
|
|
|
INTROSPECTION_GIRS =
|
|
|
|
|
|
|
|
if HAVE_INTROSPECTION
|
2011-05-16 12:28:55 -04:00
|
|
|
INTROSPECTION_COMPILER_ARGS=--includedir=$(top_builddir)/cogl
|
|
|
|
|
2011-05-06 12:13:56 -04: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 12:21:07 -04:00
|
|
|
--c-include='cogl-pango/cogl-pango.h' \
|
2011-05-06 12:13:56 -04: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
|