annotate src/xft.mk @ 4066:0962acdde3be

builld: allow out of source build * Makefile.in: add TOP_BUILD_DIR var and use TOP_DIR=srcdir, TOP_BUILD_DIR=builddir, modify paths to use TOP_DIR where needed * binary-dist-rules.mk: use TOP_DIR and TOP_BUILD_DIR where needed * makeinst-script.sh: use script path to determine TOPDIR, use TOPDIR where needed * src/default-octave.mk: install octave-version to builddir * src/stable-octave.mk: install octave-version to builddir * src/octave.mk: install octave-version to builddir * tools/set-mxe-env.sh.in: update fir builddir and srcdir use
author John Donoghue
date Wed, 23 Dec 2015 08:11:04 -0500
parents 4f58c4b4dee0
children 58de4f56c797
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := xft
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_VERSION := 2.3.2
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 0568a360a9f3ca97bdcdaf61535bf9d0bdae80db
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := libXft-$($(PKG)_VERSION)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := libXft-$($(PKG)_VERSION).tar.gz
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_URL := http://xorg.freedesktop.org/releases/individual/lib/$($(PKG)_FILE)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_DEPS := kbproto xrender fontconfig freetype
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 ifeq ($(MXE_WINDOWS_BUILD),yes)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 define $(PKG)_BUILD
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 endef
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 else
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 define $(PKG)_BUILD
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 mkdir '$(1)/.build'
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 --prefix='$(HOST_PREFIX)' \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 && $(CONFIGURE_POST_HOOK)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 endef
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 endif