equal
deleted
inserted
replaced
325 @-rm -f betaclassList.c miniList.c tinyList.c |
325 @-rm -f betaclassList.c miniList.c tinyList.c |
326 @-rm -f modulList.stc modulList.c modulList.o |
326 @-rm -f modulList.stc modulList.c modulList.o |
327 @-rm -f pers* pers2 data data2 data.boss tetris.scores |
327 @-rm -f pers* pers2 data data2 data.boss tetris.scores |
328 |
328 |
329 cleanlinks: |
329 cleanlinks: |
330 @-rm -rf source bitmaps binaries resources examples include |
330 @-rm -rf source bitmaps binaries $(RESOURCES) examples include |
331 |
331 |
332 # |
332 # |
333 # clean out all that is not needed to run smalltalk |
333 # clean out all that is not needed to run smalltalk |
334 # |
334 # |
335 clean:: |
335 clean:: |
351 # clean out all that can be regenerated |
351 # clean out all that can be regenerated |
352 # |
352 # |
353 clobber:: |
353 clobber:: |
354 @$(MAKE) removeLinkLibs |
354 @$(MAKE) removeLinkLibs |
355 @-rm -f modulList.stc modulList.c modulList.o |
355 @-rm -f modulList.stc modulList.c modulList.o |
356 @-rm -rf resources source bitmaps include examples lib |
356 @-rm -rf $(RESOURCES) source bitmaps include examples lib |
357 @-rm -f stx st.img st.img.sav st.sav |
357 @-rm -f stx st.img st.img.sav st.sav |
358 @-rm -f main.o |
358 @-rm -f main.o |
359 @-rm -rf modules |
359 @-rm -rf modules |
360 @-rm -rf package |
360 @-rm -rf package |
361 @-rm -rf stxtmp_* |
361 @-rm -rf stxtmp_* |
423 cp "banner8_lightMsg.png" "$(DMG_TMP)"/.background/banner.png |
423 cp "banner8_lightMsg.png" "$(DMG_TMP)"/.background/banner.png |
424 cp "../../COPYRIGHT" "$(DMG_TMP)"/COPYRIGHT.txt |
424 cp "../../COPYRIGHT" "$(DMG_TMP)"/COPYRIGHT.txt |
425 -mkdir "$(DMG_TMP)"/stx.app |
425 -mkdir "$(DMG_TMP)"/stx.app |
426 -mkdir "$(DMG_TMP)"/stx.app/Contents |
426 -mkdir "$(DMG_TMP)"/stx.app/Contents |
427 -mkdir "$(DMG_TMP)"/stx.app/Contents/Resources |
427 -mkdir "$(DMG_TMP)"/stx.app/Contents/Resources |
428 cp deploySupport/osx_Info.plist "$(DMG_TMP)"/stx.app/Contents/Info.plist |
428 cp osx/osx_Info.plist "$(DMG_TMP)"/stx.app/Contents/Info.plist |
429 cp "deploySupport/stx.icns" "$(DMG_TMP)"/stx.app/Contents/Resources/ |
429 cp "osx/stx.icns" "$(DMG_TMP)"/stx.app/Contents/Resources/ |
430 -mkdir "$(DMG_TMP)"/stx.app/Contents/MacOS |
430 -mkdir "$(DMG_TMP)"/stx.app/Contents/MacOS |
431 $(MAKE) dmgSTXPackages |
431 $(MAKE) dmgSTXPackages |
432 $(MAKE) dmgBINContents |
432 $(MAKE) dmgBINContents |
433 $(MAKE) patchLicenceInResources |
433 $(MAKE) patchLicenceInResources |
434 |
434 |
443 @-hdiutil detach /Volumes/stx |
443 @-hdiutil detach /Volumes/stx |
444 @-sync |
444 @-sync |
445 hdiutil attach -readwrite -noverify /tmp/stx.dmg |
445 hdiutil attach -readwrite -noverify /tmp/stx.dmg |
446 @-sync |
446 @-sync |
447 @-sleep 3 |
447 @-sleep 3 |
448 @-(cat deploySupport/osx_osascript.script | osascript) |
448 @-(cat osx/osx_osascript.script | osascript) |
449 hdiutil detach /Volumes/stx |
449 hdiutil detach /Volumes/stx |
450 @-sync |
450 @-sync |
451 |
451 |
452 # |
452 # |
453 # the actual executable and its binaries |
453 # the actual executable and its binaries |
459 # (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/*.stx .) |
459 # (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/*.stx .) |
460 # (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/*.rc .) |
460 # (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/*.rc .) |
461 # (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/patches .) |
461 # (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/patches .) |
462 # (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/stxPatches .) |
462 # (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/stxPatches .) |
463 # (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/rc.d .) |
463 # (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/rc.d .) |
464 # -cp -r resources "$(DMG_TMP)"/stx.app/Contents/MacOS/. |
464 # -cp -r $(RESOURCES) "$(DMG_TMP)"/stx.app/Contents/MacOS/. |
465 |
465 |
466 # |
466 # |
467 # sources and all other package stuff |
467 # sources and all other package stuff |
468 # |
468 # |
469 dmgSTXPackages: "$(DMG_TMP)/stx.app/Packages" |
469 dmgSTXPackages: "$(DMG_TMP)/stx.app/Packages" |
530 SmalltalkX$(VSN).pkg |
530 SmalltalkX$(VSN).pkg |
531 # see https://developer.apple.com/library/content/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html |
531 # see https://developer.apple.com/library/content/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html |
532 rm -rf SmalltalkX$(VSN)_pkg |
532 rm -rf SmalltalkX$(VSN)_pkg |
533 pkgutil --expand SmalltalkX$(VSN).pkg SmalltalkX$(VSN)_pkg |
533 pkgutil --expand SmalltalkX$(VSN).pkg SmalltalkX$(VSN)_pkg |
534 cp SmalltalkX$(VSN)_pkg/Distribution Distribution.extracted |
534 cp SmalltalkX$(VSN)_pkg/Distribution Distribution.extracted |
535 cp deploySupport/osx_Distribution SmalltalkX$(VSN)_pkg/Distribution |
535 cp osx/osx_Distribution SmalltalkX$(VSN)_pkg/Distribution |
536 mkdir SmalltalkX$(VSN)_pkg/Resources |
536 mkdir SmalltalkX$(VSN)_pkg/Resources |
537 mkdir SmalltalkX$(VSN)_pkg/Resources/en.lproj |
537 mkdir SmalltalkX$(VSN)_pkg/Resources/en.lproj |
538 mkdir SmalltalkX$(VSN)_pkg/Resources/de.lproj |
538 mkdir SmalltalkX$(VSN)_pkg/Resources/de.lproj |
539 # mkdir SmalltalkX$(VSN)_pkg/Resources/icons |
539 # mkdir SmalltalkX$(VSN)_pkg/Resources/icons |
540 # (cd SmalltalkX$(VSN)_pkg/Resources ; ln -s en.lproj english) |
540 # (cd SmalltalkX$(VSN)_pkg/Resources ; ln -s en.lproj english) |