/*
Copyright (c) 1991-1996 Xerox Corporation.  All Rights Reserved.  

Unlimited use, reproduction, and distribution of this software is
permitted.  Any copy of this software must include both the above
copyright notice of Xerox Corporation and this paragraph.  Any
distribution of this software must comply with all applicable United
States export control laws.  This software is made available AS IS,
and XEROX CORPORATION DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE, AND NOTWITHSTANDING ANY OTHER
PROVISION CONTAINED HEREIN, ANY LIABILITY FOR DAMAGES RESULTING FROM
THE SOFTWARE OR ITS USE IS EXPRESSLY DISCLAIMED, WHETHER ARISING IN
CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, EVEN IF
XEROX CORPORATION IS ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

$Id: runImakefile,v 1.5 1997/08/28 20:11:43 larner Exp $
*/

/* Note:  These following 2 variables may need to be set differently in
your environment.  They are used to tailor the directories in which
things are found so that developers can test private versions.
*/

/*
CPLUSPLUS_STUBBER = /jilu/src/stubbers/cpp2/cpp2-stubber
ILUCPLUSPLUSINCLUDES = -I/jilu/src/runtime/cpp2 -I/jilu/src/runtime/kernel
ILUCPLUSPLUSLIBS = /jilu/src/runtime/cpp2/libilu-cpp2.a /jilu/src/runtime/kernel/libilu.a
*/

#ifdef WORK_IN_SOURCE_TREE
CPLUSPLUS_STUBBER=../../stubbers/cpp2/cpp2-stubber
ILUCPLUSPLUSINCLUDES = -I../../runtime/cpp2 -I../../stubbers/cpp2 -I../../runtime/kernel
ILUCPLUSPLUSLIBS = ../../runtime/cpp2/libilu-cpp2.a ../../runtime/kernel/libilu.a
#else
CPLUSPLUS_STUBBER=$(ILUHOME)/bin/cpp2-stubber
ILUCPLUSPLUSINCLUDES = -I$(ILUHOME)/include
ILUCPLUSPLUSLIBS = $(ILUHOME)/lib/libilu-cpp2.a $(ILUHOME)/lib/libilu.a
#endif

/* You shouldn't need to change anything below this (or above this,
if you're not a developer. */

NormalObjectRule()

InterfaceTarget(foo.isl)

ILUCPlusPlusTarget(foo-cpp.hpp foo-cpp.cpp foo-cpptrue.hpp foo-cpptrue.cpp foo-cppsurrogate.hpp foo-cppsurrogate.cpp, foo.isl)

ObjectTarget(foo-cpp.o)
ObjectTarget(foo-cppsurrogate.o)
ObjectTarget(foo-cpptrue.o)

ObjectTarget(clientmain.o)
ObjectTarget(servermain.o)

clientmain.o : foo-cpp.hpp foo-cppsurrogate.hpp clientmain.cpp
servermain.o : foo-cpp.hpp foo-cpptrue.hpp servermain.cpp

ILUCPlusPlusProgramTarget(fooclient, clientmain.o foo-cpp.o foo-cppsurrogate.o,$(CPLUSPLUSLIBS),)
ILUCPlusPlusProgramTarget(fooserver, servermain.o foo-cpp.o foo-cpptrue.o, $(CPLUSPLUSLIBS) ,)


