summaryrefslogtreecommitdiff
path: root/TAO/IIOP/tests/Cubit
diff options
context:
space:
mode:
authorgokhale <asgokhale@users.noreply.github.com>1997-07-02 04:04:10 +0000
committergokhale <asgokhale@users.noreply.github.com>1997-07-02 04:04:10 +0000
commit281ba7a4a2e724e46a9d0e2f870600214064bc6c (patch)
tree388cc090a2db13c4c13cf0d724a09bebd51cf30f /TAO/IIOP/tests/Cubit
parent17dc0fc54b16db4608f5c2d33ed5b2b68942090d (diff)
downloadATCD-281ba7a4a2e724e46a9d0e2f870600214064bc6c.tar.gz
Makefile for Orbix cubit
Diffstat (limited to 'TAO/IIOP/tests/Cubit')
-rw-r--r--TAO/IIOP/tests/Cubit/Orbix/Makefile28
-rw-r--r--TAO/IIOP/tests/Cubit/Orbix/orb.mk146
2 files changed, 174 insertions, 0 deletions
diff --git a/TAO/IIOP/tests/Cubit/Orbix/Makefile b/TAO/IIOP/tests/Cubit/Orbix/Makefile
new file mode 100644
index 00000000000..da4dab89170
--- /dev/null
+++ b/TAO/IIOP/tests/Cubit/Orbix/Makefile
@@ -0,0 +1,28 @@
+#----------------------------------------------------------------------------
+# @(#)Makefile 1.1 10/18/96
+#
+# Makefile for the Gateway application
+#----------------------------------------------------------------------------
+
+#----------------------------------------------------------------------------
+# Local macros
+#----------------------------------------------------------------------------
+
+INFO = README
+
+DIRS = base_server \
+ client \
+ tpr \
+ tpool \
+ tps
+
+#----------------------------------------------------------------------------
+# Include macros and targets
+#----------------------------------------------------------------------------
+
+include $(WRAPPER_ROOT)/include/makeinclude/wrapper_macros.GNU
+include $(WRAPPER_ROOT)/include/makeinclude/macros.GNU
+include $(WRAPPER_ROOT)/include/makeinclude/rules.common.GNU
+include $(WRAPPER_ROOT)/include/makeinclude/rules.nested.GNU
+include $(WRAPPER_ROOT)/include/makeinclude/rules.nolocal.GNU
+
diff --git a/TAO/IIOP/tests/Cubit/Orbix/orb.mk b/TAO/IIOP/tests/Cubit/Orbix/orb.mk
new file mode 100644
index 00000000000..cf7b12d3b1b
--- /dev/null
+++ b/TAO/IIOP/tests/Cubit/Orbix/orb.mk
@@ -0,0 +1,146 @@
+# ------------------------------------------------------------
+# Orbix 2.2 implicit rules for SunOS/GNU Make
+# ------------------------------------------------------------
+#
+# If you cut'n'paste this into your /usr/include/make/default.mk
+# file, beware! This is not officially supported by Iona
+# Technologies, and you may want to be a bit of a Makefile hacker
+# to make it integrate well with your site's setup.
+
+# The best thing to do would be put it in a standard place and
+# anyone who wants the Orbix implicit rule set can include
+# it with an "include <pathname>/orbix.mk" line in their
+# Makefile. A good place to put it might be /usr/include/make.
+
+# These rules define default C++, C++FLAGS and C++SUFFIX.
+# C++ is the C++ compiler to use; C++FLAGS are command-line
+# flags to the C++ compiler for use in compiling C++ source
+# files into objects; C++SUFFIX is the filename suffix
+# indicating C++ source. By default, it's set to "C" for AT&T C++,
+# and "cc" for GNU g++.
+
+# Feel free to override these in your Makefiles *after*
+# including this file.
+
+# IMPORTANT: If the -M switch is specified in IDLFLAGS, the IDL
+# compiler appends to the user-specified file. The dependency for
+# specified_file.o in the linking target should appear _after_ any use
+# of the IDL compiler which takes the -M flag. Putting it _last_
+# is normally the best approach.
+
+# Note that these rule definitions use pattern matching,
+# and therefore only work with SunOS make and GNU make.
+
+# They may not work with other vendor's versions of make.
+# If they do not, you may wish to try using GNU make, which
+# is free software produced by the Free Software Foundation.
+
+# If the version of make you wish to use does not support
+# pattern matching, use the sample explicit rule set in
+# the comments at the end of this file.
+
+# ------------------------------------------------------------
+# Essential: set these to the locations into which you
+# have installed Orbix' components:
+
+ORBIX_BINDIR = /opt/Orbix_2.2MT/corba2/bin
+ORBIX_LIBDIR = /opt/Orbix_2.2MT/corba2/lib
+ORBIX_INCDIR = /opt/Orbix_2.2MT/corba2/include
+
+#-------------------------------------------------------------
+# To compile the demos, you should change these values as
+# appropriate for your particular system installation
+#-------------------------------------------------------------
+
+X11BASE = /usr/openwin
+X11INCDIR = $(X11BASE)/include
+X11LIBDIR = $(X11BASE)/lib
+
+# C++ = CC
+# C++FLAGS = -I$(ORBIX_INCDIR) -I. -mt -D_REENTRANT
+# C++SUFFIX = cpp
+
+# ------------------------------------------------------------
+# ITCLT, IRCLT and ITSRV can be either statically or dynamically linked
+# Use -Bdynamic or -Bstatic as appropriate.
+# ------------------------------------------------------------
+
+ITCLT = -Bstatic -lorbixmt
+IRCLT = -Bstatic -lIRcltmt
+ITSRV = -Bstatic -lorbixmt
+ITIIOP = -Bstatic -liiopmt
+ITDSI = -Bstatic -lDSImt
+ITIFR = -Bstatic -lifrmt
+
+# ------------------------------------------------------------
+# SYSLIBS must be dynamically linked; otherwise you can expect to
+# get linkage errors for symbols in the nsl library
+# ------------------------------------------------------------
+
+LDFLAGS += -L$(ORBIX_LIBDIR)
+SYSLIBS = -Bdynamic -lnsl -lsocket
+
+IDL = $(ORBIX_BINDIR)/idl
+IDLFLAGS =
+
+# ------------------------------------------------------------
+# The following section defines implicit rules for creating
+# *.{C,S}.C files, rules for compiling those
+# into objects, and even a rule for compiling C++ source into
+# objects (in case one isn't already defined).
+
+# ------------------------------------------------------------
+# first, put the new suffixes at the *head* of the suffix list,
+# overriding any existing .C compilation method.
+.SUFFIXES:
+.SUFFIXES: .$(C++SUFFIX) .idl $(SUFFIXES)
+
+# .SUFFIXES: .$(C++SUFFIX) .idl .hh $(SUFFIXES)
+# ------------------------------------------------------------
+# *[CS].o must be compiled here, and depends
+# mostly on the C++ files produced from the IDL file.
+
+%C.o: %C.$(C++SUFFIX)
+ $(C++) -c $(C++FLAGS) $<
+
+%S.o: %S.$(C++SUFFIX)
+ $(C++) -c $(C++FLAGS) $<
+
+%.o: %.$(C++SUFFIX)
+ $(C++) -c $(C++FLAGS) $<
+
+# and here's how to compile C++ files from the IDL file.
+# only ONE of these rules will be run at make-time,
+
+%S.$(C++SUFFIX): %.idl
+ $(IDL) $(IDLFLAGS) $<
+
+%C.$(C++SUFFIX): %.idl
+ $(IDL) $(IDLFLAGS) $<
+
+%.hh: %.idl
+ $(IDL) $(IDLFLAGS) $<
+
+# ------------------------------------------------------------
+# If the version of make you wish to use does not support
+# pattern matching, here's a sample of an explicit rule set.
+
+# We assume the IDL file is called "foobar.idl", we wish
+# to compile "foobarC.o", "foobarS.o", and
+# "foobar.hh", and the C++ file suffix.
+# ------------------------------------------------------------
+
+# foobarC.o: foobar.hh foobarC.C
+# $(C++) -c ($C++FLAGS) foobarC.C
+#
+# foobarS.o: foobar.hh foobarS.C
+# $(C++) -c ($C++FLAGS) foobarS.C
+#
+# foobarC.C: foobar.idl
+# $(IDL) -c ($IDLFLAGS) foobar.idl
+#
+# foobarS.C: foobar.idl
+# $(IDL) -c ($IDLFLAGS) foobar.idl
+#
+# foobar.hh: foobar.idl
+# $(IDL) -c ($IDLFLAGS) foobar.idl