summaryrefslogtreecommitdiff
path: root/TAO/CIAO
diff options
context:
space:
mode:
authorlut <lut@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-12-01 02:52:56 +0000
committerlut <lut@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-12-01 02:52:56 +0000
commita230cd4b6d611bea82c8318a9b6ad14597e5c91e (patch)
treec7993155f4d6b76c8c0d0a77a53645b75dc4d8ba /TAO/CIAO
parent93d9eb89314a8a63d2bfa0e4fdbe75b5e4a56896 (diff)
downloadATCD-a230cd4b6d611bea82c8318a9b6ad14597e5c91e.tar.gz
ChangeLogTag: Sun Nov 30 20:51:06 2003 Tao Lu <lu@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/CIAO')
-rw-r--r--TAO/CIAO/ChangeLog5
-rw-r--r--TAO/CIAO/examples/Hello/Sender/Makefile.Hello_Starter136
2 files changed, 141 insertions, 0 deletions
diff --git a/TAO/CIAO/ChangeLog b/TAO/CIAO/ChangeLog
index 188c2dcca27..47b7377d6ed 100644
--- a/TAO/CIAO/ChangeLog
+++ b/TAO/CIAO/ChangeLog
@@ -1,3 +1,8 @@
+Sun Nov 30 20:51:06 2003 Tao Lu <lu@dre.vanderbilt.edu>
+
+ * examples/Hello/Sender/Makefile.Hello_Starter:
+ Added this makefile which will make the starter program.
+
Sun Nov 30 11:47:29 2003 Tao Lu <lu@dre.vanderbilt.edu>
* examples/Hello:
diff --git a/TAO/CIAO/examples/Hello/Sender/Makefile.Hello_Starter b/TAO/CIAO/examples/Hello/Sender/Makefile.Hello_Starter
new file mode 100644
index 00000000000..01acc92f1a2
--- /dev/null
+++ b/TAO/CIAO/examples/Hello/Sender/Makefile.Hello_Starter
@@ -0,0 +1,136 @@
+#----------------------------------------------------------------------------
+# GNU Makefile
+#
+# @file Makefile.Hello_Starter
+#
+# $Id$
+#
+# This file was automatically generated by MPC. Any changes made directly to
+# this file will be lost the next time it is generated.
+#
+#----------------------------------------------------------------------------
+MAKEFILE = Makefile.Hello_Starter
+DEPENDENCY_FILE = .depend.Makefile.Hello_Starter
+BIN_UNCHECKED = starter
+
+ifndef TAO_ROOT
+ TAO_ROOT = $(ACE_ROOT)/TAO
+endif
+ifndef CIAO_ROOT
+ CIAO_ROOT = $(TAO_ROOT)/CIAO
+endif
+
+TAO_IDL = $(ACE_ROOT)/bin/tao_idl
+IDL_FILES = Sender SenderEI SenderE
+IDL_SRC = $(foreach ext, C.cpp S.cpp, $(foreach file, $(IDL_FILES), $(file)$(ext)))
+
+FILES = \
+ SenderC \
+ SenderS \
+ SenderEIC \
+ SenderEIS \
+ SenderEC \
+ SenderES \
+ starter
+
+#----------------------------------------------------------------------------
+# Include macros and targets
+#----------------------------------------------------------------------------
+LDLIBS = -lSender_stub -lCIAO_Client -lTAO_Security -lTAO_PortableServer -lTAO_IORInterceptor -lTAO_ObjRefTemplate -lTAO_Valuetype -lTAO_IFR_Client -lTAO -lACE
+include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
+## We don't need the ACELIB setting from wrapper_macros.GNU
+ACELIB =
+include $(TAO_ROOT)/rules.tao.GNU
+
+# To build multiple executables in the same directory on AIX, it works
+# best to have a template directory per project.
+# The compiler/linker isn't too smart about instantiating templates...
+ifdef TEMPINCDIR
+TEMPINCDIR := $(TEMPINCDIR)/Hello_Starter
+
+all: $(TEMPINCDIR)
+
+$(TEMPINCDIR):
+ @-test -d $(TEMPINCDIR) || mkdir -p $(TEMPINCDIR) $(ACE_NUL_STDERR)
+
+endif
+OUTPUT_DIRECTORY = .
+all: $(OUTPUT_DIRECTORY)
+
+$(OUTPUT_DIRECTORY):
+ -@mkdir -p "$(OUTPUT_DIRECTORY)"
+
+
+CURRENT_COMPONENTS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs)
+ifeq (Security, $(findstring Security, $(CURRENT_COMPONENTS)))
+BIN = $(BIN_UNCHECKED)
+else
+ all: comp_warning
+endif
+
+OBJS = $(addsuffix .o, $(notdir $(FILES)))
+SRC = $(addsuffix .cpp, $(FILES))
+ifneq (,$(RC))
+ FILES += $(RESOURCES)
+endif
+
+
+ifneq ($(BIN),)
+all: idl_stubs
+
+# This rule forces make to run the idl_stubs
+# target before building any of the source files.
+SenderC.cpp SenderS.cpp SenderEIC.cpp SenderEIS.cpp SenderEC.cpp SenderES.cpp starter.cpp: idl_stubs
+endif
+
+include $(ACE_ROOT)/include/makeinclude/macros.GNU
+include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
+include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
+
+include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
+include $(TAO_ROOT)/taoconfig.mk
+
+CPPFLAGS += -I$(CIAO_ROOT) -I$(CIAO_ROOT)/ciao -I$(TAO_ROOT)/orbsvcs/orbsvcs -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) -I$(TAO_ROOT)/tao -I$(ACE_ROOT)
+ifeq ($(static_libs),1)
+ ifneq ($(LIB),)
+ CPPFLAGS += -DTAO_AS_STATIC_LIBS -DTAO_AS_STATIC_LIBS -DACE_AS_STATIC_LIBS
+ endif
+endif
+
+
+LDFLAGS += -L.. -L$(ACE_ROOT)/lib
+
+TAO_IDLFLAGS += -I$(CIAO_ROOT) -I$(TAO_ROOT)/CIAO/ciao -I$(TAO_ROOT)/orbsvcs/orbsvcs -Gv -I$(TAO_ROOT) -I$(TAO_ROOT)/orbsvcs -Ge 1 -Sc -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h
+#----------------------------------------------------------------------------
+# Local targets
+#----------------------------------------------------------------------------
+comp_warning:
+ @echo This project will not be built due to one of the following missing components:
+ @echo Security
+
+
+ADDITIONAL_IDL_TARGETS =
+# IDL File Directory: .
+# IDL File Directory: .
+# IDL File Directory: .
+
+ifneq ($(ADDITIONAL_IDL_TARGETS),)
+idl_stubs: $(ADDITIONAL_IDL_TARGETS)
+endif
+
+.PRECIOUS: $(foreach ext, $(IDL_EXT), $(foreach file, $(IDL_FILES), $(file)$(ext)))
+
+ifndef kylix
+$(BIN): $(addprefix $(VDIR), $(OBJS))
+ $(LINK.cc) $(LDFLAGS) $(CC_OUTPUT_FLAG) $@ $^ $(VLDLIBS) $(POSTLINK)
+else
+$(BIN): $(addprefix $(VDIR), $(OBJS))
+ $(LINK.cc) $(LDFLAGS) $(CC_OUTPUT_FLAG) $(VLDLIBS) $(BORINITEXEOBJ) $(POSTLINK) $^, $@,,
+endif
+
+realclean: clean
+ -$(RM) $(foreach ext, $(IDL_EXT), $(foreach file, $(IDL_FILES), $(file)$(ext)))
+ifneq ($(GENERATED_DIRTY),)
+ -$(RM) -r $(GENERATED_DIRTY)
+endif
+