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:
authorWouter van Heyst <larstiq-bforge@larstiq.dyndns.org>2003-01-26 05:42:22 +0300
committerWouter van Heyst <larstiq-bforge@larstiq.dyndns.org>2003-01-26 05:42:22 +0300
commit3bf8d2aa0cb57ffdeb7f3c18ee0ecd17738ac9a8 (patch)
tree0d6edb75da6ee39e7d56f666daa685d8c97955e9 /intern
parenta96eede8fb4f4a9ba7532767510229cf7fa8dd29 (diff)
Get the Blender module back using the traditional makefiles, other
build systems (auto, msvc, PB) do not seem to have this problem. - Change intern/python/freeze/Makefile to freeze outside of the source/ tree - Change source/blender/bpython/Makefile to not build the frozen stuff anymore - Change source/blender/bpython/intern/Makefile to use CURRENT_PYTHON_API instead of FUTURE_PYTHON_API, damage control
Diffstat (limited to 'intern')
-rw-r--r--intern/python/freeze/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/intern/python/freeze/Makefile b/intern/python/freeze/Makefile
index cb364b0cdeb..8318568a4d2 100644
--- a/intern/python/freeze/Makefile
+++ b/intern/python/freeze/Makefile
@@ -2,9 +2,11 @@
# This is the makefile for the bytecode freezing of all modules which
# the main file depends on (last argument in importer rule)
+include nan_definitions.mk
+
SRCDIR = ../modules
-TARGETDIR = ../../../source/blender/bpython/frozen
+TARGETDIR = $(OCGDIR)/blender/bpython/frozen
PYFLAGS = -S -O
@@ -13,7 +15,9 @@ default: importer
install: importer
importer:
- python $(PYFLAGS) freeze.py -d -x os -x pprint -I $(SRCDIR) -o $(TARGETDIR) $(SRCDIR)/VRMLmain.py
+ @[ -d $(TARGETDIR) ] || mkdir -p $(TARGETDIR)
+ python $(PYFLAGS) freeze.py -d -x os -x pprint -x string -x copy -I $(SRCDIR) -o $(TARGETDIR) $(SRCDIR)/VRMLmain.py
+ $(MAKE) -C $(TARGETDIR)
clean:
rm *.pyo