home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 January / Chip_1997-01_cd.bin / ms95 / disk23 / dir01 / f016490.re_ / f016490.re
Text File  |  1996-04-02  |  3KB  |  93 lines

  1. #-----------------------------------------------------------------------
  2. #
  3. #  Copyright (1985-95) Bentley Systems, Inc., All rights reserved.
  4. #
  5. #  Application Make File
  6. #
  7. #    $Logfile:   J:/mdl/examples/plaimage/plaimage.mkv  $
  8. #   $Workfile:   plaimage.mke  $
  9. #   $Revision:   1.0  $
  10. #       $Date:   28 Jun 1995 13:04:16  $
  11. #
  12. #  "MicroStation" is a registered trademark and "MDL" and "MicroCSL"
  13. #  are trademarks of Bentley Systems, Inc.
  14. #
  15. #  Limited permission is hereby granted to reproduce and modify this
  16. #  copyrighted material provided that the resulting code is used only
  17. #  in conjunction with Bentley Systems products under the terms of the
  18. #  license agreement provided therein, and that this notice is retained
  19. #  in its entirety in any such reproduction or modification.
  20. #
  21. #-----------------------------------------------------------------------
  22. %if defined (_MakeFilePath)
  23. baseDir    = $(_MakeFilePath)
  24. %else
  25. baseDir       = $(MS)/mdl/examples/plaimage/
  26. %endif
  27.  
  28. PrivateInc = $(baseDir)
  29. langSpec   = $(baseDir)english/
  30.  
  31. %include mdl.mki
  32. %include mdlexmpl.mki
  33.  
  34. #----------------------------------------------------------------------
  35. #   Define symbol for files included in our link and resource merge
  36. #----------------------------------------------------------------------
  37. plaimageObjs    =   $(o)plaimage.mo 
  38.  
  39. plaimageRscs    =   $(o)pimgcmd.rsc \
  40.             $(o)pimgtype.rsc \
  41.             $(o)plaimage.mb
  42.  
  43. #---------------------------------------------
  44. #    Create command table and header file
  45. #---------------------------------------------
  46. $(genSrc)pimgcmd.h     : $(baseDir)pimgcmd.r
  47.  
  48. $(o)pimgcmd.rsc         : $(baseDir)pimgcmd.r
  49.  
  50. #---------------------------------------------
  51. #    Compile and link MDL Application
  52. #---------------------------------------------
  53. $(o)plaimage.mo        : $(baseDir)plaimage.mc        \
  54.                     $(baseDir)plaimage.h    \
  55.                     $(genSrc)pimgcmd.h
  56.  
  57. $(o)plaimage.mb        : $(plaimageObjs)
  58.     $(msg)
  59.     >$(o)temp.cmd
  60.     -a$@
  61.     -s6000
  62.     $(linkOpts) 
  63.     $(plaimageObjs)
  64.     $(mdlLibs)ditemlib.ml
  65.     $(mdlLibs)mdllib.ml
  66.     <
  67.     $(linkCmd) @$(o)temp.cmd
  68.     ~time
  69.  
  70. #---------------------------------------------
  71. #    Compile Type Resources
  72. #---------------------------------------------
  73. $(o)pimgtype.r: $(baseDir)pimgtype.mt $(baseDir)plaimage.h
  74.  
  75. $(o)pimgtype.rsc: $(o)pimgtype.r $(baseDir)plaimage.h
  76.  
  77. #---------------------------------------------
  78. #    Merge Objects into one file
  79. #---------------------------------------------
  80. $(o)plaimage.mi     : $(plaimageRscs)
  81.     $(msg)    
  82.     >$(o)temp.cmd
  83.     -o$@
  84.     $(plaimageRscs)
  85.     <
  86.     $(rscLibCmd) @$(o)temp.cmd
  87.     ~time
  88.  
  89. #---------------------------------------------
  90. #    Now finish making the language-dependent resources
  91. #---------------------------------------------
  92. %include $(baseDir)pimgrsc.mki
  93.