Rework the build system for osx applications:

* Don't use xcodebuild for building PythonLauncher, but use a normal unix
  makefile. This makes it a lot easier to use the same build flags as for the
  rest of python (e.g. make a universal version of python launcher)
* Convert the mac makefile-s to makefile.in-s and use configure to set makefile
  variables instead of forwarding them as command-line arguments
* Add a C version of pythonw, that we you can use '#!/usr/local/bin/pythonw'
* Build IDLE.app using bundlebuilder instead of BuildApplet, that will allow
  easier modification of the bundle contents later on.
This commit is contained in:
Ronald Oussoren 2006-05-14 19:56:34 +00:00
parent 375f06b175
commit 836b039b7c
21 changed files with 547 additions and 974 deletions

View file

@ -105,6 +105,12 @@ AC_ARG_ENABLE(framework,
PYTHONFRAMEWORKPREFIX=$enableval
PYTHONFRAMEWORKINSTALLDIR=$PYTHONFRAMEWORKPREFIX/$PYTHONFRAMEWORKDIR
prefix=$PYTHONFRAMEWORKINSTALLDIR/Versions/$VERSION
# Add makefiles for Mac specific code to the list of output
# files:
AC_CONFIG_FILES(Mac/OSX/Makefile)
AC_CONFIG_FILES(Mac/OSX/PythonLauncher/Makefile)
AC_CONFIG_FILES(Mac/OSX/IDLE/Makefile)
esac
],[
PYTHONFRAMEWORK=