Commit Graph

29 Commits

Author SHA1 Message Date
Hans Lambermont
ad625dd508 - fix 'debug' target
- add ID and copyrights to top level makefile
2003-02-17 16:51:16 +00:00
Hans Lambermont
99a1f599d8 fix clean target 2003-02-09 22:01:05 +00:00
6b65e39a44 Revert to the FUTURE_PYTHON_API, this means:
- switching the define on in buildsystems (NaN, auto and msvc are done)
- again import _Blender, which is the C module, from the Python modules
2003-02-06 03:30:25 +00:00
d45c5706d7 This small update should fix the build errors in python/freeze.
I added a check if the output directory (../frozen) exists and will create
the directory if it does not exist.
This time I tested it also with the NaN make environment :)

Michel
2003-02-01 12:01:41 +00:00
dd8f2d4ee3 Now the make freeze is done when any of the *.py files in intern/python
is updated.
* modulefinder creates a file src.list which contains all the *.py files
  needed for the python suport in Blender.
* Makefile.am is able to depend on the files listed in src.list.
* makemakefile_ac.py is reverted to the previous version. The old version
  contained my first attempt to get the make freeze trick working. It was
  wrong.

Michel
2003-01-31 20:24:18 +00:00
0853bef1e2 - files are now compiled in a different location. So the include path
to Python.h had to be adjusted
2003-01-26 13:12:29 +00:00
3bf8d2aa0c 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
2003-01-26 02:42:22 +00:00
c95d631b83 Removed references to modules that do not exist. The python interface is
broken, but it should give 0 errors when building.

Michel
2003-01-06 17:27:43 +00:00
fa45a02295 on Mac OS X run ranlib on libfrozen.a after creating it 2003-01-06 17:22:57 +00:00
f92d4b8650 libfrozen will be built only once until one of the python files is changed.
Michel
2003-01-04 17:31:11 +00:00
76f4ae72f3 - when compiling on windows, override CC=gcc with CC=..../cl_wrapper.pl
and use the Python.h in the lib/windows/python/include directory.
  MSVC++ doesn't like linking with a gcc compiled frozen library.
2003-01-04 16:27:26 +00:00
Chris Want
d52deb4397 A kludge to use the right compiler while freezing
using gcc under Irix -- without this it uses only
'cc -n32' (since this is what the sgi employee
who compiled the python stuff used).

Chris
2003-01-01 02:07:47 +00:00
438ffa7e1d small correction to temporary and output directory
Maarten
2002-12-30 09:25:52 +00:00
a609ff51e8 Removed fixed path for Python excutable.
The README will explain how to set an option in MSVC to make it find
python.
Maarten
2002-12-22 23:02:21 +00:00
3ee75a90d2 These freeze changes give working frozen Python code on Windows.
Maarten
2002-12-01 22:58:29 +00:00
d48f993c55 Removed non-existing Tools from the Blender module.
This allowed me to get Python working in Blender.
Maarten
2002-12-01 21:24:45 +00:00
86ac000694 Reverting to version 1.3 - michel 2002-11-30 15:34:57 +00:00
0f4b24cc3c added -f option to the rm command. (Clean target) - michel 2002-11-30 15:00:47 +00:00
61ab941edb Autotools-specific freeze_ac.py and makemakefile_ac.py. Original makemakefile.py reverted for sake of original build system. Makefile.am modified accordingly. 2002-11-30 05:43:14 +00:00
651fa32eaa Bunch of small fixes emailed to me from phaethon
Kent
--
mein@cs.umn.edu
2002-11-29 17:07:58 +00:00
0fbadc8eb7 Yes I did it again ;)
added the following 3 lines to everything in the intern dir:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

Kent
--
mein@cs.umn.edu
2002-11-25 09:53:07 +00:00
fdb2036beb Some more clean up in the intern MSVC project files.
Renamed the bmfont project files and updated them.
Maarten
2002-11-14 22:43:55 +00:00
c57ca3c86a Changed module name utils to util so that freeze will find the quaternions
etc. there.
Maarten
2002-11-14 16:50:24 +00:00
e0d9272376 Made a dependency so that the MSVC intern project file will actually call the
batch file that freezes the Blender Python code.
I had to add a dummy.cpp file to the freeze directory to make MSVC
understand it should call the batch file in a post build step. If someone else
has a better idea, feel free to change it!
Maarten
2002-11-11 22:48:06 +00:00
f8843ee7e9 - python $(PYFLAGS) freeze.py -d -x os -x pprint -x Blender -I $(SRCDIR) -o $(TARGETDIR) $(SRCDIR)/VRMLmain.py
+       python $(PYFLAGS) freeze.py -d -x os -x pprint -I $(SRCDIR) -o $(TARGETDIR) $(SRCDIR)/VRMLmain.py


Freeze the Blender module
(I got this from some other people on #blendersauce and truthfully I have
no idea if this is correct or not so if someone else could look at it
that would be great)

Kent
--
mein@cs.umn.edu
2002-11-11 21:26:19 +00:00
57ef60d081 Added another project to freeze Blender Python code from the main intern
MSVC workspace. It is not finished completely but it works (through a
batchfile).
Maarten
2002-11-10 23:54:39 +00:00
e46a6d2611 I autmated the rest of building libfrozen.a
I also moved it so that it gets put in:
 $(OCGDIR)/blender/bpython/$(DEBUG_DIR)libfrozen.a

and removed the stuff from the readme on how to do it by hand.

(I made one other small change and that was to comment
out the ssr target on solaris and freebsd in source/Makefile
I forgot to commit it yesterday)

Kent
--
mein@cs.umn.edu
2002-11-07 17:47:15 +00:00
2c183d2da7 Updated it so intern/python/freeze is combined into intern's Makefile
also updated the readme so its not an extra step anymore.

Kent
--
mein@cs.umn.edu
2002-11-06 21:19:23 +00:00
Hans Lambermont
12315f4d0e Initial revision 2002-10-12 11:37:38 +00:00