home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / OpenTransport / Open Transport 1.0.5b4 / Open Transport SDK / Open Tpt Module Developer / Samples / Makefile.SampleModules < prev    next >
Encoding:
Makefile  |  1995-06-24  |  1.3 KB  |  52 lines  |  [TEXT/MPS ]

  1. #
  2. #    File:        Makefile.SampleModules
  3. #
  4. #    Contains:    Makefile for the Module Samples
  5. #
  6. #    Copyright:    © 1993-1994 by Apple Computer, Inc., all rights reserved.
  7. #
  8. #        • Use ASLMLibs variable for LibraryManager.debug.o
  9. #        §
  10. #
  11.  
  12. COptions = {MyPreCOptions} -model far -sym on,nolines -mf -b2 -opt full -w1 {MyCOptions}
  13.  
  14. StdCIncludes = -i "{ASLMIncludes}" -i "{OTIncludes}" -i "{OTModIncludes}" -i "{CIncludes}"
  15.  
  16. .c.o    ƒ    .c
  17.     C {DepDir}{Default}.c -o {Targ} {COptions} {StdCIncludes}
  18.  
  19. all    ƒ    "OT Sample Module Library"
  20.  
  21. Resources = EchoModule.RSC FilterModule.RSC
  22.  
  23. "EchoModule.RSC"    ƒ EchoModule.c.o
  24.     BuildSharedLibrary "EchoModule.c.o" ∂
  25.         -lib "EchoModule.RSC" ∂
  26.         -far "EchoModule.cl.o" ∂
  27.         -exp "EchoModule.exp" ∂
  28.         -restype cd01 -resid 01  ∂
  29.         {StdCIncludes} ∂
  30.         -obj "EchoModule" ∂
  31.         "{OTLibs}OpenTptModule.o" ∂
  32.         "{Libraries}"RunTime.o 
  33.  
  34. "FilterModule.RSC"    ƒ FilterModule.c.o
  35.     BuildSharedLibrary "FilterModule.c.o" ∂
  36.         -lib "FilterModule.RSC" ∂
  37.         -far "FilterModule.cl.o" ∂
  38.         -exp "FilterModule.exp" ∂
  39.         -restype cd02 -resid 02  ∂
  40.         {StdCIncludes} ∂
  41.         -obj "FilterModule" ∂
  42.         "{OTLibs}OpenTptModule.o" ∂
  43.         "{Libraries}"RunTime.o 
  44.  
  45. "OT Sample Module Library"    ƒƒ FilterModule.RSC EchoModule.RSC ∂
  46.         "{RIncludes}SysTypes.r" ∂
  47.         "EchoModule.RSC" ∂
  48.         "FilterModule.RSC"
  49.     If {Progress}; Echo "∂t∂tRezzing {Targ}"; End
  50.     Rez -t libr -c OMGR -s ":" ∂
  51.         -o {Targ} SampleModuleLib.r
  52.