home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 January / Chip_1997-01_cd.bin / ms95 / disk22 / dir10 / f015810.re_ / f015810.re
Text File  |  1996-04-02  |  3KB  |  103 lines

  1. #-----------------------------------------------------------------------
  2. #
  3. #  Copyright (1993-95) Bentley Systems, Inc., All rights reserved.
  4. #
  5. #  Application Make File
  6. #
  7. #    $Logfile:   J:/mdl/examples/mdlipc/mdlipc.mkv  $
  8. #   $Workfile:   mdlipc.mke  $
  9. #   $Revision:   1.3  $
  10. #       $Date:   30 Jun 1995 08:37:36  $
  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. #---------------------------------------------
  23. # Define macros specific to this example
  24. #---------------------------------------------
  25. %if defined (_MakeFilePath)
  26. baseDir    = $(_MakeFilePath)
  27. %else
  28. baseDir     = $(MS)/mdl/examples/mdlipc/
  29. %endif
  30.  
  31. privateInc  = $(baseDir)
  32. langSpec   = $(baseDir)english/
  33.  
  34. #---------------------------------------------
  35. #   Include necessary definitions and rules
  36. #---------------------------------------------
  37. %include mdl.mki
  38. %include mdlexmpl.mki
  39.  
  40. #---------------------------------------------
  41. #   Object definitions
  42. #---------------------------------------------
  43. requesterObjs    = $(o)echoreq.mo
  44.  
  45. requesterRscs    = $(o)echoreq.mp
  46.  
  47. serverObjs      = $(o)echoserv.mo
  48.  
  49. serverRscs      = $(o)echoserv.mp
  50.  
  51. #---------------------------------------------
  52. #   Build echo requester
  53. #---------------------------------------------
  54. $(o)echoreq.mo            : $(baseDir)echoreq.mc $(privateInc)mdlipc.h
  55.  
  56. $(o)echoreq.mp            : $(requesterObjs)
  57.     $(msg)
  58.     > $(o)temp.cmd
  59.     -a$@
  60.     $(linkOpts)
  61.     $(requesterObjs)
  62.     <
  63.     $(linkCmd) @$(o)temp.cmd
  64.     ~time
  65.  
  66. $(reqdObjs)echoreq.mi        : $(requesterRscs)
  67.     $(msg)
  68.     > $(rscObjects)make.opt
  69.     -o$@
  70.     $(requesterRscs)
  71.     <
  72.     $(rscLibCmd) @$(rscObjects)make.opt
  73.     ~time
  74.  
  75. #---------------------------------------------
  76. #   Build echo server
  77. #---------------------------------------------
  78. $(o)echoserv.mo            : $(baseDir)echoserv.mc $(privateInc)mdlipc.h
  79.  
  80. $(o)echoserv.mp            : $(serverObjs)
  81.     $(msg)
  82.     > $(o)temp.cmd
  83.     -a$@
  84.     $(linkOpts)
  85.     $(serverObjs)
  86.     <
  87.     $(linkCmd) @$(o)temp.cmd
  88.     ~time
  89.  
  90. $(reqdObjs)echoserv.mi        : $(serverRscs)
  91.     $(msg)
  92.     > $(rscObjects)make.opt
  93.     -o$@
  94.     $(serverRscs)
  95.     <
  96.     $(rscLibCmd) @$(rscObjects)make.opt
  97.     ~time
  98.  
  99. #---------------------------------------------
  100. #   Include language specific steps
  101. #---------------------------------------------
  102. %include ipcrscs.mki
  103.