summaryrefslogtreecommitdiff
path: root/flat/CIAO/tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent.mpc
blob: 84d9135dbd9564e50f991e7dc7002b07b575289c (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
// $Id$
// This file is generated with "generate_component_mpc.pl SimpleComponent"

project(SimpleComponent_idl_gen) : taoidldefaults, anytypecode {
  avoids += ace_for_tao
  custom_only = 1
  idlflags += -Wb,stub_export_macro=SIMPLECOMPONENT_STUB_Export \
              -Wb,stub_export_include=SimpleComponent_stub_export.h \
              -Wb,skel_export_macro=SIMPLECOMPONENT_SVNT_Export \
              -Wb,skel_export_include=SimpleComponent_svnt_export.h

  IDL_Files {
    SimpleComponent.idl
  }
}

project(SimpleComponent_cidl_gen) : ciaocidldefaults, taoidldefaults {
  avoids += ace_for_tao
  custom_only = 1
  cidlflags += --svnt-export-macro SIMPLECOMPONENT_SVNT_Export \
               --svnt-export-include SimpleComponent_svnt_export.h
  idlflags += -Wb,export_macro=SIMPLECOMPONENT_EXEC_Export \
              -Wb,export_include=SimpleComponent_exec_export.h \
              -SS
              
  CIDL_Files {
    SimpleComponent.cidl
  }
  
  IDL_Files {
    SimpleComponentE.idl
  }
}

project(SimpleComponent_stub) : ccm_stub {
  avoids += ace_for_tao
  after += SimpleComponent_idl_gen 
  libs  += 
  
  sharedname = SimpleComponent_stub
  dynamicflags   = SIMPLECOMPONENT_STUB_BUILD_DLL

  IDL_Files {
  }

  Source_Files {
    SimpleComponentC.cpp
  }

  Header_Files {
    SimpleComponentC.h
    SimpleComponent_stub_export.h
  }

  Inline_Files {
    SimpleComponentC.inl
  }
}

project(SimpleComponent_exec) : ciao_executor, ccm_svnt {
  avoids += ace_for_tao
  after   += SimpleComponent_cidl_gen SimpleComponent_svnt
  sharedname = SimpleComponent_exec
  libs += SimpleComponent_stub SimpleComponent_svnt 
  
  dynamicflags   = SIMPLECOMPONENT_EXEC_BUILD_DLL

  IDL_Files {
  }

  Source_Files {
    SimpleComponentEC.cpp
    SimpleComponent_exec.cpp
  }
  
  Header_Files {
    SimpleComponentEC.h
    SimpleComponent_exec.h
    SimpleComponent_exec_export.h
  }
  
  Inline_Files {
    SimpleComponentEC.inl
  }
}


project(SimpleComponent_svnt) : ciao_servant, ccm_svnt {
  avoids += ace_for_tao
  sharedname  = SimpleComponent_svnt
  libs       += SimpleComponent_stub 
  after +=   SimpleComponent_stub SimpleComponent_cidl_gen
  dynamicflags = SIMPLECOMPONENT_SVNT_BUILD_DLL
  
  CIDL_Files {
  }

  IDL_Files {
  }

  Source_Files {
    SimpleComponentS.cpp
    SimpleComponentEC.cpp
    SimpleComponent_svnt.cpp
  }
  
  Header_Files {
    SimpleComponentS.h
    SimpleComponent_svnt.h
    SimpleComponent_svnt_export.h
  }
  
  Inline_Files {
    SimpleComponentS.inl
  }
}

project (SimpleComponent_CIAOComponentServer_Test) : ciao_componentserver_stub, ccm_configvalue, ciao_cs_client {
   after += SimpleComponent_stub SimpleComponent_svnt
   libs += SimpleComponent_stub CIAO_Logger
   IDL_Files {
   }
   Source_Files {
     client.cpp
   }
}