[lua] Fix Examples/lua to pass SRCS for C tests rather than CXXSRCS.
The code as it was happened to work on x86, but broke on x86_64 (and probably any other platforms which require -fPIC). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10067 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5e52a02a0c
commit
df8b78dbea
4 changed files with 14 additions and 9 deletions
|
|
@ -1,6 +1,11 @@
|
||||||
Version 1.3.32 (in progress)
|
Version 1.3.32 (in progress)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
10/28/2007: olly
|
||||||
|
[lua] Fix Examples/lua to pass SRCS for C tests rather than CXXSRCS.
|
||||||
|
The code as it was happened to work on x86, but broke on x86_64 (and
|
||||||
|
probably any other platforms which require -fPIC).
|
||||||
|
|
||||||
10/28/2007: wsfulton
|
10/28/2007: wsfulton
|
||||||
[Java, C#] New approach for fixing uninitialised variable usage on error in director
|
[Java, C#] New approach for fixing uninitialised variable usage on error in director
|
||||||
methods using the new templated initialisation function SwigValueInit().
|
methods using the new templated initialisation function SwigValueInit().
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
CXXSRCS = example.c
|
SRCS = example.c
|
||||||
TARGET = example
|
TARGET = example
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
LIBS =
|
LIBS =
|
||||||
|
|
||||||
all::
|
all::
|
||||||
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
|
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||||
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' lua
|
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' lua
|
||||||
|
|
||||||
static::
|
static::
|
||||||
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
|
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||||
TARGET='mylua' INTERFACE='$(INTERFACE)' lua_static
|
TARGET='mylua' INTERFACE='$(INTERFACE)' lua_static
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
CXXSRCS = example.c
|
SRCS = example.c
|
||||||
TARGET = example
|
TARGET = example
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
LIBS =
|
LIBS =
|
||||||
|
|
||||||
all::
|
all::
|
||||||
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
|
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||||
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' lua
|
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' lua
|
||||||
|
|
||||||
static::
|
static::
|
||||||
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
|
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||||
TARGET='mylua' INTERFACE='$(INTERFACE)' lua_static
|
TARGET='mylua' INTERFACE='$(INTERFACE)' lua_static
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
CXXSRCS = example.c
|
SRCS = example.c
|
||||||
TARGET = example
|
TARGET = example
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
LIBS =
|
LIBS =
|
||||||
|
|
||||||
all::
|
all::
|
||||||
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
|
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||||
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' lua
|
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' lua
|
||||||
|
|
||||||
static::
|
static::
|
||||||
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
|
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
|
||||||
TARGET='mylua' INTERFACE='$(INTERFACE)' lua_static
|
TARGET='mylua' INTERFACE='$(INTERFACE)' lua_static
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue