home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C++ / Applications / Muddweller 1.2 / source code / MUDDweller.MAMake < prev    next >
Encoding:
Text File  |  1994-02-21  |  8.2 KB  |  233 lines  |  [TEXT/MPS ]

  1. # Copyright © 1984-1988 by Apple Computer Inc.  All rights reserved.
  2.  
  3. #    The user Make file. Customize this file to suit your particular application.
  4. #    Remember, an MAMake file is not needed if you have a single file application
  5. #    or the classic, magic 5 files application.
  6. #
  7. #    Look at the sample MAMake files as a guide.
  8. #    Open Basic Definitions to see what other Make variables exist.
  9.  
  10. #-------------------------------------------------------------------------------
  11. #    List here the Application's Name
  12.  
  13. AppName = MUDDweller
  14. Creator = ' %|g'
  15.  
  16.  
  17. #-------------------------------------------------------------------------------
  18. #    List the system libraries that your application needs to link with if the
  19. #    set that MABuild dynamically computes is not sufficient (it should be)
  20.  
  21. #NeededSysLibs = 
  22.  
  23.  
  24. #-------------------------------------------------------------------------------
  25. #    List any additional interfaces that your application is dependent on
  26. #    If they change, your ( magic 1 or 5 ) sources recompile
  27.  
  28. OtherInterfaces =
  29.  
  30.  
  31. #-------------------------------------------------------------------------------
  32. #    By default MABuild links the above libraries, the necessary 
  33. #    MacApp files, and the files UAppName.p.o and MAppName.p.o.
  34. #    List any additional files that your program links with:
  35.  
  36. MyLinkFiles = ∂
  37.     "{ObjApp}Main:MUDDoc.cp.o" ∂
  38.     "{ObjApp}Main:CommandView.cp.o" ∂
  39.     "{ObjApp}Main:LogView.cp.o" ∂
  40.     "{ObjApp}Main:LogWindow.cp.o" ∂
  41.     "{ObjApp}Main:DocDialogs.cp.o" ∂
  42.     "{ObjApp}Main:EDStuff.cp.o" ∂
  43.     "{ObjApp}Main:MTPStuff.cp.o" ∂
  44.     "{ObjApp}Main:Filters.cp.o" ∂
  45.     "{ObjApp}Main:Macros.cp.o" ∂
  46.     "{ObjApp}Main:NoTrace.cp.o"
  47.  
  48. OtherLinkFiles = ∂
  49.     "{ObjApp}Externals:BigText.cp.o" ∂
  50.     "{ObjApp}Externals:UArray.p.o" ∂
  51.     "{ObjApp}Externals:USizerView.p.o" ∂
  52.     "{ObjApp}Externals:dnr.c.o" ∂
  53.     {MyLinkFiles}
  54.  
  55.  
  56. #-------------------------------------------------------------------------------
  57. #    Specify any -sn (segment alias) linker options that you want included.
  58. #    (Or to override MacApp's default mapping (in Basic Definitions))
  59.  
  60. OtherSegMappings = ∂
  61.     -sn %_Static_Constructor_Destructor_Pointers=Main ∂
  62.     -sn Static_Constructors=Main ∂
  63.     -sn Static_Destructors=Main ∂
  64.     -sn STEClose=GClose ∂
  65.     -sn STESelCommand=GSelCommand ∂
  66.     -sn STEFields=GFields ∂
  67.     -sn STERes=SMUDDocRes ∂
  68.     -sn STENonRes=GNonRes ∂
  69.     -sn STEOpen=GOpen ∂
  70.     -sn STEClipboard=GClipboard ∂
  71.     -sn STEDebug=GDebug ∂
  72.     -sn STEDoCommand=GDoCommand ∂
  73.     -sn SANELib=GRes ∂
  74.     -sn SANELIB=GRes ∂
  75.     -sn ARes=GRes ∂
  76.     -sn ANever=MANever ∂
  77.     -sn APane=SMUDDocRes ∂
  78.     -sn Array=SMUDDocRes
  79.  
  80.  
  81. #-------------------------------------------------------------------------------
  82. #    List separately compiled resource files that the Rez file includes if you
  83. #    want to include more or less than the standard set.  Remember to "include"
  84. #    them.
  85.  
  86. OtherRsrcFiles = ∂
  87.     {BuildingBlocksResources} ∂
  88.     "{SrcApp}Main:Views.rsrc" ∂
  89.     "{ObjApp}Main:Alerts.rsrc" ∂
  90.     "{ObjApp}Main:Finder.rsrc" ∂
  91.     "{ObjApp}Main:Strings.rsrc" ∂
  92.     "{ObjApp}Main:Menus.rsrc" ∂
  93.     "{ObjApp}Externals:USizerView.rsrc"
  94.  
  95.  
  96. #-------------------------------------------------------------------------------
  97. #    List here any other options that you want passed to the appropriate tool.
  98.  
  99. OtherAsmOptions = 
  100. OtherCOptions =             -i "{SrcApp}Main:" -i "{SrcApp}Externals:"
  101. OtherCPlusOptions =         -i "{SrcApp}Main:" -i "{SrcApp}Externals:"
  102. OtherLibOptions = 
  103. OtherLinkOptions = 
  104. OtherPascalOptions = 
  105. OtherPostRezOptions = 
  106. OtherRezOptions =             -s "{ObjApp}Main:" -s "{ObjApp}Externals:" ∂
  107.                             -s "{SrcApp}Main:"
  108.  
  109.  
  110. #-------------------------------------------------------------------------------
  111. #    If you extend the view types template, list here the .r file containing the
  112. #    extension.
  113.  
  114. #OtherViewTypesSrc = 
  115.  
  116.  
  117. #-------------------------------------------------------------------------------
  118. #    Mappings for subdirectories.
  119.  
  120. "{ObjApp}Main:"            ƒ "{SrcApp}Main:"
  121. "{ObjApp}Externals:"    ƒ "{SrcApp}Externals:"
  122.  
  123.  
  124. #-------------------------------------------------------------------------------
  125. #    List the dependencies of the additional files (not covered by the 
  126. #    default rules) and special build rules, if any:
  127.  
  128. "{ObjApp}Main:"NoTrace.cp.o        ƒ    "{SrcApp}Main:"NoTrace.cp
  129.     {MAEcho} {EchoOptions} "Compiling:     NoTrace.cp"
  130.     {MACPlus} ∂
  131.         {CPlusOptions} ∂
  132.         {OtherCPlusOptions} -trace off ∂
  133.         {CPlusLoadOptions} ∂
  134.         -i "{SrcApp}" ∂
  135.         -i "{MACIncludes}" ∂
  136.         -o "{ObjApp}Main:"NoTrace.cp.o ∂
  137.         "{SrcApp}Main:"NoTrace.cp
  138.  
  139.  
  140. ### MakeMake dependencies ###
  141.  
  142. "{ObjApp}MMUDDweller.cp.o" ƒ ∂
  143.         "{SrcApp}Main:CommandView.h" "{SrcApp}Main:DocDialogs.h" ∂
  144.         "{SrcApp}Main:MUDDoc.h" "{SrcApp}Main:Filters.h" ∂
  145.         "{SrcApp}Main:LogWindow.h" "{SrcApp}Main:LogView.h" ∂
  146.         "{SrcApp}Externals:BigText.h" "{SrcApp}Main:Macros.h" ∂
  147.         "{SrcApp}Main:Globals.h" "{SrcApp}UMUDDweller.h" ∂
  148.         "{SrcApp}Main:NoTrace.h" "{SrcApp}Externals:USizerView.h" ∂
  149.         "{SrcApp}Externals:UArray.h"
  150.  
  151. "{ObjApp}UMUDDweller.cp.o" ƒ ∂
  152.         "{SrcApp}UMUDDweller.h" "{SrcApp}Main:Globals.h" "{SrcApp}Main:MUDDoc.h" ∂
  153.         "{SrcApp}Main:Filters.h" "{SrcApp}Main:LogWindow.h" ∂
  154.         "{SrcApp}Main:CommandView.h" "{SrcApp}Main:LogView.h" ∂
  155.         "{SrcApp}Externals:BigText.h" "{SrcApp}Main:Macros.h" ∂
  156.         "{SrcApp}Main:NoTrace.h"
  157.  
  158. "{ObjApp}Main:CommandView.cp.o" ƒ ∂
  159.         "{SrcApp}Main:CommandView.h" "{SrcApp}Main:Globals.h" ∂
  160.         "{SrcApp}Main:MUDDoc.h" "{SrcApp}Main:Filters.h" ∂
  161.         "{SrcApp}Main:LogWindow.h" "{SrcApp}Main:LogView.h" ∂
  162.         "{SrcApp}Externals:BigText.h" "{SrcApp}Main:Macros.h" ∂
  163.         "{SrcApp}Externals:USizerView.h" "{SrcApp}Externals:UArray.h"
  164.  
  165. "{ObjApp}Main:DocDialogs.cp.o" ƒ ∂
  166.         "{SrcApp}Main:DocDialogs.h" "{SrcApp}Main:MUDDoc.h" ∂
  167.         "{SrcApp}Main:Filters.h" "{SrcApp}Main:LogWindow.h" ∂
  168.         "{SrcApp}Main:CommandView.h" "{SrcApp}Main:LogView.h" ∂
  169.         "{SrcApp}Externals:BigText.h" "{SrcApp}Main:Macros.h" ∂
  170.         "{SrcApp}Main:Globals.h" "{SrcApp}Main:MTPStuff.h"
  171.  
  172. "{ObjApp}Main:EDStuff.cp.o" ƒ ∂
  173.         "{SrcApp}Main:EDStuff.h" "{SrcApp}Main:MUDDoc.h" ∂
  174.         "{SrcApp}Main:Filters.h" "{SrcApp}Main:LogWindow.h" ∂
  175.         "{SrcApp}Main:CommandView.h" "{SrcApp}Main:LogView.h" ∂
  176.         "{SrcApp}Externals:BigText.h" "{SrcApp}Main:Macros.h" ∂
  177.         "{SrcApp}Main:Globals.h" "{SrcApp}Main:MTPStuff.h"
  178.  
  179. "{ObjApp}Main:Filters.cp.o" ƒ ∂
  180.         "{SrcApp}Main:Filters.h" "{SrcApp}Main:Globals.h" ∂
  181.         "{SrcApp}Main:MUDDoc.h" "{SrcApp}Main:LogWindow.h" ∂
  182.         "{SrcApp}Main:CommandView.h" "{SrcApp}Main:LogView.h" ∂
  183.         "{SrcApp}Externals:BigText.h" "{SrcApp}Main:Macros.h"
  184.  
  185. "{ObjApp}Main:LogView.cp.o" ƒ ∂
  186.         "{SrcApp}Main:LogView.h" "{SrcApp}Externals:BigText.h" ∂
  187.         "{SrcApp}Main:Globals.h" "{SrcApp}Main:LogWindow.h" ∂
  188.         "{SrcApp}Main:CommandView.h" "{SrcApp}Main:MUDDoc.h" ∂
  189.         "{SrcApp}Main:Filters.h" "{SrcApp}Main:Macros.h" "{SrcApp}UMUDDweller.h"
  190.  
  191. "{ObjApp}Main:LogWindow.cp.o" ƒ ∂
  192.         "{SrcApp}Main:LogWindow.h" "{SrcApp}Main:CommandView.h" ∂
  193.         "{SrcApp}Main:LogView.h" "{SrcApp}Externals:BigText.h" ∂
  194.         "{SrcApp}Main:MUDDoc.h" "{SrcApp}Main:Filters.h" "{SrcApp}Main:Macros.h" ∂
  195.         "{SrcApp}Externals:USizerView.h" "{SrcApp}Externals:UArray.h"
  196.  
  197. "{ObjApp}Main:Macros.cp.o" ƒ ∂
  198.         "{SrcApp}Main:Macros.h" "{SrcApp}Main:Globals.h" "{SrcApp}Main:MUDDoc.h" ∂
  199.         "{SrcApp}Main:Filters.h" "{SrcApp}Main:LogWindow.h" ∂
  200.         "{SrcApp}Main:CommandView.h" "{SrcApp}Main:LogView.h" ∂
  201.         "{SrcApp}Externals:BigText.h"
  202.  
  203. "{ObjApp}Main:MTPStuff.cp.o" ƒ ∂
  204.         "{SrcApp}Main:MTPStuff.h" "{SrcApp}Main:MUDDoc.h" ∂
  205.         "{SrcApp}Main:Filters.h" "{SrcApp}Main:LogWindow.h" ∂
  206.         "{SrcApp}Main:CommandView.h" "{SrcApp}Main:LogView.h" ∂
  207.         "{SrcApp}Externals:BigText.h" "{SrcApp}Main:Macros.h" ∂
  208.         "{SrcApp}Main:Globals.h"
  209.  
  210. "{ObjApp}Main:MUDDoc.cp.o" ƒ ∂
  211.         "{SrcApp}Main:MUDDoc.h" "{SrcApp}Main:Filters.h" ∂
  212.         "{SrcApp}Main:LogWindow.h" "{SrcApp}Main:CommandView.h" ∂
  213.         "{SrcApp}Main:LogView.h" "{SrcApp}Externals:BigText.h" ∂
  214.         "{SrcApp}Main:Macros.h" "{SrcApp}Main:DocDialogs.h" ∂
  215.         "{SrcApp}Main:EDStuff.h" "{SrcApp}Main:Globals.h" ∂
  216.         "{SrcApp}Main:MTPStuff.h" "{SrcApp}Main:NoTrace.h" ∂
  217.         "{SrcApp}Externals:USizerView.h" "{SrcApp}Externals:UArray.h"
  218.  
  219. "{ObjApp}Main:NoTrace.cp.o" ƒ ∂
  220.         "{SrcApp}Main:NoTrace.h" "{SrcApp}Main:Globals.h" ∂
  221.         "{SrcApp}Main:MUDDoc.h" "{SrcApp}Main:Filters.h" ∂
  222.         "{SrcApp}Main:LogWindow.h" "{SrcApp}Main:CommandView.h" ∂
  223.         "{SrcApp}Main:LogView.h" "{SrcApp}Externals:BigText.h" ∂
  224.         "{SrcApp}Main:Macros.h" "{SrcApp}UMUDDweller.h"
  225.  
  226.  
  227. "{ObjApp}Externals:BigText.cp.o" ƒ ∂
  228.         "{SrcApp}Externals:BigText.h" "{SrcApp}Main:LogView.h" ∂
  229.         "{SrcApp}Main:NoTrace.h"
  230.  
  231. "{ObjApp}Externals:USizerView.p.o" ƒ ∂
  232.         "{SrcApp}Externals:UArray.p" "{SrcApp}Externals:USizerView.impl.p"
  233.