summaryrefslogtreecommitdiffstats
path: root/rules/host-glib.make
blob: 268473f28ce8a9c0486ab54949ee462e540ccded (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
# -*-makefile-*-
#
# Copyright (C) 2007 by Luotao Fu <lfu@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_GLIB) += host-glib

#
# Paths and names
#
HOST_GLIB_DIR	= $(HOST_BUILDDIR)/$(GLIB)

ifdef PTXCONF_HOST_GLIB
$(STATEDIR)/autogen-tools: $(STATEDIR)/host-glib.install.post
endif

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

HOST_GLIB_PATH	:= PATH=$(HOST_PATH)
HOST_GLIB_ENV 	:= $(HOST_ENV)

#
# autoconf
#
# 'iconv' feature: configure tests for this feature in the glibc first. If not
#                  found it checks for iconv library in the next step. On most
#                  hosts 'iconv' should be present in the regular host glibc.
#
HOST_GLIB_AUTOCONF := \
	$(HOST_AUTOCONF) \
	--with-libiconv=gnu

# vim: syntax=make