summaryrefslogtreecommitdiff
path: root/TAO/CIAO/docs/tutorial/Hello/hello.mpc
blob: 9146af9101f0719ca179fb13c99b3383b7109a4e (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
// $Id$

project(hello_stub): ciao_client {
  sharedname = hello_stub
  idlflags += -Wb,stub_export_macro=HELLO_STUB_Export -Wb,stub_export_include=hello_stub_export.h -Wb,skel_export_macro=HELLO_SVNT_Export -Wb,skel_export_include=hello_svnt_export.h
  dynamicflags   = HELLO_STUB_BUILD_DLL

  IDL_Files {
    hello.idl
  }

  Source_Files {
    helloC.cpp
  }
}

project(hello_svnt) : ciao_servant {
  after += hello_stub
  sharedname  = hello_svnt
  libs    += hello_stub
  idlflags  +=  -Wb,export_macro=HELLO_SVNT_Export -Wb,export_include=hello_svnt_export.h
  dynamicflags = HELLO_SVNT_BUILD_DLL

  CIDL_Files {
    hello.cidl
  }

  IDL_Files {
    helloE.idl
  }

  Source_Files {
    helloEC.cpp
    helloS.cpp
    hello_svnt.cpp
  }
}

project(hello_exec) : ciao_component {
  after   += hello_svnt
  sharedname = hello_exec
  libs      += hello_stub hello_svnt
  dynamicflags   = HELLO_EXEC_BUILD_DLL

  IDL_Files {
  }

  Source_Files {
    hello_exec.cpp
  }
}

project (*normal_client) : ciao_client {
  exename = client
  after += 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
  after += hello_stub Simple_Server_Stub
  libpaths += $(CIAO_ROOT)/tools/Simple_Component_Server
  libs += hello_stub CIAO_Simple_Server_Stub
  exename = simple_client

  IDL_Files {
  }

  Source_Files {
    simple_client.cpp
  }
}