summaryrefslogtreecommitdiff
path: root/TAO/DevGuideExamples/PortableInterceptors/Auth
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/DevGuideExamples/PortableInterceptors/Auth')
-rw-r--r--TAO/DevGuideExamples/PortableInterceptors/Auth/Auth.mpc27
-rw-r--r--TAO/DevGuideExamples/PortableInterceptors/Auth/MessengerClient.cpp1
2 files changed, 24 insertions, 4 deletions
diff --git a/TAO/DevGuideExamples/PortableInterceptors/Auth/Auth.mpc b/TAO/DevGuideExamples/PortableInterceptors/Auth/Auth.mpc
index 742769bb17c..654ada76322 100644
--- a/TAO/DevGuideExamples/PortableInterceptors/Auth/Auth.mpc
+++ b/TAO/DevGuideExamples/PortableInterceptors/Auth/Auth.mpc
@@ -1,19 +1,40 @@
// $Id$
-project(*Server): taoexe, portableserver, namingexe, pi_server, avoids_minimum_corba {
+project(*idl): taoidldefaults {
+ IDL_Files {
+ Messenger.idl
+ }
+ custom_only = 1
+}
+
+project(*Server): taoserver, pi_server, avoids_minimum_corba {
+ exename = MessengerServer
+ after += *idl
Source_Files {
Messenger_i.cpp
ServerInitializer.cpp
ServerInterceptor.cpp
MessengerServer.cpp
}
+ Source_Files {
+ MessengerC.cpp
+ MessengerS.cpp
+ }
+ IDL_Files {
+ }
}
-project(*Client): taoexe, namingexe, pi, avoids_minimum_corba, interceptors {
+project(*Client): taoclient, pi, avoids_minimum_corba, interceptors {
+ exename = MessengerClient
+ after += *idl
Source_Files {
- MessengerC.cpp
MessengerClient.cpp
ClientInitializer.cpp
ClientInterceptor.cpp
}
+ Source_Files {
+ MessengerC.cpp
+ }
+ IDL_Files {
+ }
}
diff --git a/TAO/DevGuideExamples/PortableInterceptors/Auth/MessengerClient.cpp b/TAO/DevGuideExamples/PortableInterceptors/Auth/MessengerClient.cpp
index 17613d73381..bc1cfd78d0f 100644
--- a/TAO/DevGuideExamples/PortableInterceptors/Auth/MessengerClient.cpp
+++ b/TAO/DevGuideExamples/PortableInterceptors/Auth/MessengerClient.cpp
@@ -5,7 +5,6 @@
#include "tao/ORBInitializer_Registry.h"
// Ensure that the PI library is linked in when building statically
#include "tao/PI/PI.h"
-#include "orbsvcs/CosNamingC.h"
#include <iostream>
int