4 BASECFLAGS
=@BASECFLAGS@
6 CFLAGS
=$(BASECFLAGS
) $(OPT
)
10 UNIVERSALSDK
=@UNIVERSALSDK@
12 PYTHONFRAMEWORK
=@PYTHONFRAMEWORK@
14 RUNSHARED
= @RUNSHARED@
15 BUILDEXE
= @BUILDEXEEXT@
16 BUILDPYTHON
= $(builddir
)/python
$(BUILDEXE
)
18 # Deployment target selected during configure, to be checked
20 MACOSX_DEPLOYMENT_TARGET
=@CONFIGURE_MACOSX_DEPLOYMENT_TARGET@
21 @EXPORT_MACOSX_DEPLOYMENT_TARGET@
export MACOSX_DEPLOYMENT_TARGET
23 BUNDLEBULDER
=$(srcdir)/..
/..
/Lib
/plat-mac
/bundlebuilder.py
25 PYTHONAPPSDIR
=/Applications
/$(PYTHONFRAMEWORK
) $(VERSION
)
29 install: IDLE.app
$(srcdir)/config-main.def
$(srcdir)/config-extensions.def
30 test -d
"$(DESTDIR)$(PYTHONAPPSDIR)" || mkdir
-p
"$(DESTDIR)$(PYTHONAPPSDIR)"
31 -test -d
"$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app" && rm -r
"$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
32 /bin
/cp
-PR IDLE.app
"$(DESTDIR)$(PYTHONAPPSDIR)"
33 touch
"$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
34 /bin
/cp
$(srcdir)/config-main.def
"$(DESTDIR)$(prefix)/lib/python$(VERSION)/idlelib/config-main.def"
35 /bin
/cp
$(srcdir)/config-extensions.def
"$(DESTDIR)$(prefix)/lib/python$(VERSION)/idlelib/config-extensions.def"
41 $(srcdir)/..
/Icons
/IDLE.icns
$(srcdir)/idlemain.py \
42 $(srcdir)/..
/Icons
/PythonSource.icns \
43 $(srcdir)/..
/Icons
/PythonCompiled.icns Info.plist
45 $(RUNSHARED
) @ARCH_RUN_32BIT@
$(BUILDPYTHON
) $(BUNDLEBULDER
) \
50 --mainprogram
=$(srcdir)/idlemain.py \
51 --iconfile
=$(srcdir)/..
/Icons
/IDLE.icns \
52 --resource
=$(srcdir)/..
/Icons
/PythonSource.icns \
53 --resource
=$(srcdir)/..
/Icons
/PythonCompiled.icns \
54 --python
=$(prefix)/Resources
/Python.app
/Contents
/MacOS
/$(PYTHONFRAMEWORK
)`test -f "$(DESTDIR)$(prefix)/Resources/Python.app/Contents/MacOS/$(PYTHONFRAMEWORK)-32" && echo "-32"` \
58 Info.plist
: $(srcdir)/Info.plist.in
59 sed
's/%VERSION%/'"`$(RUNSHARED) $(BUILDPYTHON) -c 'import platform; print platform.python_version()'`"'/g' < $(srcdir)/Info.plist.in
> Info.plist