summaryrefslogtreecommitdiff
path: root/ciao/ComponentServer/CIAO_ComponentServer.mpc
blob: 901c09024d4aa1adb8e1a26e12ee3ac48718b808 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
// $Id$

project(CIAO_ComponentServer_IDL) : install, ciaoidldefaults, anytypecode {
  idlflags     += -Wb,stub_export_macro=CIAO_COMPONENTSERVER_STUB_Export \
                  -Wb,stub_export_include=CIAO_ComponentServer_stub_export.h \
                  -Wb,skel_export_macro=CIAO_COMPONENTSERVER_SVNT_Export \
                  -Wb,skel_export_include=CIAO_ComponentServer_svnt_export.h \
                  -Gxhst -Gxhsk

  custom_only=1

  IDL_Files {
    CIAO_ComponentServer.idl
  }
  specific {
    install_dir = ciao/ComponentServer
  }
}

project(CIAO_CS_Client_IDL) : install, ciaoidldefaults, anytypecode {
  idlflags     += -Wb,stub_export_macro=CIAO_COMPONENTSERVER_STUB_Export \
                  -Wb,stub_export_include=CIAO_ComponentServer_stub_export.h \
                  -Wb,skel_export_macro=CIAO_CS_CLIENT_SVNT_Export \
                  -Wb,skel_export_include=CIAO_CS_Client_svnt_export.h

  custom_only=1

  IDL_Files {
    CIAO_Properties.idl
    idlflags += -SS -Sci -Gxhsk
  }
  IDL_Files {
    CIAO_CS_Client.idl
  }
  IDL_Files {
    idlflags += -Sci -SS
    CIAO_FailureReasons.idl
  }
  specific {
    install_dir = ciao/ComponentServer
  }
}

project(CIAO_ComponentServer_stub) : install, ccm_componentserver_stub, ciaolib_with_idl, ciao_output, \
				     messaging,  anytypecode, ciao_logger, ciao_lib, ccm_configvalue, \
				     ccm_cookie {
  after += CIAO_ComponentServer_IDL CIAO_CS_Client_IDL
  dynamicflags = CIAO_COMPONENTSERVER_STUB_BUILD_DLL

  IDL_Files {
  }
  Source_Files {
    CIAO_ComponentServerC.cpp
    CIAO_CS_ClientC.cpp
    CIAO_PropertiesC.cpp
    Server_init.cpp
    Client_init.cpp
  }
  Header_Files {
    CIAO_ComponentServer_stub_export.h
    CIAO_ComponentServerC.h
    CIAO_CS_ClientC.h
    CIAO_PropertiesC.h
  }
  Inline_Files {
    CIAO_ComponentServerC.inl
    CIAO_CS_ClientC.inl
  }
  specific {
    install_dir = ciao/ComponentServer
  }
}

project(CIAO_CS_Client_svnt) : install, ccm_svnt, ccm_componentserver_svnt, ciao_componentserver_stub, portableserver, \
    ciao_lib, threads, avoids_ace_for_tao, ciao_logger {
  dynamicflags = CIAO_CS_CLIENT_SVNT_BUILD_DLL
  after += CIAO_CS_Client_IDL
  IDL_Files {
  }
  Source_Files {
    CIAO_ServerActivator_Impl.cpp
    CIAO_ComponentInstallation_Impl.cpp
    CIAO_CS_ClientS.cpp
  }
  Header_Files {
    CIAO_ServerActivator_Impl.h
    CIAO_ComponentInstallation_Impl.h
    CIAO_CS_ClientS.h
    CIAO_CS_Client_svnt_export.h
  }
  Inline_Files {
    CIAO_CS_ClientS.inl
  }
  specific {
    install_dir = ciao/ComponentServer
  }
}

project(CIAO_ComponentServer_svnt) : install, ccm_componentserver_svnt, ciao_componentserver_stub, portableserver, \
                                     ciao_session_container, ciao_lib, ciao_cs_client {
  dynamicflags = CIAO_COMPONENTSERVER_SVNT_BUILD_DLL

  IDL_Files {
  }
  Source_Files {
    CIAO_ComponentServer_Impl.cpp
    CIAO_ComponentServerS.cpp
    CIAO_Container_Impl.cpp
  }
  Header_Files {
    CIAO_ComponentServer_svnt_export.h
    CIAO_ComponentServerS.h
    CIAO_PropertiesS.h
  }
  Inline_Files {
    CIAO_ComponentServerS.inl
  }
  specific {
    install_dir = ciao/ComponentServer
  }
}

project(CIAO_ComponentServer_exe) : install, ccm_componentserver_svnt, portableserver, ciao_componentserver_svnt, \
                                    messaging, anytypecode, ciaoexe, ciao_session_container,\
                                    ciao_logger {
  exename = ciao_componentserver
  Source_Files {
    CIAO_ComponentServer.cpp
    CIAO_ComponentServer_Task.cpp
  }
  Inline_Files {
  }
  IDL_Files {
  }

  specific {
    install_dir = ciao
  }
  InstallData_Files {
    gendir = .
    ../../COPYING
    ../../NEWS
    ../../PROBLEM-REPORT-FORM
    ../../VERSION
    ../../docs
    ../../MPC
  }
  verbatim(gnuace, postinstall) {
"	cp ../../rules.ciao.GNU $(INSTALL_PREFIX)/share/ciao"
"	perl -i -pe's!\\$$[{(]CIAO_ROOT[})]!$(INSTALL_PREFIX)/include!g;' -e'if (/ifndef TAO_IDL3_TO_IDL2\\b/) {print qq!TAO_IDL3_TO_IDL2=$(INSTALL_PREFIX)/share/ciao/bin/tao_idl3_to_idl2\\nTAO_IDL3_TO_IDL2_DEP=\\$$(TAO_IDL3_TO_IDL2)\\$$(EXEEXT)\\n!}' $(INSTALL_PREFIX)/share/ciao/rules.ciao.GNU"
"	echo export CIAO_ROOT=$(INSTALL_PREFIX)/share/ciao> $(INSTALL_PREFIX)/share/ciao/ciao-devel.sh"
"	echo export DANCE_ROOT=$(INSTALL_PREFIX)/share/DAnCE>> $(INSTALL_PREFIX)/share/ciao/ciao-devel.sh"
  }
}

project(CIAO_RTComponentServer_exe) : install, ccm_componentserver_svnt, portableserver, ciao_componentserver_svnt, \
                                      messaging, anytypecode, ciaoexe, ciao_session_container,\
                                      ciao_logger, rt_server, rtportableserver {
  exename = ciao_rtcomponentserver
  Source_Files {
    CIAO_RTComponentServer.cpp
    CIAO_RTComponentServer_Task.cpp
  }
  Inline_Files {
  }
  IDL_Files {
  }

}