summaryrefslogtreecommitdiff
path: root/Controller/Component/Controller.mpc
blob: de27e52e9282dbc9cc54b58e8ee8fa52cd584332 (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
project(Controller_stub): ciao_deployment_stub {

  after += CIAO_TargetManager_stub \
           TargetManager_stub       \
           NodeManager_stub \
           Monitor_stub

  sharedname = Controller_stub

  libs += TargetManager_stub \
          NodeManager_stub \
          Monitor_stub

  idlflags += -Wb,stub_export_macro=CONTROLLER_STUB_Export \
              -Wb,stub_export_include=Controller_stub_export.h \
              -Wb,skel_export_macro=CONTROLLER_SVNT_Export \
              -Wb,skel_export_include=Controller_svnt_export.h

  dynamicflags   = CONTROLLER_STUB_BUILD_DLL

  IDL_Files {
    Controller.idl
    Interface.idl
  }

  Source_Files {
    ControllerC.cpp
    InterfaceC.cpp
  }
}

project(Controller_svnt) : ciao_servant_dnc {
  after +=  Controller_stub \
            CIAO_TargetManager_svnt

  sharedname  = Controller_svnt

  libs    += Controller_stub \
             TargetManager_stub \
             TargetManager_svnt \
             NodeManager_stub \
             Monitor_stub

  idlflags  +=  -Wb,export_macro=CONTROLLER_SVNT_Export \
                -Wb,export_include=Controller_svnt_export.h

  dynamicflags = CONTROLLER_SVNT_BUILD_DLL

  CIDL_Files {
    Controller.cidl
  }

  IDL_Files {
    ControllerE.idl
  }

  Source_Files {
    ControllerEC.cpp
    ControllerS.cpp
    InterfaceS.cpp
    Controller_svnt.cpp
  }
}

project(Controller_exec) : ciao_component_dnc, ciao_config_handlers {
  after   += Controller_svnt \
             XSC_Config_Handlers \
             Path_stub

  sharedname = Controller_exec
  includes += $(CIAO_ROOT)/DAnCE/

  libs      += Controller_stub \
               Controller_svnt \
               TargetManager_stub \
               TargetManager_svnt \
               NodeManager_stub \
               Monitor_stub

  idlflags  +=  -Wb,export_macro=CONTROLLER_EXEC_Export \
                -Wb,export_include=Controller_exec_export.h
  dynamicflags   = CONTROLLER_EXEC_BUILD_DLL

  IDL_Files {
  }

  Header_Files {
    Poller.h
    Descriptor.h
  }

  Source_Files {
    Poller.cpp
    Descriptor.cpp
    Controller_exec.cpp
  }
}


project (Controller_Starter) : ciao_client_dnc, ciao_deployment_stub, valuetype {
  exename = starter
  after += Controller_stub
  libs += Controller_stub \
          TargetManager_stub       \
          NodeManager_stub \
          Monitor_stub


  IDL_Files {
  }

  Source_Files {
    starter.cpp
  }

  Header_Files {
  }

  Inline_Files {
  }
}