1 #######################################################################
 
   3 # Simplified Wrapper and Interface Generator (SWIG)
 
   5 # Makefile for version 1.1
 
   9 # Modified for Visual C++
 
  14 # Revision 1.1  2002/04/29 19:56:47  RD
 
  15 # Since I have made several changes to SWIG over the years to accomodate
 
  16 # special cases and other things in wxPython, and since I plan on making
 
  17 # several more, I've decided to put the SWIG sources in wxPython's CVS
 
  18 # instead of relying on maintaining patches.  This effectivly becomes a
 
  19 # fork of an obsolete version of SWIG, :-( but since SWIG 1.3 still
 
  20 # doesn't have some things I rely on in 1.1, not to mention that my
 
  21 # custom patches would all have to be redone, I felt that this is the
 
  22 # easier road to take.
 
  24 # Revision 1.3  1999/11/01 15:24:53  beazley
 
  27 # Revision 1.2  1999/08/10 16:50:30  beazley
 
  30 # Revision 1.1.1.1  1999/02/28 02:00:53  beazley
 
  33 # Revision 1.1  1996/08/12 01:55:02  dmb
 
  36 #######################################################################
 
  39 !include <make_win.in>
 
  48         @echo "Making the SWIG Parser..."
 
  51         @echo "Make Modules..."
 
  67         @echo "Building Documentation for SWIG library..."
 
  68         .\swig -Iswig_lib -d Doc/swiglib -I./swig_lib ./swig_lib/autodoc.i
 
  74 ## # Install the SWIG program
 
  78 ## install: install-main install-lib install-runtime
 
  79 ##      @echo "Installation complete"
 
  85 ## install95: install-main95 install-lib95 install-runtime95
 
  86 ##      @echo "Installation complete"
 
  92 ## smallinstall: install-main
 
  95 ##      @if not exist $(dprefix) mkdir $(dprefix)
 
  96 ##      @echo "Installing $(dSWIG_EXE)"
 
  97 ##      @copy  ..\swig.exe $(dSWIG_EXE)
 
  99 ##      @if not exist $(dSWIG_LIB) mkdir $(dSWIG_LIB)
 
 100 ##      @echo "$(dSWIG_LIB)"
 
 101 ##      @echo "Installing the SWIG library"
 
 103 ##      @xcopy *.i $(dSWIG_LIB)
 
 104 ##      @xcopy *.swg $(dSWIG_LIB)
 
 105 ##      @if not exist $(dSWIG_LIB)\tcl mkdir $(dSWIG_LIB)\tcl
 
 107 ##      @xcopy *.i $(dSWIG_LIB)\tcl
 
 108 ##      @xcopy *.swg $(dSWIG_LIB)\tcl
 
 109 ##      @if not exist $(dSWIG_LIB)\perl5 mkdir $(dSWIG_LIB)\perl5
 
 111 ##      @xcopy *.i $(dSWIG_LIB)\perl5
 
 112 ##      @xcopy *.swg $(dSWIG_LIB)\perl5
 
 113 ##      @if not exist $(dSWIG_LIB)\python mkdir $(dSWIG_LIB)\python
 
 115 ##      @xcopy *.i $(dSWIG_LIB)\python
 
 116 ##      @xcopy *.swg $(dSWIG_LIB)\python
 
 117 ##      @if not exist $(dSWIG_LIB)\guile mkdir $(dSWIG_LIB)\guile
 
 119 ##      @xcopy *.i $(dSWIG_LIB)\guile
 
 120 ##      @xcopy *.swg $(dSWIG_LIB)\guile
 
 122 ## install-main95: swig
 
 123 ##      @if not exist $(dprefix) mkdir $(dprefix)
 
 124 ##      @echo "Installing $(dSWIG_EXE)"
 
 125 ##      @copy  ..\swig.exe $(dSWIG_EXE) /Y
 
 127 ##      @if not exist $(dSWIG_LIB) mkdir $(dSWIG_LIB)
 
 128 ##      @echo "$(dSWIG_LIB)"
 
 129 ##      @echo "Installing the SWIG library"
 
 131 ##      @xcopy *.i $(dSWIG_LIB) /Y
 
 132 ##      @xcopy *.swg $(dSWIG_LIB) /Y
 
 133 ##      @mkdir $(dSWIG_LIB)\tcl
 
 135 ##      @xcopy *.i $(dSWIG_LIB)\tcl /Y
 
 136 ##      @xcopy *.swg $(dSWIG_LIB)\tcl /Y
 
 137 ##      @mkdir $(dSWIG_LIB)\perl5
 
 139 ##      @xcopy *.i $(dSWIG_LIB)\perl5 /Y
 
 140 ##      @xcopy *.swg $(dSWIG_LIB)\perl5 /Y
 
 141 ##      @mkdir $(dSWIG_LIB)\python
 
 143 ##      @xcopy *.i $(dSWIG_LIB)\python /Y
 
 144 ##      @xcopy *.swg $(dSWIG_LIB)\python /Y
 
 145 ##      @mkdir $(dSWIG_LIB)\guile
 
 147 ##      @xcopy *.i $(dSWIG_LIB)\guile /Y
 
 148 ##      @xcopy *.swg $(dSWIG_LIB)\guile /Y
 
 150 #Makefile.template has not been ported to NT
 
 151 #       @echo "Installing Makefile"
 
 152 #       $(INSTALL_DATA) Makefile.template $(dSWIG_LIB)/Makefile