special cases and other things in wxPython, and since I plan on making several more, I've decided to put the SWIG sources in wxPython's CVS instead of relying on maintaining patches. This effectivly becomes a fork of an obsolete version of SWIG, :-( but since SWIG 1.3 still doesn't have some things I rely on in 1.1, not to mention that my custom patches would all have to be redone, I felt that this is the easier road to take. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			31 lines
		
	
	
		
			663 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			663 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
necho() {
 | 
						|
   if [ "`echo -n`" = "-n" ]; then
 | 
						|
      echo "${@}\c"
 | 
						|
   else
 | 
						|
      echo -n "${@}"
 | 
						|
   fi
 | 
						|
}
 | 
						|
 | 
						|
# Script that attempts to produce different run-time libraries
 | 
						|
 | 
						|
TARGET='perl_lib perl_shared py_lib py_shared tcl_lib tcl_shared tcl8_lib tcl8_shared'
 | 
						|
 | 
						|
echo "Building the SWIG runtime libraries..."
 | 
						|
echo ""
 | 
						|
echo "*** Note : Some builds may fail due to uninstalled packages or"
 | 
						|
echo "unsupported features such as dynamic loading (don't panic)."
 | 
						|
echo ""
 | 
						|
 | 
						|
for i in ${TARGET}; do 
 | 
						|
necho "    Building ${i}"; 
 | 
						|
if make ${i} >/dev/null 2>&1; then 
 | 
						|
# See if SWIG generated any errors at all
 | 
						|
	echo " ....... OK.";
 | 
						|
else 
 | 
						|
    echo " ....... failed.";
 | 
						|
fi;
 | 
						|
done
 | 
						|
 |