2009-07-29 12:21:07 -04:00
|
|
|
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
|
|
|
|
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 \
|
|
|
|
cogl-pango-pipeline-cache.c
|
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 \
|
|
|
|
cogl-pango-pipeline-cache.h
|
2009-07-29 12:21:07 -04:00
|
|
|
|
2011-02-09 21:32:11 -05:00
|
|
|
if COGL_STANDALONE_BUILD
|
|
|
|
lib_LTLIBRARIES = libcoglpango.la
|
|
|
|
else
|
2009-07-29 12:21:07 -04:00
|
|
|
noinst_LTLIBRARIES = libcoglpango.la
|
2011-02-09 21:32:11 -05:00
|
|
|
endif
|
2009-07-29 12:21:07 -04:00
|
|
|
|
|
|
|
libcoglpango_la_SOURCES = $(source_c) $(source_h) $(source_h_priv)
|
2011-02-09 21:32:11 -05:00
|
|
|
libcoglpango_la_CFLAGS = $(COGL_DEP_CFLAGS) $(COGL_EXTRA_CFLAGS) $(MAINTAINER_CFLAGS)
|
2011-04-19 12:48:40 -04:00
|
|
|
libcoglpango_la_LIBADD = $(COGL_DEP_LIBS) $(COGL_EXTRA_LDFLAGS)
|
2011-02-09 21:32:11 -05:00
|
|
|
if COGL_STANDALONE_BUILD
|
|
|
|
libcoglpango_la_LIBADD += $(top_builddir)/cogl/libcogl.la
|
|
|
|
libcoglpango_la_LDFLAGS = \
|
|
|
|
-export-dynamic \
|
|
|
|
-export-symbols-regex "^cogl.*"
|
|
|
|
-no-undefined \
|
|
|
|
-version-info @COGL_LT_CURRENT@:@COGL_LT_REVISION@:@COGL_LT_AGE@
|
|
|
|
endif
|
2009-07-29 12:21:07 -04:00
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
|
|
|
-DCLUTTER_COMPILATION \
|
|
|
|
-DG_LOG_DOMAIN=\"CoglPango\" \
|
2011-02-09 21:32:11 -05:00
|
|
|
-I$(top_srcdir)
|
|
|
|
if !COGL_STANDALONE_BUILD
|
|
|
|
INCLUDES += \
|
2009-07-29 12:21:07 -04:00
|
|
|
-I$(top_srcdir)/clutter \
|
|
|
|
-I$(top_srcdir)/clutter/cogl \
|
|
|
|
-I$(top_builddir)/clutter \
|
|
|
|
-I$(top_builddir)/clutter/cogl
|
2011-02-09 21:32:11 -05:00
|
|
|
endif
|
2009-07-29 12:21:07 -04:00
|
|
|
|
2011-02-09 21:32:11 -05:00
|
|
|
if COGL_STANDALONE_BUILD
|
|
|
|
coglpangoheadersdir = $(includedir)/cogl/cogl
|
|
|
|
coglpangoheaders_HEADERS = $(source_h)
|
|
|
|
else
|
2009-07-29 12:21:07 -04:00
|
|
|
coglpangoheadersdir = $(includedir)/clutter-@CLUTTER_API_VERSION@/cogl
|
|
|
|
coglpangoheaders_HEADERS = $(source_h)
|
2011-02-09 21:32:11 -05:00
|
|
|
endif
|
|
|
|
|