summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/docs/tutorials/Quoter/Simple/Persistent/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/TAO/docs/tutorials/Quoter/Simple/Persistent/Makefile b/TAO/docs/tutorials/Quoter/Simple/Persistent/Makefile
new file mode 100644
index 00000000000..921fb0744fb
--- /dev/null
+++ b/TAO/docs/tutorials/Quoter/Simple/Persistent/Makefile
@@ -0,0 +1,54 @@
+#----------------------------------------------------------------------------
+#
+# $Id$
+#
+#----------------------------------------------------------------------------
+
+#----------------------------------------------------------------------------
+# Local macros
+#----------------------------------------------------------------------------
+
+ifndef TAO_ROOT
+ TAO_ROOT = $(ACE_ROOT)/TAO
+endif # ! TAO_ROOT
+
+LDLIBS = -lTAO
+
+IDLFILES = QuoterC QuoterS
+BIN = server client
+
+SRC = $(addsuffix .cpp, $(BIN) $(IDLFILES) Stock_i Stock_Factory_i)
+
+SERVER_OBJS = $(addsuffix .o, server Stock_i Stock_Factory_i $(IDLFILES))
+CLIENT_OBJS = $(addsuffix .o, client Stock_i Stock_Factory_i $(IDLFILES))
+
+#----------------------------------------------------------------------------
+# Include macros and targets
+#----------------------------------------------------------------------------
+
+include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
+include $(ACE_ROOT)/include/makeinclude/macros.GNU
+include $(TAO_ROOT)/rules.tao.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
+
+#----------------------------------------------------------------------------
+# Local targets
+#----------------------------------------------------------------------------
+
+.PRECIOUS: $(foreach ext, $(IDL_EXT), Quoter$(ext))
+
+server: $(addprefix $(VDIR),$(SERVER_OBJS))
+ $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
+
+client: $(addprefix $(VDIR),$(CLIENT_OBJS))
+ $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
+
+realclean: clean
+ -$(RM) $(foreach ext, $(IDL_EXT), Quoter$(ext))
+
+# DO NOT DELETE THIS LINE -- g++dep uses it.
+# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
+