Mercurial > mxe-octave
annotate src/guile.mk @ 3256:7fb479d0241c
Update build tools for native mingw
* src/build-m4.mk: do nothing for native mingw build
* Makefile.in:
- add bison, m4 as natve mingw, and python as jit build requirements.
- remove build-bison as a mingw build dependancy
* index.html: Add msys-bison to mingw required packages and mention ghostscript and python.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 26 Sep 2013 21:18:39 -0400 |
parents | 5ef49fb3299d |
children | 13be64f9f16d |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2308
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
844 | 3 |
4 PKG := guile | |
2308
7e3c0c52552f
package guile: increase ignored version to 2.0.5
Tony Theodore <tonyt@logyst.com>
parents:
2153
diff
changeset
|
5 $(PKG)_IGNORE := 2.0.5 |
844 | 6 $(PKG)_CHECKSUM := 24cd2f06439c76d41d982a7384fe8a0fe5313b54 |
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) | |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
10 $(PKG)_DEPS := libtool gmp libiconv gettext libunistring gc libffi readline |
844 | 11 |
12 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
13 $(WGET) -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \ |
844 | 14 grep '<a class="list subject"' | \ |
15 $(SED) -n 's,.*<a[^>]*>[^0-9>]*\([0-9][^< ]*\)\.<.*,\1,p' | \ | |
16 head -1 | |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
937
2d9d50ec94e2
don't use "struct timespec" from <pthreads.h> in package guile
Volker Grabsch <vog@notjusthosting.com>
parents:
935
diff
changeset
|
20 # The setting "scm_cv_struct_timespec=no" ensures that Guile |
2d9d50ec94e2
don't use "struct timespec" from <pthreads.h> in package guile
Volker Grabsch <vog@notjusthosting.com>
parents:
935
diff
changeset
|
21 # won't try to use the "struct timespec" from <pthreads.h>, |
2d9d50ec94e2
don't use "struct timespec" from <pthreads.h> in package guile
Volker Grabsch <vog@notjusthosting.com>
parents:
935
diff
changeset
|
22 # which would fail because we tell Guile not to use Pthreads. |
1666
9c1cb932b77a
package guile: wine confuses native build steps so set CC_FOR_BUILD and --build
Tony Theodore <tonyt@logyst.com>
parents:
937
diff
changeset
|
23 cd '$(1)' && CC_FOR_BUILD=gcc ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
25 --prefix='$(HOST_PREFIX)' \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
26 $(ENABLE_SHARED_OR_STATIC) \ |
935
9993be51f18d
disable the use of the buggy Pthreads-w32 library in packages freetds, guile, libmikmod, libshout, libxml2, sqlite, tiff, vorbis and xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
872
diff
changeset
|
27 --without-threads \ |
937
2d9d50ec94e2
don't use "struct timespec" from <pthreads.h> in package guile
Volker Grabsch <vog@notjusthosting.com>
parents:
935
diff
changeset
|
28 scm_cv_struct_timespec=no \ |
1956
ec24966a70b9
packages gnutls p11-kit dlfcn-win32: rollback p11-kit support
Mark Brand <mabrand@mabrand.nl>
parents:
1951
diff
changeset
|
29 LIBS='-lunistring -lintl -liconv' \ |
1700
1749bf309c38
package guile: allow unused vars
Mark Brand <mabrand@mabrand.nl>
parents:
1669
diff
changeset
|
30 CFLAGS='-Wno-unused-but-set-variable' |
864
f7b6430ab3be
don't generate guile-procedures.txt in package guile because this requires a native guile installation
Volker Grabsch <vog@notjusthosting.com>
parents:
860
diff
changeset
|
31 $(MAKE) -C '$(1)' -j '$(JOBS)' schemelib_DATA= |
f7b6430ab3be
don't generate guile-procedures.txt in package guile because this requires a native guile installation
Volker Grabsch <vog@notjusthosting.com>
parents:
860
diff
changeset
|
32 $(MAKE) -C '$(1)' -j 1 install schemelib_DATA= |
844 | 33 |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
34 '$(MXE_CC)' \ |
1707
4e48476ea587
fix compiler errors instead of suppressing them
Volker Grabsch <vog@notjusthosting.com>
parents:
1700
diff
changeset
|
35 -W -Wall -Werror -ansi -pedantic \ |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
36 '$(2).c' -o '$(HOST_BINDIR)/test-guile.exe' \ |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
37 `'$(MXE_PKG_CONFIG)' guile-1.8 --cflags --libs` |
844 | 38 endef |