summaryrefslogtreecommitdiff
path: root/modules/devanagari/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'modules/devanagari/Makefile.am')
-rw-r--r--modules/devanagari/Makefile.am19
1 files changed, 13 insertions, 6 deletions
diff --git a/modules/devanagari/Makefile.am b/modules/devanagari/Makefile.am
index 2f3d5601..b050c95d 100644
--- a/modules/devanagari/Makefile.am
+++ b/modules/devanagari/Makefile.am
@@ -1,14 +1,21 @@
## Process this file with automake to create Makefile.in.
+sources = \
+ devanagari.c \
+ dev-ligatures.h
+
+if INCLUDE_DEVANAGARI
+noinst_LTLIBRARIES = libpango-devanagari.la
+moddefine = -DMODULE_PREFIX
+else
moduledir = $(libdir)/pango/modules
module_LTLIBRARIES = pango-devanagari.la
+endif
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/pango/
-
-pango_devanagari_la_SOURCES = \
- devanagari.c \
- dev-ligatures.h
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/pango/ $(moddefine)
pango_devanagari_la_LDFLAGS = -rpath $(libdir) -export-dynamic -avoid-version -module
+pango_devanagari_la_SOURCES = $(sources)
+
+libpango_devanagari_la_SOURCES = $(sources)
-EXTRA_DIST=