home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 January
/
Chip_1997-01_cd.bin
/
ms95
/
disk22
/
dir10
/
f015810.re_
/
f015810.re
Wrap
Text File
|
1996-04-02
|
3KB
|
103 lines
#-----------------------------------------------------------------------
#
# Copyright (1993-95) Bentley Systems, Inc., All rights reserved.
#
# Application Make File
#
# $Logfile: J:/mdl/examples/mdlipc/mdlipc.mkv $
# $Workfile: mdlipc.mke $
# $Revision: 1.3 $
# $Date: 30 Jun 1995 08:37:36 $
#
# "MicroStation" is a registered trademark and "MDL" and "MicroCSL"
# are trademarks of Bentley Systems, Inc.
#
# Limited permission is hereby granted to reproduce and modify this
# copyrighted material provided that the resulting code is used only
# in conjunction with Bentley Systems products under the terms of the
# license agreement provided therein, and that this notice is retained
# in its entirety in any such reproduction or modification.
#
#-----------------------------------------------------------------------
#---------------------------------------------
# Define macros specific to this example
#---------------------------------------------
%if defined (_MakeFilePath)
baseDir = $(_MakeFilePath)
%else
baseDir = $(MS)/mdl/examples/mdlipc/
%endif
privateInc = $(baseDir)
langSpec = $(baseDir)english/
#---------------------------------------------
# Include necessary definitions and rules
#---------------------------------------------
%include mdl.mki
%include mdlexmpl.mki
#---------------------------------------------
# Object definitions
#---------------------------------------------
requesterObjs = $(o)echoreq.mo
requesterRscs = $(o)echoreq.mp
serverObjs = $(o)echoserv.mo
serverRscs = $(o)echoserv.mp
#---------------------------------------------
# Build echo requester
#---------------------------------------------
$(o)echoreq.mo : $(baseDir)echoreq.mc $(privateInc)mdlipc.h
$(o)echoreq.mp : $(requesterObjs)
$(msg)
> $(o)temp.cmd
-a$@
$(linkOpts)
$(requesterObjs)
<
$(linkCmd) @$(o)temp.cmd
~time
$(reqdObjs)echoreq.mi : $(requesterRscs)
$(msg)
> $(rscObjects)make.opt
-o$@
$(requesterRscs)
<
$(rscLibCmd) @$(rscObjects)make.opt
~time
#---------------------------------------------
# Build echo server
#---------------------------------------------
$(o)echoserv.mo : $(baseDir)echoserv.mc $(privateInc)mdlipc.h
$(o)echoserv.mp : $(serverObjs)
$(msg)
> $(o)temp.cmd
-a$@
$(linkOpts)
$(serverObjs)
<
$(linkCmd) @$(o)temp.cmd
~time
$(reqdObjs)echoserv.mi : $(serverRscs)
$(msg)
> $(rscObjects)make.opt
-o$@
$(serverRscs)
<
$(rscLibCmd) @$(rscObjects)make.opt
~time
#---------------------------------------------
# Include language specific steps
#---------------------------------------------
%include ipcrscs.mki