]>
Commit | Line | Data |
---|---|---|
c90f71dd RD |
1 | ####################################################################### |
2 | # $Header$ | |
3 | # Simplified Wrapper and Interface Generator (SWIG) | |
4 | # | |
5 | # Windows NT/95 Makefile for version 1.1 | |
6 | # Kevin Butler & Dave Beazley | |
7 | # March 12, 1997 | |
8 | # | |
9 | # This file contains default values and various parameters for | |
10 | # building SWIG with MS Visual C++. | |
11 | # | |
12 | ####################################################################### | |
13 | ||
14 | ||
15 | # --------------------------------------------------------------------- | |
16 | # Set your compiler location here | |
17 | # MS Visual C++ defaults to the listed locations | |
18 | # (Set compiler, linker/lib manager, and location of standard includes | |
19 | # --------------------------------------------------------------------- | |
20 | ||
21 | CC = cl.exe | |
22 | LD = lib.exe | |
23 | ##CCHOME = c:\Tools\VisStudio\vc98 | |
24 | ##STD_INC = "$(CCHOME)/include" | |
25 | ||
26 | ||
27 | # | |
28 | # Set the prefix below to indicate where you want SWIG to install its | |
29 | # files. Normally this is c:\swig | |
30 | # | |
31 | # 'prefix' is used as a symbol for SWIG itself. | |
32 | # 'dprefix' is the DOS prefix with the backwards slash. | |
33 | ||
34 | ##prefix = c:/tools/swig1.1-883 | |
35 | ##dprefix = c:\tools\swig1.1-883 | |
36 | ||
37 | # Location and filename of the SWIG executable. Feel free to put this | |
38 | # wherever you'd like in your PATH, or leave it in c:\swig\swig.exe | |
39 | ||
40 | ##dSWIG_EXE = $(dprefix)\swig.exe | |
41 | ||
42 | ||
43 | # Location of the SWIG library. Is normally placed in c:\swig\swig_lib | |
44 | # on NT/Win95. The SWIG library contains configuration files and library modules | |
45 | # so you should install it someplace where it can be easily accessed. | |
46 | ||
47 | ##SWIG_LIB = $(prefix)/swig_lib | |
48 | ##dSWIG_LIB = $(dprefix)\swig_lib | |
49 | ||
50 | # | |
51 | # SWIG_OPTS controls swig defaults. | |
52 | # You may want to change SWIG_LANG or SWIG_DOC. | |
53 | # | |
54 | # SWIG_LANG may be one of : TCL,TCL8,PERL5,PERL4,PYTHON, or GUILE | |
55 | # SWIG_DOC may be one of : ASCII, LATEX, HTML, NONE | |
56 | # | |
57 | ||
58 | SWIG_OPTS = -DSWIG_LANG=PYTHON -DSWIG_DOC=ASCII | |
59 | ||
60 | MAKE = nmake /f makefile.vc | |
61 | ||
62 | ||
63 | ## -DSWIG_LIB="\"$(SWIG_LIB)\"" | |
64 | ||
65 | DEBUG = -Zi | |
66 | CFLAGS = $(DEBUG) -nologo -DSWIG_CC="\"$(CC)\"" -DMSDOS -DSTDC_HEADERS=1 -DHAVE_LIBDL=1 $(SWIG_OPTS) | |
67 | INCFLAGS= -I$(rootdir)/Include -I$(rootdir)/SWIG -I$(rootdir)/Modules | |
68 | LD_FLAGS= -VERBOSE | |
69 | ||
70 |