home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / SL68KRelease / Build next >
Encoding:
Text File  |  1996-09-17  |  1.5 KB  |  47 lines  |  [TEXT/MPS ]

  1. # This script uses a combination of MPW scripts to build 
  2. # the CFM-68K ODFLibrary (release build)
  3. #
  4. # This script also assumes that you have placed UserStartup•ODF in your MPW folder.
  5.  
  6. ### Tell the FWBuild script where your precompiled header files are located.
  7.  
  8. Set FWPreCompHdrDir "{ODF}SL68KRelease:Precompile∂ Headers:"
  9. Export FWPreCompHdrDir
  10.  
  11. # {FWBldType} - Should be either "Debug" or "Release".
  12.  
  13. Set FWBldType "Release"
  14. Export FWBldType
  15.  
  16. ##### Resources and SOM
  17. Directory "{ODF}SL68KRelease:"
  18. FWBuild -SymantecCFM "{ODF}ODFLibrary:ODFLibrary.IDE"
  19. FWBuild -SymantecCFM "{ODF}Found:FWRefCnt:ODFRefCnt.IDE"
  20. FWBuild -SymantecCFM "{ODF}Found:FWStream:ODFObjReg.IDE"
  21. FWBuild -SymantecCFM "{ODF}Found:FWString:ODFString.IDE"
  22. FWBuild -SymantecCFM "{ODF}OS:FWFiles:FWFiles.IDE"
  23. FWBuild -SymantecCFM "{ODF}OS:FWResour:FWResour.IDE"
  24. FWBuild -SymantecCFM "{ODF}OS:FWODMisc:FWODMisc.IDE"
  25. FWBuild -SymantecCFM "{ODF}OS:FWToolbx:FWToolbx.IDE"
  26. FWBuild -SymantecCFM "{ODF}Framewrk:FWSemEvt:FWSemEvt.IDE"
  27.  
  28. ##### Precompiled headers for shared library only
  29.  
  30. Directory "{ODF}SL68KRelease:"
  31. FWBuild68KCFMRelease "{ODF}PrecompH:PrecompH"    
  32.  
  33. ##### OpenDoc Utility classes (static link library)
  34.  
  35. Echo "∂nBuilding ODUtils"
  36. FWBuild68KCFMRelease "{ODF}Found:ODUtils:ODUtils.LIB"    
  37.  
  38. ##### ODF Library (dynamic link library)
  39.  
  40. Echo "∂nBuilding ODFLibrary"
  41.  
  42. FWBuild -Pre "{ODF}Tools:Mac:MacMake68K.dfn" ∂
  43.         -SymantecCFM -modelCFMSeg -NoDebug ∂
  44.         -LinkOptions '-vercur 17858560 -verdef 16809984' ∂
  45.         "{ODF}"ODFLibrary:ODFLibrary.CFM
  46.  
  47.