summaryrefslogtreecommitdiff
path: root/CIAO/tests/CIDL/CodeGen/CodeGen.mpc
blob: f4b48e3ec750c1054f8aedf3833200a1f29b7547 (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
// $Id$
// This file is generated with "generate_component_mpc.pl -p Basic CodeGen"
//
// NOTE: This MPC file has been hand edited so the executor files
//       will be autogenerated part of the build process. Excercise
//       caution when regenerating this file (that is, remember to
//       insert the logic for autogeneration of executor files).

project(Basic_CodeGen_idl_gen) : taoidldefaults, anytypecode {
  avoids += ace_for_tao
  custom_only = 1
  idlflags += -Wb,stub_export_macro=CODEGEN_STUB_Export \
              -Wb,stub_export_include=CodeGen_stub_export.h \
              -Wb,skel_export_macro=CODEGEN_SVNT_Export \
              -Wb,skel_export_include=CodeGen_svnt_export.h

  IDL_Files {
    CodeGen.idl
  }
}

project(Basic_CodeGen_cidl_gen) : ciaocidldefaults, taoidldefaults {
  avoids += ace_for_tao
  custom_only = 1
  cidlflags += --svnt-export-macro CODEGEN_SVNT_Export \
               --svnt-export-include CodeGen_svnt_export.h \
               --gen-exec-impl
  idlflags += -Wb,export_macro=CODEGEN_EXEC_Export \
              -Wb,export_include=CodeGen_exec_export.h \
              -SS
              
  CIDL_Files {
    CodeGen.cidl
  }
  
  IDL_Files {
    CodeGenE.idl
  }
}

project(Basic_CodeGen_stub) : ciao_client_dnc {
  avoids += ace_for_tao
  after += Basic_CodeGen_idl_gen Basic_stub
  libs  += Basic_stub
  
  sharedname = CodeGen_stub
  dynamicflags   = CODEGEN_STUB_BUILD_DLL

  IDL_Files {
  }

  Source_Files {
    CodeGenC.cpp
  }

  Header_Files {
    CodeGenC.h
    CodeGen_stub_export.h
  }

  Inline_Files {
    CodeGenC.inl
  }
}

project(Basic_CodeGen_exec) : ciao_component_dnc {
  avoids += ace_for_tao
  after   += Basic_CodeGen_cidl_gen Basic_CodeGen_stub
  sharedname = CodeGen_exec
  libs += CodeGen_stub Basic_stub
  
  dynamicflags   = CODEGEN_EXEC_BUILD_DLL

  IDL_Files {
  }

  Source_Files {
    CodeGenEC.cpp
    CodeGen_exec.cpp
  }
  
  Header_Files {
    CodeGenEC.h
    CodeGen_exec.h
    CodeGen_exec_export.h
  }
  
  Inline_Files {
    CodeGenEC.inl
  }
}


project(Basic_CodeGen_svnt) : ciao_servant_dnc {
  avoids += ace_for_tao
  after      += Basic_skel Basic_CodeGen_exec
  sharedname  = CodeGen_svnt
  libs       += CodeGen_exec \
                CodeGen_stub \
                Basic_skel \
                Basic_stub
  
  dynamicflags = CODEGEN_SVNT_BUILD_DLL
  
  CIDL_Files {
  }

  IDL_Files {
  }

  Source_Files {
    CodeGenS.cpp
    CodeGen_svnt.cpp
  }
  
  Header_Files {
    CodeGenS.h
    CodeGen_svnt.h
    CodeGen_svnt_export.h
  }
  
  Inline_Files {
    CodeGenS.inl
  }
}