summaryrefslogtreecommitdiff
path: root/modules/tamil/Makefile.am
blob: 4b18fbb43214a16daf2cec0e2b257a499f1a0d5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
## Process this file with automake to create Makefile.in.

pangolibs = $(top_builddir)/pango/libpango-$(PANGO_API_VERSION).la $(FRIBIDI_LIBS) $(GLIB_LIBS)
pangoxlibs = $(top_builddir)/pango/libpangox-$(PANGO_API_VERSION).la $(X_LIBS) $(pangolibs)
pangoft2libs = $(top_builddir)/pango/libpangoft2-$(PANGO_API_VERSION).la $(FREETYPE_LIBS) $(pangolibs)

x_sources = \
	tamil-x.c \
	tadefs.h

if HAVE_X
if INCLUDE_TAMIL_X
X_MODULES=
X_INCLUDED=libpango-tamil-x.la
X_PREFIX=-DX_MODULE_PREFIX
else
X_MODULES=pango-tamil-x.la
X_INCLUDED=
X_PREFIX=
tamil_x_libadd=$(pangoxlibs)
endif
else
X_MODULES=
X_INCLUDED=
X_PREFIX=
endif

noinst_LTLIBRARIES = $(X_INCLUDED)
module_LTLIBRARIES = $(X_MODULES)
moddefine = $(X_PREFIX)
moduledir = $(libdir)/pango/$(PANGO_MODULE_VERSION)/modules

INCLUDES = 				\
	-DPANGO_ENABLE_ENGINE		\
	-DG_DISABLE_DEPRECATED		\
	$(PANGO_DEBUG_FLAGS)		\
	-I$(top_srcdir)			\
	-I$(top_srcdir)/pango/		\
	$(moddefine)			\
	$(GLIB_CFLAGS)			\
	$(FREETYPE_CFLAGS)		\
	$(X_CFLAGS) 

pango_tamil_x_la_LDFLAGS = -export-dynamic -avoid-version -module
pango_tamil_x_la_LIBADD = $(tamil_x_libadd)
pango_tamil_x_la_SOURCES = $(x_sources)

libpango_tamil_x_la_SOURCES = $(x_sources)

included-modules: $(noinst_LTLIBRARIES)

.PHONY: included-modules