annotate src/build-libtool.mk @ 3480:13be64f9f16d

move version info from index.html to src/*.mk files
author John W. Eaton <jwe@octave.org>
date Fri, 31 Jan 2014 16:04:01 -0500
parents cf6f40cededb
children 0e56fe2d2ef5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2971
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := build-libtool
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
6 $(PKG)_VERSION := 2.4.2
2971
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 22b71a8b5ce3ad86e1094e7285981cae10e6ff88
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := libtool-$($(PKG)_VERSION)
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := libtool-$($(PKG)_VERSION).tar.gz
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/libtool/$($(PKG)_FILE)
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_DEPS :=
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
3121
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
13 ifeq ($(MXE_SYSTEM),msvc)
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
14 $(PKG)_DEPS += build-msvctools
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
15 $(PKG)_CONFIGURE_OPTIONS := \
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
16 CC='$(MXE_CC)' CXX='$(MXE_CXX)' F77='$(MXE_F77)' ac_cv_f77_compiler_gnu=no \
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
17 FC='$(MXE_F77)' ac_cv_fc_compiler_gnu=no
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
18 else
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
19 $(PKG)_CONFIGURE_OPTIONS :=
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
20 endif
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
21
2971
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 define $(PKG)_UPDATE
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 echo $($(PKG)_VERSION)
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 endef
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 define $(PKG)_BUILD
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 mkdir '$(1).build'
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 cd '$(1).build' && '$(1)/configure' \
3121
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
30 --prefix='$(BUILD_TOOLS_PREFIX)' \
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
31 $($(PKG)_CONFIGURE_OPTIONS)
2971
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 $(MAKE) -C '$(1).build' -j '$(JOBS)'
3121
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
33 if test x$(MXE_SYSTEM) = xmsvc; then \
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
34 cd '$(1).build' && $(CONFIGURE_POST_HOOK); \
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
35 fi
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3121
diff changeset
36 $(MAKE) -C '$(1).build' -j 1 install DESTDIR='$(3)'
2971
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 endef