summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/ImR/Combined_Service/ImR_Combined_Service.mpc
blob: 0baee887ae0b61963c577bbb80bff6eb708e6fe8 (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
// $Id$
project(*IDL): taoidldefaults {
  idl_files {
    service_config.idl
    test.idl
  }
  custom_only = 1
}

project : orbsvcsexe, portableserver {
  exename   = combined_service
  after += *IDL
  source_files {
    combined.cpp
    service_configC.cpp
    service_configS.cpp
  }
  idl_files {
  }
}

project(*Controller) : orbsvcsexe {
  exename   = controller
  after += *IDL
  source_files {
    controller.cpp
    service_configC.cpp
  }
  idl_files {
  }
}

// A client that uses corba to test out basic imr functionality
project(*Test) : orbsvcsexe {
  after += *IDL
  source_files {
    test.cpp
    testC.cpp
  }
  idl_files {
  }
}

// A server to use with the imr
project(*TestServer) : orbsvcsexe, portableserver, iortable, avoids_corba_e_micro {
  after += *IDL
  // The gnuace specific portion is to prevent invalid object files from
  // IDL generated files being compiled simultaneously with parallel builds.
  specific(gnuace) {
    after += *Test
  }
  source_files {
    test_server.cpp
    testC.cpp
    testS.cpp
  }
  idl_files {
  }
}

// Another simple server that can be loaded dynamically into the
// combined_service.
project(*DynamicServer) : taolib, portableserver, iortable, avoids_corba_e_micro {
  dynamicflags = DYNSERVER_BUILD_DLL
  sharedname   = DynServer
  after += *IDL
  // The gnuace specific portion is to prevent invalid object files from
  // IDL-generated files being compiled simultaneously with parallel builds.
  specific(gnuace) {
    after += *TestServer
  }
  source_files {
    testC.cpp
    testS.cpp
    dynserver.cpp
  }
  header_files {
    dynserver.h
    dynserver_export.h
  }
  idl_files {
  }
}