Patch to support case-insensitive platforms (such as OS-X). The swig executable

is now built as 'eswig' and copied to the outer directory as 'swig.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4621 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-03-23 21:03:06 +00:00
commit f37626ae0a

View file

@ -26,7 +26,7 @@ AM_CXXFLAGS = -I$(SOURCE_DIR)/Include \
AM_YFLAGS = -d AM_YFLAGS = -d
BUILT_SOURCES = CParse/parser.h BUILT_SOURCES = CParse/parser.h
swig_SOURCES = CParse/cscanner.c \ eswig_SOURCES = CParse/cscanner.c \
CParse/parser.y \ CParse/parser.y \
CParse/templ.c \ CParse/templ.c \
CParse/util.c \ CParse/util.c \
@ -81,14 +81,14 @@ swig_SOURCES = CParse/cscanner.c \
Swig/warn.c \ Swig/warn.c \
Swig/wrapfunc.c Swig/wrapfunc.c
bin_PROGRAMS = swig bin_PROGRAMS = eswig
swig_LDADD = @SWIGLIBS@ eswig_LDADD = @SWIGLIBS@
# The executable is copied to the root directory for installation and running the test-suite. # The executable is copied to the root directory for installation and running the test-suite.
# This occurs on each invocation of make and is a step towards providing support for multiple # This occurs on each invocation of make and is a step towards providing support for multiple
# build directories. # build directories.
all-local: all-local:
cp swig@EXEEXT@ ../swig@release_suffix@@EXEEXT@ cp eswig@EXEEXT@ ../swig@release_suffix@@EXEEXT@
clean-local: clean-local:
rm -f ../swig@release_suffix@@EXEEXT@ rm -f ../swig@release_suffix@@EXEEXT@