]> git.sesse.net Git - vlc/blob - modules/text_renderer/Makefile.am
Keep using previous text_renderer install folder
[vlc] / modules / text_renderer / Makefile.am
1 textdir = $(pluginsdir)/text_renderer
2
3 libtdummy_plugin_la_SOURCES = text_renderer/tdummy.c
4 text_LTLIBRARIES = libtdummy_plugin.la
5
6 libfreetype_plugin_la_SOURCES = \
7         text_renderer/text_renderer.c text_renderer/text_renderer.h \
8         text_renderer/platform_fonts.c text_renderer/platform_fonts.h \
9         text_renderer/freetype.c
10 libfreetype_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
11 libfreetype_plugin_la_LIBADD = $(LIBM) $(FREETYPE_LIBS)
12 if HAVE_FREETYPE
13 text_LTLIBRARIES += libfreetype_plugin.la
14 endif
15 if HAVE_FONTCONFIG
16 libfreetype_plugin_la_CPPFLAGS += -DHAVE_FONTCONFIG
17 libfreetype_plugin_la_LIBADD += -lfontconfig
18 endif
19 if HAVE_FRIBIDI
20 libfreetype_plugin_la_CPPFLAGS += $(FRIBIDI_CFLAGS) -DHAVE_FRIBIDI
21 libfreetype_plugin_la_LIBADD += $(FRIBIDI_LIBS)
22 endif
23
24 libquartztext_plugin_la_SOURCES = text_renderer/quartztext.c
25 libquartztext_plugin_la_LDFLAGS = $(AM_LFLFAGS) \
26         -Wl,-framework,ApplicationServices
27 EXTRA_LTLIBRARIES += libquartztext_plugin.la
28 text_LTLIBRARIES += $(LTLIBquartztext)
29
30 libsvg_plugin_la_SOURCES = text_renderer/svg.c
31 libsvg_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(SVG_CFLAGS)
32 libsvg_plugin_la_LIBADD = $(SVG_LIBS)
33 EXTRA_LTLIBRARIES += libsvg_plugin.la
34 text_LTLIBRARIES += $(LTLIBsvg)
35
36 libwin32text_plugin_la_SOURCES = text_renderer/win32text.c
37 libwin32text_plugin_la_LIBADD = -lgdi32
38 if HAVE_WIN32
39 libfreetype_plugin_la_LIBADD += -liconv -lz
40 if !HAVE_WINSTORE
41 libfreetype_plugin_la_LIBADD += -lgdi32
42 text_LTLIBRARIES += libwin32text_plugin.la
43 endif
44 endif