mirror of
https://github.com/python/cpython.git
synced 2024-11-27 23:47:29 +01:00
de9c869fb8
Removal of the Mac modules broke many of the Mac scripts (including BuildApplet.py) so the building of the Python launcher and IDLE.app was broken. I manually copied built versions of those apps into Mac. Everything else which used Mac modules had to die.
32 lines
1.0 KiB
Makefile
32 lines
1.0 KiB
Makefile
CC=@CC@
|
|
LD=@CC@
|
|
BASECFLAGS=@BASECFLAGS@
|
|
OPT=@OPT@
|
|
CFLAGS=$(BASECFLAGS) $(OPT)
|
|
LDFLAGS=@LDFLAGS@
|
|
srcdir= @srcdir@
|
|
VERSION= @VERSION@
|
|
UNIVERSALSDK=@UNIVERSALSDK@
|
|
builddir= ../..
|
|
|
|
RUNSHARED= @RUNSHARED@
|
|
BUILDEXE= @BUILDEXEEXT@
|
|
BUILDPYTHON= $(builddir)/python$(BUILDEXE)
|
|
PYTHONFRAMEWORK=@PYTHONFRAMEWORK@
|
|
|
|
# Deployment target selected during configure, to be checked
|
|
# by distutils
|
|
MACOSX_DEPLOYMENT_TARGET=@CONFIGURE_MACOSX_DEPLOYMENT_TARGET@
|
|
@EXPORT_MACOSX_DEPLOYMENT_TARGET@export MACOSX_DEPLOYMENT_TARGET
|
|
|
|
BUNDLEBULDER=$(srcdir)/../../Lib/plat-mac/bundlebuilder.py
|
|
|
|
PYTHONAPPSDIR=/Applications/$(PYTHONFRAMEWORK) $(VERSION)
|
|
OBJECTS=FileSettings.o MyAppDelegate.o MyDocument.o PreferencesWindowController.o doscript.o main.o
|
|
|
|
install:
|
|
test -d "$(DESTDIR)$(PYTHONAPPSDIR)" || mkdir -p "$(DESTDIR)$(PYTHONAPPSDIR)"
|
|
-test -d "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app" && rm -r "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app"
|
|
cp -r "Python Launcher.app" "$(DESTDIR)$(PYTHONAPPSDIR)"
|
|
touch "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app"
|