Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorChris Want <cwant@ualberta.ca>2003-05-25 09:22:46 +0400
committerChris Want <cwant@ualberta.ca>2003-05-25 09:22:46 +0400
commitfcad2744d7a10ac11ef18ca0abed237cdda34bba (patch)
tree6e50abfe39c1ee34865dc8e1ad5842258bb7506b /intern
parent6e6a73f38e39c84f4a2da983169957437bbe11a5 (diff)
Some tweaks to make the windows-gcc play nice with irix.
Diffstat (limited to 'intern')
-rw-r--r--intern/python/freeze/Makefile8
-rw-r--r--intern/python/freeze/makemakefile.py18
2 files changed, 9 insertions, 17 deletions
diff --git a/intern/python/freeze/Makefile b/intern/python/freeze/Makefile
index 893f6493a11..3f4f0fed112 100644
--- a/intern/python/freeze/Makefile
+++ b/intern/python/freeze/Makefile
@@ -22,15 +22,7 @@ all debug: default
install: importer
importer:
-ifeq ($(FREE_WINDOWS),true)
- cp $(NAN_PYTHON)/lib/python22.dll .
- dlltool.exe -v --output-lib $(NAN_PYTHON)/lib/freepy.a \
- --input-def $(NANBLENDERHOME)/dlltool/python.def \
- --dllname python22.dll
- ranlib $(NAN_PYTHON)/lib/freepy.a
- rm ./python22.dll
@[ -d $(TARGETDIR) ] || mkdir -p $(TARGETDIR)
-endif
$(NAN_PYTHON_BINARY) $(PYFLAGS) freeze.py -d -x os -x pprint -x string -x copy -I $(SRCDIR) -o $(TARGETDIR) $(SRCDIR)/VRMLmain.py
$(MAKE) -C $(TARGETDIR)
diff --git a/intern/python/freeze/makemakefile.py b/intern/python/freeze/makemakefile.py
index c13689304b7..6ad15207af8 100644
--- a/intern/python/freeze/makemakefile.py
+++ b/intern/python/freeze/makemakefile.py
@@ -25,15 +25,15 @@ def makemakefile(outfp, makevars, files, target):
for key in keys:
outfp.write("%s=%s\n" % (key, makevars[key]))
- outfp.write("\n\ninclude nan_definitions.mk\n")
- outfp.write("ifeq ($(OS),windows)\n")
- outfp.write(" CFLAGS=-I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION) $(OPT)\n")
- outfp.write(" ifneq ($(FREE_WINDOWS),true)\n")
- outfp.write(" CC=$(NANBLENDERHOME)/source/tools/cygwin/cl_wrapper.pl\n")
- outfp.write(" else\n")
- outfp.write(" CFLAGS += -mwindows -mno-cygwin\n")
- outfp.write(" endif\n")
- outfp.write("endif\n")
+ outfp.write("\n\ninclude nan_definitions.mk\n")
+ outfp.write("ifeq ($(OS),windows)\n")
+ outfp.write(" CFLAGS=-I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION) $(OPT)\n")
+ outfp.write(" ifneq ($(FREE_WINDOWS),true)\n")
+ outfp.write(" CC=$(NANBLENDERHOME)/source/tools/cygwin/cl_wrapper.pl\n")
+ outfp.write(" else\n")
+ outfp.write(" CFLAGS += -mwindows -mno-cygwin\n")
+ outfp.write(" endif\n")
+ outfp.write("endif\n")
outfp.write("\nall: %s\n\n" % libtarget)