2009-09-16 16:43:58 +00:00
|
|
|
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
|
2008-10-30 17:11:29 +00:00
|
|
|
source_c = \
|
2009-03-25 14:18:00 +00:00
|
|
|
cogl-pango-display-list.c \
|
2008-10-30 17:11:29 +00:00
|
|
|
cogl-pango-fontmap.c \
|
|
|
|
cogl-pango-render.c \
|
|
|
|
cogl-pango-glyph-cache.c
|
2006-10-03 21:59:30 +00:00
|
|
|
|
2008-10-30 17:11:29 +00:00
|
|
|
source_h = cogl-pango.h
|
2006-10-03 21:59:30 +00:00
|
|
|
|
2008-10-30 17:11:29 +00:00
|
|
|
source_h_priv = \
|
2009-03-25 14:18:00 +00:00
|
|
|
cogl-pango-display-list.h \
|
2008-10-30 17:11:29 +00:00
|
|
|
cogl-pango-private.h \
|
|
|
|
cogl-pango-glyph-cache.h
|
2006-10-03 21:59:30 +00:00
|
|
|
|
2011-02-10 02:32:11 +00:00
|
|
|
if COGL_STANDALONE_BUILD
|
|
|
|
lib_LTLIBRARIES = libcoglpango.la
|
|
|
|
else
|
2008-10-30 17:11:29 +00:00
|
|
|
noinst_LTLIBRARIES = libcoglpango.la
|
2011-02-10 02:32:11 +00:00
|
|
|
endif
|
2006-10-03 21:59:30 +00:00
|
|
|
|
2009-05-25 11:41:16 +00:00
|
|
|
libcoglpango_la_SOURCES = $(source_c) $(source_h) $(source_h_priv)
|
2011-02-10 02:32:11 +00:00
|
|
|
libcoglpango_la_CFLAGS = $(COGL_DEP_CFLAGS) $(COGL_EXTRA_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
|
|
libcoglpango_la_LIBADD = $(COGL_DEP_LIBS)
|
|
|
|
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
|
2006-10-03 21:59:30 +00:00
|
|
|
|
2007-10-15 09:09:04 +00:00
|
|
|
INCLUDES = \
|
2009-06-15 09:48:56 +00:00
|
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
2009-05-25 11:41:16 +00:00
|
|
|
-DCLUTTER_COMPILATION \
|
|
|
|
-DG_LOG_DOMAIN=\"CoglPango\" \
|
2011-02-10 02:32:11 +00:00
|
|
|
-I$(top_srcdir)
|
|
|
|
if !COGL_STANDALONE_BUILD
|
|
|
|
INCLUDES += \
|
2009-05-25 11:41:16 +00:00
|
|
|
-I$(top_srcdir)/clutter \
|
|
|
|
-I$(top_srcdir)/clutter/cogl \
|
|
|
|
-I$(top_builddir)/clutter \
|
2009-08-14 10:29:03 +00:00
|
|
|
-I$(top_builddir)/clutter/cogl
|
2011-02-10 02:32:11 +00:00
|
|
|
endif
|
2006-10-03 21:59:30 +00:00
|
|
|
|
2011-02-10 02:32:11 +00:00
|
|
|
if COGL_STANDALONE_BUILD
|
|
|
|
coglpangoheadersdir = $(includedir)/cogl/cogl
|
|
|
|
coglpangoheaders_HEADERS = $(source_h)
|
|
|
|
else
|
2009-08-14 10:29:03 +00:00
|
|
|
coglpangoheadersdir = $(includedir)/clutter-@CLUTTER_API_VERSION@/cogl
|
2008-10-30 17:11:29 +00:00
|
|
|
coglpangoheaders_HEADERS = $(source_h)
|
2011-02-10 02:32:11 +00:00
|
|
|
endif
|
|
|
|
|