~ubuntu-branches/ubuntu/karmic/pango1.0/karmic-security

« back to all changes in this revision

Viewing changes to modules/Makefile.am

Tags: upstream-1.15.4
ImportĀ upstreamĀ versionĀ 1.15.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to create Makefile.in.
 
2
 
 
3
SUBDIRS =               \
 
4
        arabic          \
 
5
        basic           \
 
6
        hangul          \
 
7
        hebrew          \
 
8
        indic           \
 
9
        khmer           \
 
10
        syriac          \
 
11
        thai            \
 
12
        tibetan
 
13
 
 
14
EXTRA_DIST =            \
 
15
        Module.mk       \
 
16
        module.def      \
 
17
        pangorc
 
18
 
 
19
CLEANFILES =            \
 
20
        pango.modules
 
21
 
 
22
if CROSS_COMPILING
 
23
RUN_QUERY_MODULES_TEST=false
 
24
else
 
25
RUN_QUERY_MODULES_TEST=test -z "$(DESTDIR)"
 
26
all-local: pango.modules
 
27
endif
 
28
 
 
29
install-data-local: $(top_builddir)/pango/pango-querymodules
 
30
        @if $(RUN_QUERY_MODULES_TEST) ; then                            \
 
31
          echo $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/pango \&\&      \
 
32
          $(top_builddir)/pango/pango-querymodules                      \
 
33
                \> $(DESTDIR)$(sysconfdir)/pango/pango.modules ;        \
 
34
          $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/pango &&             \
 
35
          $(top_builddir)/pango/pango-querymodules                      \
 
36
                > $(DESTDIR)$(sysconfdir)/pango/pango.modules ;         \
 
37
        else                                                            \
 
38
          echo "***" ;                                                  \
 
39
          echo "*** Warning: $(sysconfdir)/pango/pango.modules" ;       \
 
40
          echo "*** not created" ;                                      \
 
41
          echo "*** Generate this file on the target system" ;          \
 
42
          echo "*** using pango-querymodules" ;                         \
 
43
          echo "***" ;                                                  \
 
44
        fi
 
45
 
 
46
uninstall-local:
 
47
        $(RM) $(DESTDIR)$(sysconfdir)/pango/pango.modules
 
48
 
 
49
pango.modules:                                          \
 
50
        $(SUBDIRS)                                      \
 
51
        $(top_builddir)/config.status                   \
 
52
        $(top_builddir)/pango/pango-querymodules
 
53
        @if find . -name '*.la' | grep -v '\.libs' | grep -v libpango | grep '.' > /dev/null ; then \
 
54
          echo "Writing a pango.modules file to use with tests/examples."; \
 
55
          $(top_builddir)/pango/pango-querymodules `find . -name '*.la' | grep -v '\.libs' | grep -v libpango` > $@ ;\
 
56
        else \
 
57
          echo "No dynamic modules found; will use only static modules for tests/examples."; \
 
58
          > $@; \
 
59
        fi
 
60
 
 
61
included-modules:
 
62
        @for d in $(SUBDIRS) ; do \
 
63
                ( cd $$d && $(MAKE) $(AM_MAKEFLAGS) included-modules ) ; \
 
64
        done
 
65
 
 
66
dynamic-modules:
 
67
        @for d in $(SUBDIRS) ; do \
 
68
                ( cd $$d && $(MAKE) $(AM_MAKEFLAGS) dynamic-modules ) ; \
 
69
        done
 
70
 
 
71
.PHONY: included-modules dynamic-modules