1 textdir = $(pluginsdir)/text_renderer
3 libtdummy_plugin_la_SOURCES = text_renderer/tdummy.c
4 text_LTLIBRARIES = libtdummy_plugin.la
6 libfreetype_plugin_la_SOURCES = \
7 text_renderer/freetype/platform_fonts.c text_renderer/freetype/platform_fonts.h \
8 text_renderer/freetype/freetype.c text_renderer/freetype/freetype.h \
9 text_renderer/freetype/text_layout.c text_renderer/freetype/text_layout.h
11 libfreetype_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
12 libfreetype_plugin_la_LIBADD = $(LIBM)
13 libfreetype_plugin_la_LDFLAGS = $(FREETYPE_LDFLAGS) -rpath '$(textdir)'
16 libfreetype_plugin_la_SOURCES += text_renderer/freetype/fonts/dwrite.cpp
17 libfreetype_plugin_la_LINK = $(CXXLINK)
19 libfreetype_plugin_la_SOURCES += text_renderer/freetype/fonts/win32.c
20 libfreetype_plugin_la_LIBADD += -liconv -lz -lusp10 -lgdi32 -luuid
22 libfreetype_plugin_la_LIBADD += -ldwrite
25 libfreetype_plugin_la_LINK = $(LINK)
28 libfreetype_plugin_la_SOURCES += text_renderer/freetype/fonts/fontconfig.c
29 libfreetype_plugin_la_CPPFLAGS += -DHAVE_FONTCONFIG
30 libfreetype_plugin_la_LIBADD += $(FONTCONFIG_LIBS)
33 libfreetype_plugin_la_SOURCES += text_renderer/freetype/fonts/android.c
36 libfreetype_plugin_la_SOURCES += text_renderer/freetype/fonts/darwin.c
37 libfreetype_plugin_la_LDFLAGS += -Wl,-framework,CoreFoundation -Wl,-framework,CoreText
40 libfreetype_plugin_la_CPPFLAGS += $(FRIBIDI_CFLAGS) -DHAVE_FRIBIDI
41 libfreetype_plugin_la_LIBADD += $(FRIBIDI_LIBS)
44 libfreetype_plugin_la_CPPFLAGS += $(HARFBUZZ_CFLAGS) -DHAVE_HARFBUZZ
45 libfreetype_plugin_la_LIBADD += $(HARFBUZZ_LIBS)
47 libfreetype_plugin_la_LINK += $(libfreetype_plugin_la_LDFLAGS)
48 libfreetype_plugin_la_LIBADD += $(FREETYPE_LIBS)
50 text_LTLIBRARIES += libfreetype_plugin.la
54 libsvg_plugin_la_SOURCES = text_renderer/svg.c
55 libsvg_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(SVG_CFLAGS)
56 libsvg_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(textdir)'
57 libsvg_plugin_la_LIBADD = $(SVG_LIBS)
58 EXTRA_LTLIBRARIES += libsvg_plugin.la
59 text_LTLIBRARIES += $(LTLIBsvg)
62 libnsspeechsynthesizer_plugin_la_SOURCES = text_renderer/nsspeechsynthesizer.m
63 libnsspeechsynthesizer_plugin_la_LDFLAGS = $(AM_LDFLAGS) -Wl,-framework,Cocoa
65 text_LTLIBRARIES += libnsspeechsynthesizer_plugin.la
69 libsapi_plugin_la_SOURCES = text_renderer/sapi.cpp
70 libsapi_plugin_la_LIBADD = $(LIBCOM)
72 text_LTLIBRARIES += libsapi_plugin.la