summaryrefslogtreecommitdiff
path: root/examples/E2E_Task/Subtask/Subtask.mpc
blob: e8c91a445b37d0bfd6d6574cf39913f7291d88bf (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
project(Subtask_idl_gen) : taoidldefaults, anytypecode, race_idl {
  avoids += ace_for_tao
  custom_only = 1
  idlflags += -Wb,stub_export_macro=SUBTASK_STUB_Export \
              -Wb,stub_export_include=Subtask_stub_export.h \
              -Wb,skel_export_macro=SUBTASK_SVNT_Export \
              -Wb,skel_export_include=Subtask_svnt_export.h \
              -I ../Base

  IDL_Files {
    Subtask.idl
  }
}

project(Subtask_cidl_gen) : ciaocidldefaults, taoidldefaults, race_idl {
  avoids += ace_for_tao
  custom_only = 1
  cidlflags += --svnt-export-macro SUBTASK_SVNT_Export \
               --svnt-export-include Subtask_svnt_export.h \
                -I ../Base
  idlflags += -Wb,export_macro=SUBTASK_EXEC_Export \
              -Wb,export_include=Subtask_exec_export.h \
              -SS \
              -I ../Base
  CIDL_Files {
    Subtask.cidl
  }

  IDL_Files {
    SubtaskE.idl
  }
}

project(Subtask_stub) : ccm_stub, race_common {
  avoids += ace_for_tao
  after += Subtask_idl_gen \
           Event_Types_stub

  libs  += Event_Types_stub
  includes += ../Base

  sharedname = Subtask_stub
  dynamicflags   = SUBTASK_STUB_BUILD_DLL

  IDL_Files {
  }

  Source_Files {
    SubtaskC.cpp
  }

  Header_Files {
    SubtaskC.h
    Subtask_stub_export.h
  }

  Inline_Files {
    SubtaskC.inl
  }
}

project(Subtask_exec) : ciao_executor, race_common {
  avoids += ace_for_tao
  after   += Subtask_cidl_gen \
             Subtask_stub \
             App_utils

  sharedname = Subtask_exec
  libs += Subtask_stub \
          Event_Types_stub \
          App_utils

  includes += ../Base\
              ../utils

  dynamicflags   = SUBTASK_EXEC_BUILD_DLL

  IDL_Files {
  }

  Source_Files {
    SubtaskEC.cpp
    Subtask_exec.cpp
  }

  Header_Files {
    SubtaskEC.h
    Subtask_exec.h
    Subtask_exec_export.h
  }

  Inline_Files {
    SubtaskEC.inl
  }
}


project(Subtask_svnt) : ciao_servant, race_common {
  avoids += ace_for_tao
  after      +=  Subtask_exec \
                 Event_Types_svnt
  sharedname  = Subtask_svnt
  libs       += Subtask_exec \
                Subtask_stub \
                Event_Types_stub \
                Event_Types_svnt

  includes += ../Base
  dynamicflags = SUBTASK_SVNT_BUILD_DLL

  CIDL_Files {
  }

  IDL_Files {
  }

  Source_Files {
    SubtaskS.cpp
    Subtask_svnt.cpp
  }

  Header_Files {
    SubtaskS.h
    Subtask_svnt.h
    Subtask_svnt_export.h
  }

  Inline_Files {
    SubtaskS.inl
  }
}