Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 1 | CC=@CC@ |
| 2 | LD=@CC@ |
| 3 | BASECFLAGS=@BASECFLAGS@ |
| 4 | OPT=@OPT@ |
| 5 | CFLAGS=$(BASECFLAGS) $(OPT) |
| 6 | LDFLAGS=@LDFLAGS@ |
| 7 | srcdir= @srcdir@ |
| 8 | VERSION= @VERSION@ |
| 9 | UNIVERSALSDK=@UNIVERSALSDK@ |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 10 | builddir= ../.. |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 11 | |
| 12 | RUNSHARED= @RUNSHARED@ |
| 13 | BUILDEXE= @BUILDEXEEXT@ |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 14 | BUILDPYTHON= $(builddir)/python$(BUILDEXE) |
Christian Heimes | 81ee3ef | 2008-05-04 22:42:01 +0000 | [diff] [blame] | 15 | PYTHONFRAMEWORK=@PYTHONFRAMEWORK@ |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 16 | |
| 17 | # Deployment target selected during configure, to be checked |
| 18 | # by distutils |
| 19 | MACOSX_DEPLOYMENT_TARGET=@CONFIGURE_MACOSX_DEPLOYMENT_TARGET@ |
| 20 | @EXPORT_MACOSX_DEPLOYMENT_TARGET@export MACOSX_DEPLOYMENT_TARGET |
| 21 | |
Thomas Wouters | 73e5a5b | 2006-06-08 15:35:45 +0000 | [diff] [blame] | 22 | BUNDLEBULDER=$(srcdir)/../../Lib/plat-mac/bundlebuilder.py |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 23 | |
Christian Heimes | 81ee3ef | 2008-05-04 22:42:01 +0000 | [diff] [blame] | 24 | PYTHONAPPSDIR=/Applications/$(PYTHONFRAMEWORK) $(VERSION) |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 25 | OBJECTS=FileSettings.o MyAppDelegate.o MyDocument.o PreferencesWindowController.o doscript.o main.o |
| 26 | |
Benjamin Peterson | de9c869 | 2008-07-01 18:23:09 +0000 | [diff] [blame] | 27 | install: |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 28 | test -d "$(DESTDIR)$(PYTHONAPPSDIR)" || mkdir -p "$(DESTDIR)$(PYTHONAPPSDIR)" |
| 29 | -test -d "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app" && rm -r "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app" |
| 30 | cp -r "Python Launcher.app" "$(DESTDIR)$(PYTHONAPPSDIR)" |
| 31 | touch "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app" |