]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxSWIG/Runtime/make.sh
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / wxSWIG / Runtime / make.sh
1 #!/bin/sh
2
3 necho() {
4 if [ "`echo -n`" = "-n" ]; then
5 echo "${@}\c"
6 else
7 echo -n "${@}"
8 fi
9 }
10
11 # Script that attempts to produce different run-time libraries
12
13 TARGET='perl_lib perl_shared py_lib py_shared tcl_lib tcl_shared tcl8_lib tcl8_shared'
14
15 echo "Building the SWIG runtime libraries..."
16 echo ""
17 echo "*** Note : Some builds may fail due to uninstalled packages or"
18 echo "unsupported features such as dynamic loading (don't panic)."
19 echo ""
20
21 for i in ${TARGET}; do
22 necho " Building ${i}";
23 if make ${i} >/dev/null 2>&1; then
24 # See if SWIG generated any errors at all
25 echo " ....... OK.";
26 else
27 echo " ....... failed.";
28 fi;
29 done
30