summaryrefslogtreecommitdiff
path: root/TAO/CIAO/examples/handcrafted/Hello/hello.mpc
blob: c3f6b9537ce53d4b3c3aa3418bb2639c59d7d873 (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
project(hello_stub): ciao_client {
  sharedname = hello_stub
  idlflags += -I ../../.. -I ../../../.. -I ../../../../orbsvcs/orbsvcs
  idlflags +=  -Wb,pre_include="ace/pre.h" -Wb,post_include="ace/post.h"
  idlflags += -Wb,stub_export_macro=HELLO_STUB_Export -Wb,stub_export_include=hello_stub_export.h -Wb,skel_export_macro=HELLO_SERVANT_Export -Wb,skel_export_include=hello_servants_export.h
  dllflags   = HELLO_STUB_BUILD_DLL

  IDL_Files {
    hello.idl
  }

  Source_Files {
    helloC.cpp
  }
}

project(hello_servants) : ciao_server {
  depends += hello_stub
  sharedname  = hello_servants
  libs    += hello_stub
  idlflags  +=  -I ../../.. -I ../../../.. -I ../../../../orbsvcs/orbsvcs -Wb,export_macro=HELLO_SERVANT_Export -Wb,export_include=hello_servants_export.h -Wb,pre_include="ace/pre.h" -Wb,post_include="ace/post.h"
  dllflags = HELLO_SERVANT_BUILD_DLL

  IDL_Files {
    helloE.idl
  }

  Source_Files {
    helloEC.cpp
    helloS.cpp
    hello_servants.cpp
  }
}

project(hello_executors) : ciao_server {
  depends   += hello_servants
  sharedname = hello_executors
  libs      += hello_stub hello_servants
  dllflags   = HELLO_EXECUTOR_BUILD_DLL

  IDL_Files {
  }

  Source_Files {
    hello_executors.cpp
  }
}

project (client) : ciao_client {
  exename = client
  depends += hello_stub
  libs += hello_stub

  IDL_Files {
  }

  Source_Files {
    client.cpp
  }
}

// Client for interacting with the Simple_Component_Server
project (simple_client) : ciao_client {
  libpaths += $(CIAO_ROOT)/tools/Simple_Component_Server
  depends += hello_stub Simple_Server_Stbu
  libpaths += $(CIAO_ROOT)/tools/Simple_Component_Server
  libs += hello_stub CIAO_Simple_Server_Stub
  exename = simple_client

  IDL_Files {
  }

  Source_Files {
    simple_client.cpp
  }
}