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)
|
2011-08-02 13:14:06 +00:00
|
|
|
libcogl_pango_la_CFLAGS = $(COGL_DEP_CFLAGS) $(COGL_PANGO_DEP_CFLAGS) $(COGL_EXTRA_CFLAGS) $(MAINTAINER_CFLAGS)
|
2011-07-21 05:09:04 +00:00
|
|
|
libcogl_pango_la_LIBADD = $(top_builddir)/cogl/libcogl.la
|
2011-08-02 13:14:06 +00:00
|
|
|
libcogl_pango_la_LIBADD += $(COGL_DEP_LIBS) $(COGL_PANGO_DEP_LIBS) $(COGL_EXTRA_LDFLAGS)
|
2011-05-05 21:04:07 +00:00
|
|
|
libcogl_pango_la_LDFLAGS = \
|
2011-02-10 02:32:11 +00:00
|
|
|
-export-dynamic \
|
2013-02-19 17:56:31 +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
|
|
|
|
2013-01-17 22:56:41 +00:00
|
|
|
AM_CPPFLAGS = \
|
2012-06-20 17:49:08 +00:00
|
|
|
-DCOGL_COMPILATION \
|
2009-07-29 16:21:07 +00:00
|
|
|
-DG_LOG_DOMAIN=\"CoglPango\" \
|
2011-07-07 19:44:56 +00:00
|
|
|
-I$(top_srcdir)/cogl \
|
2011-11-02 13:41:32 +00:00
|
|
|
-I$(top_builddir)/cogl \
|
2011-07-07 19:44:56 +00:00
|
|
|
-I$(top_srcdir)/cogl/winsys \
|
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)
|
|
|
|
|
2011-05-12 09:06:32 +00:00
|
|
|
dist-hook: ../build/win32/vs9/cogl-pango.vcproj ../build/win32/vs10/cogl-pango.vcxproj ../build/win32/vs10/cogl-pango.vcxproj.filters
|
|
|
|
|
|
|
|
../build/win32/vs9/cogl-pango.vcproj: $(top_srcdir)/build/win32/vs9/cogl-pango.vcprojin
|
|
|
|
for F in $(source_c); do \
|
|
|
|
case $$F in \
|
|
|
|
*.c) echo ' <File RelativePath="..\..\..\cogl-pango\'$$F'" />' \
|
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done >coglpango.sourcefiles
|
|
|
|
$(CPP) -P - <$(top_srcdir)/build/win32/vs9/cogl-pango.vcprojin >$@
|
|
|
|
rm coglpango.sourcefiles
|
|
|
|
|
|
|
|
../build/win32/vs10/cogl-pango.vcxproj: $(top_srcdir)/build/win32/vs10/cogl-pango.vcxprojin
|
|
|
|
for F in $(source_c); do \
|
|
|
|
case $$F in \
|
|
|
|
*.c) echo ' <ClCompile Include="..\..\..\cogl-pango\'$$F'" />' \
|
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done >coglpango.vs10.sourcefiles
|
|
|
|
$(CPP) -P - <$(top_srcdir)/build/win32/vs10/cogl-pango.vcxprojin >$@
|
|
|
|
rm coglpango.vs10.sourcefiles
|
|
|
|
|
|
|
|
../build/win32/vs10/cogl-pango.vcxproj.filters: $(top_srcdir)/build/win32/vs10/cogl-pango.vcxproj.filtersin
|
|
|
|
for F in $(source_c); do \
|
|
|
|
case $$F in \
|
|
|
|
*.c) echo ' <ClCompile Include="..\..\..\cogl-pango\'$$F'"><Filter>Sources</Filter></ClCompile>' \
|
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done >coglpango.vs10.sourcefiles.filters
|
|
|
|
$(CPP) -P - <$(top_srcdir)/build/win32/vs10/cogl-pango.vcxproj.filtersin >$@
|
|
|
|
rm coglpango.vs10.sourcefiles.filters
|
|
|
|
|
2011-12-15 12:31:04 +00:00
|
|
|
EXTRA_DIST += cogl-pango.symbols cogl-pango.rc.in cogl-pango.rc
|
2011-05-12 09:06:32 +00:00
|
|
|
|
2011-12-15 12:31:04 +00:00
|
|
|
DISTCLEANFILES += ../build/win32/vs9/cogl-pango.vcproj ../build/win32/vs10/cogl-pango.vcxproj ../build/win32/vs10/cogl-pango.vcxproj.filters cogl-pango.rc
|
2011-05-12 09:06:32 +00:00
|
|
|
|
2011-05-06 16:13:56 +00:00
|
|
|
-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
|
2012-02-15 14:48:54 +00:00
|
|
|
CoglPango_1_0_gir_LIBS = $(top_builddir)/cogl/libcogl.la libcogl-pango.la
|
2011-05-06 16:13:56 +00:00
|
|
|
CoglPango_1_0_gir_FILES = $(source_h) $(source_c)
|
2013-01-17 22:56:41 +00:00
|
|
|
CoglPango_1_0_gir_CFLAGS = $(AM_CPPFLAGS) $(COGL_DEP_CFLAGS) $(COGL_PANGO_DEP_CFLAGS)
|
2011-05-06 16:13:56 +00:00
|
|
|
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
|