Update of /cvsroot/pure-data/packages/darwin_app In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6007/darwin_app
Modified Files: Makefile Log Message: initial support for devel branch (scons) via pd_devel target
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/packages/darwin_app/Makefile,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** Makefile 28 Jul 2006 05:54:01 -0000 1.40 --- Makefile 28 Jul 2006 15:16:55 -0000 1.41 *************** *** 1,3 **** - current: darwin_app
--- 1,2 ---- *************** *** 30,33 **** --- 29,36 ---- WISH = "$(WISH_SOURCE)/$(WISH_NAME).app" WISH_CONTENTS = "$(WISH)/Contents" + #WISH_CONTENTS = $(WISH)/Contents + + # base level optimizations + OPT_CFLAGS = -Os -funroll-loops -fomit-frame-pointer
# which CPU to compile for *************** *** 69,72 **** --- 72,76 ----
install: darwin_app + devel_install: darwin_app_devel
#------------------------------------------------------------------------------# *************** *** 78,81 **** --- 82,90 ---- extended_install: cd $(packages_src) && $(MAKE) $(DEST_PATHS) install + + #------------------------------------------------------------------------------# + darwin_app_devel: darwin_app_devel_core rez_install + @echo " " + @echo "Pd_devel.app build succeeded!"
#------------------------------------------------------------------------------# *************** *** 113,116 **** --- 122,149 ---- "$(PD_APP_CONTENTS)/MacOS/${PD_APP_NAME}"
+ #------------------------------------------------------------------------------# + # + darwin_app_devel_wrapper: Info.plist + # test -d /Volumes/$(TCLTK) || hdiutil mount $(TCLTK).dmg + # copy Wish Shell.app from default install location + # note: use the "standalone" Wish shell to make a "standalone" pd app + install -d "$(PD_APP_CONTENTS)/MacOS" + install -m0755 -p \ + "$(WISH_CONTENTS)/MacOS/$(WISH_NAME)" \ + "$(PD_APP_CONTENTS)/MacOS" + install -d "$(PD_APP_CONTENTS)/Resources" + install -m0644 -p \ + "$(WISH_CONTENTS)/Resources/$(WISH_NAME).rsrc" \ + "$(PD_APP_CONTENTS)/Resources" + install -d "$(PD_APP_CONTENTS)/Frameworks" + cp -Rp "$(WISH_CONTENTS)/Frameworks" "$(PD_APP_CONTENTS)" + # set up app wrapper + install -d "$(PD_APP_CONTENTS)/Resources/Scripts" + install -d "$(PD_APP_CONTENTS)/Resources/bin" + install -m0644 -p Info.plist "$(PD_APP_CONTENTS)" + install -m0644 -p *.icns "$(PD_APP_CONTENTS)/Resources" + mv "$(PD_APP_CONTENTS)/MacOS/${WISH_NAME}" \ + "$(PD_APP_CONTENTS)/MacOS/${PD_APP_NAME}" + # diskutil eject /Volumes/$(TCLTK)
#------------------------------------------------------------------------------# *************** *** 124,128 **** # tigital's Gem window focus black magic rez_install: ! install -p $(CWD)/mac.r $(bindir) cd $(bindir) && /Developer/tools/Rez -t APPL mac.r -o pd
--- 157,161 ---- # tigital's Gem window focus black magic rez_install: ! install -pv "$(CWD)/mac.r" "$(bindir)" cd $(bindir) && /Developer/tools/Rez -t APPL mac.r -o pd
*************** *** 144,148 **** $(scripts_src)/convert-help-to-standard.sh
!
# set the font to 10pt on all help patches --- 177,191 ---- $(scripts_src)/convert-help-to-standard.sh
! #------------------------------------------------------------------------------# ! darwin_app_devel_core: darwin_app_devel_wrapper ! cd $(packages_src) && \ ! $(MAKE) $(DEST_PATHS) PD_CONFIGURE_FLAGS=--enable-jack devel_install ! cd "$(PD_APP_CONTENTS)/Resources/Scripts" && \ ! ln -s ../bin/pd.tk AppMain.tcl ! # support for Info Panel Plugins mgmt ! cd "$(PD_APP_CONTENTS)" && ln -s Resources/extra Plugins ! # run script to move help-*.pd files to *-help.pd according to the standard ! cd $(pddocdir) && \ ! $(scripts_src)/convert-help-to-standard.sh
# set the font to 10pt on all help patches *************** *** 211,214 **** --- 254,260 ---- -rm Info.plist
+ devel_clean: darwin_app_devel_clean + cd $(packages_src) && $(MAKE) $(DEST_PATHS) clean + -rm Info.plist
darwin_app_clean: