Merged MzScheme changes contributed by John Lenz.
Minor build changes to fix MzScheme/C++ test cases. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3aabcbb587
commit
919fa9ab45
12 changed files with 345 additions and 508 deletions
|
|
@ -494,6 +494,7 @@ java_clean:
|
|||
##################################################################
|
||||
|
||||
MZC = test -n "@MZC@" && @MZC@
|
||||
MZDYNOBJ = @MZDYNOBJ@
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# Build a C/C++ dynamically loadable module
|
||||
|
|
@ -507,7 +508,7 @@ mzscheme: $(SRCS)
|
|||
mzscheme_cpp: $(SRCS)
|
||||
$(SWIG) -mzscheme -c++ $(SWIGOPT) $(INTERFACE)
|
||||
$(MZC) ++ccf "$(INCLUDES)" --cc $(ICXXSRCS) $(SRCS) $(CXXSRCS)
|
||||
$(MZC) --ld $(TARGET)$(SO) $(OBJS) $(IOBJS) $(CPP_DLLIBS)
|
||||
$(CXXSHARED) -o $(TARGET)$(SO) $(OBJS) $(IOBJS) $(MZDYNOBJ) $(CPP_DLLIBS)
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# Build a dynamically loadable module, linked against SWIG runtime
|
||||
|
|
@ -523,7 +524,7 @@ mzscheme_multi: $(SRCS)
|
|||
mzscheme_multi_cpp: $(SRCS)
|
||||
$(SWIG) -c -mzscheme -c++ $(SWIGOPT) $(INTERFACE)
|
||||
$(MZC) ++ccf "$(INCLUDES)" --cc $(ICXXSRCS) $(SRCS) $(CXXSRCS)
|
||||
$(MZC) --ld $(TARGET)$(SO) $(OBJS) $(IOBJS) $(MZSCHEME_RUNTIME) $(CPP_DLLIBS)
|
||||
$(CXXSHARED) -o $(TARGET)$(SO) $(OBJS) $(IOBJS) $(MZSCHEME_RUNTIME) $(MZDYNOBJ) $(CPP_DLLIBS)
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Cleaning the mzscheme examples
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue