summaryrefslogtreecommitdiffstats
path: root/rules/host-pango.make
blob: bdfef0214c58f3dd2a90778da099d1faa06aa9b8 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# -*-makefile-*-
#
# Copyright (C) 2007 by Robert Schwebel
#           (C) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_PANGO) += host-pango

#
# Paths and names
#
HOST_PANGO_DIR	= $(HOST_BUILDDIR)/$(PANGO)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

HOST_PANGO_PATH	:= PATH=$(HOST_PATH)
HOST_PANGO_ENV 	:= $(HOST_ENV)

#
# autoconf
#
ifdef PTXCONF_HOST_PANGO_BASIC
HOST_PANGO_MODULES += basic-fc,basic-win32,basic-x,basic-atsui
endif

ifdef PTXCONF_HOST_PANGO_ARABIC
HOST_PANGO_MODULES += arabic-fc
endif

ifdef PTXCONF_HOST_PANGO_HANGUL
HOST_PANGO_MODULES += hangul-fc
endif

ifdef PTXCONF_HOST_PANGO_HEBREW
HOST_PANGO_MODULES += hebrew-fc
endif

ifdef PTXCONF_HOST_PANGO_INDIC
HOST_PANGO_MODULES += indic-fc,indic-lang
endif

ifdef PTXCONF_HOST_PANGO_KHMER
HOST_PANGO_MODULES += khmer-fc
endif

ifdef PTXCONF_HOST_PANGO_SYRIAC
HOST_PANGO_MODULES += syriac-fc
endif

ifdef PTXCONF_HOST_PANGO_THAI
HOST_PANGO_MODULES += thai-fc
endif

ifdef PTXCONF_HOST_PANGO_TIBETAN
HOST_PANGO_MODULES += tibetan-fc
endif

HOST_PANGO_AUTOCONF := \
	$(HOST_AUTOCONF) \
	--enable-explicit-deps=yes \
	--without-dynamic-modules \
	--with-included-modules=$(subst $(space),$(comma),$(HOST_PANGO_MODULES))

#ifdef PTXCONF_PANGO_TARGET_X11
#HOST_PANGO_AUTOCONF += --with-x=$(SYSROOT)/usr
#else
#HOST_PANGO_AUTOCONF += --without-x
#endif

# vim: syntax=make