summaryrefslogtreecommitdiff
path: root/ACE/TAO/DevGuideExamples/Messaging/AMIcallback/AMIcallback.mpc
blob: 519ebd794eb40b8bd9296cf2e5272f163b2216c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// $Id$

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
  }
}