annotate src/build-libtool.mk @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents 6b02060ae71c
children
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 :=
6247
6b02060ae71c libtool: update to 2.4.7
Markus Mützel <markus.muetzel@gmx.de>
parents: 4555
diff changeset
6 $(PKG)_VERSION := 2.4.7
6b02060ae71c libtool: update to 2.4.7
Markus Mützel <markus.muetzel@gmx.de>
parents: 4555
diff changeset
7 $(PKG)_CHECKSUM := d3f2d5399f4bf5cbd974b812ebaca28d6492ca65
2971
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
4545
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
23 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/libtool/?C=M;O=D' | \
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
24 $(SED) -n 's,.*<a href="libtool-\([0-9\.]*\)\.tar.*,\1,p' | \
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
25 $(SORT) -V | \
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
26 tail -1
2971
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 endef
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 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
30 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
31 cd '$(1).build' && '$(1)/configure' \
3121
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
32 --prefix='$(BUILD_TOOLS_PREFIX)' \
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
33 $($(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
34 $(MAKE) -C '$(1).build' -j '$(JOBS)'
3121
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
35 if test x$(MXE_SYSTEM) = xmsvc; then \
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
36 cd '$(1).build' && $(CONFIGURE_POST_HOOK); \
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
37 fi
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3121
diff changeset
38 $(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
39 endef