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"
|