summaryrefslogtreecommitdiff
path: root/TAO/DevGuideExamples/Messaging/AMIcallback/AMIcallback.mpc
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/DevGuideExamples/Messaging/AMIcallback/AMIcallback.mpc')
-rw-r--r--TAO/DevGuideExamples/Messaging/AMIcallback/AMIcallback.mpc26
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/DevGuideExamples/Messaging/AMIcallback/AMIcallback.mpc b/TAO/DevGuideExamples/Messaging/AMIcallback/AMIcallback.mpc
new file mode 100644
index 00000000000..cb49b4153aa
--- /dev/null
+++ b/TAO/DevGuideExamples/Messaging/AMIcallback/AMIcallback.mpc
@@ -0,0 +1,26 @@
+project(*Server): messaging, taoexe, portableserver, ami {
+ Source_Files {
+ Messenger_i.cpp
+ MessengerServer.cpp
+ }
+}
+
+project(*Client): messaging, taoexe, portableserver, ami {
+ Source_Files {
+ MessengerHandler.cpp
+ MessengerClient.cpp
+ }
+ verbatim(gnuace, local) {
+ ## Using the -g option causes an internal compiler error with g++ 2.96
+ ## on Linux Itanium when compiling MessengerHandler.cpp.
+ ifeq ($(CXX), g++)
+ ifeq ($(findstring 2.96, $(CXX_VERSION)), 2.96)
+ ifeq ($(shell uname -s), Linux)
+ ifeq ($(shell uname -m), ia64)
+ DCFLAGS = -O0
+ endif
+ endif
+ endif
+ endif
+ }
+}