Mercurial > mxe-octave
annotate src/build-libtool.mk @ 3293:cf6f40cededb
Support file list generation in packages.
For the following modules:
- arpack
- blas
- build-autoconf
- build-automake
- build-cmake
- build-gperf
- build-libtool
- build-msvctools
- build-pkg-config
- build-texinfo
- bzip2
- curl
- dbus
- expat
- fftw
- fltk
- fontconfig
- freetype
- gettext
- glpk
- gmp
- gnuplot
- gnutls
- graphicsmagick
- hdf5
- jasper
- jpeg
- lapack
- lcms
- libgcrypt
- libgpg_error
- libiconv
- libidn
- libpng
- libssh2
- libxml2
- ncurses
- nettle
- openssl
- pcre
- pstoedit
- zlib
- qhull
- qrupdate
- qscintilla
- qt
- readline
- suitesparse
- texinfo
- tiff
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Sat, 09 Nov 2013 23:28:04 -0500 |
parents | 21f598a028ec |
children | 13be64f9f16d |
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 := |
7145a94e4f4e
build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 $(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
|
7 $(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
|
8 $(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
|
9 $(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
|
10 $(PKG)_DEPS := |
7145a94e4f4e
build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 |
3121
21f598a028ec
[MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
12 ifeq ($(MXE_SYSTEM),msvc) |
21f598a028ec
[MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
13 $(PKG)_DEPS += build-msvctools |
21f598a028ec
[MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
14 $(PKG)_CONFIGURE_OPTIONS := \ |
21f598a028ec
[MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
15 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
|
16 FC='$(MXE_F77)' ac_cv_fc_compiler_gnu=no |
21f598a028ec
[MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
17 else |
21f598a028ec
[MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
18 $(PKG)_CONFIGURE_OPTIONS := |
21f598a028ec
[MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
19 endif |
21f598a028ec
[MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
20 |
2971
7145a94e4f4e
build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 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
|
22 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
|
23 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
|
24 endef |
7145a94e4f4e
build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 |
7145a94e4f4e
build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 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
|
27 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
|
28 cd '$(1).build' && '$(1)/configure' \ |
3121
21f598a028ec
[MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
29 --prefix='$(BUILD_TOOLS_PREFIX)' \ |
21f598a028ec
[MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
30 $($(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
|
31 $(MAKE) -C '$(1).build' -j '$(JOBS)' |
3121
21f598a028ec
[MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
32 if test x$(MXE_SYSTEM) = xmsvc; then \ |
21f598a028ec
[MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
33 cd '$(1).build' && $(CONFIGURE_POST_HOOK); \ |
21f598a028ec
[MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
34 fi |
3293
cf6f40cededb
Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3121
diff
changeset
|
35 $(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
|
36 endef |