summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/IDL_Test.mpc
blob: 5a2c335032b0fb4f4ec6f4974604ab3311ecd876 (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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
// -*- MPC -*-
project(*IDL): taoserver, messaging, gen_ostream {
  custom_only=1
  idlflags += -GC -GH -Gd -GT

  idlflags += -Wb,stub_export_macro=TAO_IDL_TEST_STUB_Export \
              -Wb,stub_export_include=TAO_IDL_TEST_stub_export.h \
              -Wb,skel_export_macro=TAO_IDL_TEST_STUB_Export \
              -Wb,skel_export_include=TAO_IDL_TEST_stub_export.h \
              -Gsd

  IDL_Files {
    idlflags += -Gxhst
    attribute.idl
  }

  IDL_Files {
    array.idl
    Bug_2350_Regression.idl
    Bug_2577_Regression.idl
    Bug_2582_Regression.idl
    Bug_2583_Regression.idl
    Bug_2616_Regression.idl
    Bug_2619_Regression.idl
    Bug_3243_Regression.idl
    Bug_3312_Regression.idl
    Bug_3819_Regression.idl
    Bug_3821_Regression.idl
    expressions.idl
    full.idl
    fwd.idl
    gperf.idl
    interface.idl
    nested_scope.idl
    keywords.idl
    old_constants.idl
    simple.idl
    simple2.idl
    old_array.idl
    old_sequence.idl
    old_struct.idl
    old_union.idl
    old_union2.idl
    params.idl
    reopened_modules.idl
    sequence.idl
    struct.idl
    string_value.idl
    reopen_include1.idl
    reopen_include2.idl
    typeprefix.idl
    union.idl
  }

  IDL_Files {
    idlflags += -as
    enum_in_struct.idl
    array_anonymous.idl
    array_anon_nested.idl
    included.idl
    including.idl
    sequence_anonymous.idl
    union_anonymous.idl
    anyunion.idl
    valuetype.idl
  }

  IDL_Files {
    idlflags += -GA -as
    anonymous.idl
    dif2.idl
  }

  IDL_Files {
    idlflags += -GA
    array_only.idl
    constants.idl
    generic_object.idl

    inherit.idl
    module.idl
    primtypes.idl

    pragma.idl
    repo_id_mod.idl
    typedef.idl
    typecode.idl
  }

  IDL_Files {
    // Workaround to get tao_idl to process multiple files in one pass,
    // since MPC doesn't support it.
    idlflags += loader_const.idl
    PEMNaming.idl
  }
}

project(*DLL): taoidldefaults, taolib, messaging {
  after += *IDL
  dynamicflags += TAO_IDL_TEST_STUB_BUILD_DLL
  sharedname = IDL_Test_DLL

  IDL_Files {
  }

  Source_Files {
    attributeC.cpp
    attributeS.cpp
    anonymousA.cpp
    anonymousC.cpp
    anonymousS.cpp
    anyunionC.cpp
    anyunionS.cpp
    arrayC.cpp
    arrayS.cpp
    array_anonymousC.cpp
    array_anonymousS.cpp
    array_anon_nestedC.cpp
    array_anon_nestedS.cpp
    array_onlyA.cpp
    array_onlyC.cpp
    array_onlyS.cpp
    Bug_2350_RegressionC.cpp
    Bug_2350_RegressionS.cpp
    Bug_2577_RegressionC.cpp
    Bug_2577_RegressionS.cpp
    Bug_2582_RegressionC.cpp
    Bug_2582_RegressionS.cpp
    Bug_2583_RegressionC.cpp
    Bug_2583_RegressionS.cpp
    Bug_2616_RegressionC.cpp
    Bug_2616_RegressionS.cpp
    Bug_2619_RegressionC.cpp
    Bug_2619_RegressionS.cpp
    Bug_3243_RegressionC.cpp
    Bug_3243_RegressionS.cpp
    Bug_3312_RegressionC.cpp
    Bug_3312_RegressionS.cpp
    Bug_3819_RegressionC.cpp
    Bug_3819_RegressionS.cpp
    Bug_3821_RegressionC.cpp
    Bug_3821_RegressionS.cpp
    constantsA.cpp
    constantsC.cpp
    constantsS.cpp
    dif2A.cpp
    dif2C.cpp
    dif2S.cpp
    enum_in_structC.cpp
    enum_in_structS.cpp
    expressionsC.cpp
    expressionsS.cpp
    fullC.cpp
    fullS.cpp
    fwdC.cpp
    fwdS.cpp
    generic_objectA.cpp
    generic_objectC.cpp
    generic_objectS.cpp
    gperfC.cpp
    gperfS.cpp
    includedC.cpp
    includedS.cpp
    includingC.cpp
    includingS.cpp
    inheritA.cpp
    inheritC.cpp
    inheritS.cpp
    interfaceC.cpp
    interfaceS.cpp
    keywordsC.cpp
    keywordsS.cpp
    loader_constC.cpp
    moduleA.cpp
    moduleC.cpp
    moduleS.cpp
    nested_scopeC.cpp
    nested_scopeS.cpp
    old_arrayC.cpp
    old_arrayS.cpp
    old_constantsC.cpp
    old_constantsS.cpp
    old_sequenceC.cpp
    old_sequenceS.cpp
    old_structC.cpp
    old_structS.cpp
    old_union2C.cpp
    old_union2S.cpp
    old_unionC.cpp
    old_unionS.cpp
    paramsC.cpp
    paramsS.cpp
    PEMNamingC.cpp
    PEMNamingS.cpp
    pragmaA.cpp
    pragmaC.cpp
    pragmaS.cpp
    primtypesA.cpp
    primtypesC.cpp
    primtypesS.cpp
    reopened_modulesC.cpp
    reopened_modulesS.cpp
    reopen_include1C.cpp
    reopen_include1S.cpp
    reopen_include2C.cpp
    reopen_include2S.cpp
    repo_id_modA.cpp
    repo_id_modC.cpp
    repo_id_modS.cpp
    sequenceC.cpp
    sequenceS.cpp
    sequence_anonymousC.cpp
    sequence_anonymousS.cpp
    simple2C.cpp
    simple2S.cpp
    simpleC.cpp
    simpleS.cpp
    string_valueC.cpp
    string_valueS.cpp
    structC.cpp
    structS.cpp
    typecodeA.cpp
    typecodeC.cpp
    typecodeS.cpp
    typedefA.cpp
    typedefC.cpp
    typedefS.cpp
    typeprefixC.cpp
    typeprefixS.cpp
    unionC.cpp
    unionS.cpp
    union_anonymousC.cpp
    union_anonymousS.cpp
    valuetypeC.cpp
    valuetypeS.cpp
  }

  Template_Files {
    *S_T.cpp
  }
}

project(*Main): taoserver, messaging, gen_ostream {
  exename = main
  after += *DLL
  libs += IDL_Test_DLL

  IDL_Files {
  }

  Source_Files {
    main.cpp
  }

  Header_Files {
  }

  Inline_Files {
  }

  Template_Files {
  }
}

project(*NDDS_IDL): ndds_cck_ts_defaults {
  custom_only=1

  NDDSTypeSupport_Files {
    anonymous.idl
    array.idl
    array_anonymous.idl
    array_only.idl
    attribute.idl
    Bug_2350_Regression.idl
    Bug_2577_Regression.idl
    Bug_2582_Regression.idl
    Bug_2583_Regression.idl
    Bug_2616_Regression.idl
    Bug_2619_Regression.idl
    Bug_3243_Regression.idl
    Bug_3312_Regression.idl
    Bug_3819_Regression.idl
    Bug_3821_Regression.idl
    constants.idl
    dif2.idl
    enum_in_struct.idl
    full.idl
    fwd.idl
    generic_object.idl
    gperf.idl
    included.idl
    including.idl
    inherit.idl
    interface.idl
    keywords.idl
    module.idl
    nested_scope.idl
    old_array.idl
    old_constants.idl
    old_sequence.idl
    old_struct.idl
    old_union.idl
//    old_union2.idl
    params.idl
    pragma.idl
    primtypes.idl
    reopened_modules.idl
    reopen_include1.idl
    reopen_include2.idl
    repo_id_mod.idl
    sequence.idl
    sequence_anonymous.idl
    simple.idl
    simple2.idl
    struct.idl
    typecode.idl
    typedef.idl
    typeprefix.idl
    union.idl
    union_anonymous.idl
    valuetype.idl
  }
}

project(*CoreDX_IDL): coredx_ts_defaults {
  custom_only=1

  CoreDXTypeSupport_Files {
    anonymous.idl
    array.idl
    array_anonymous.idl
    array_only.idl
    attribute.idl
    Bug_2350_Regression.idl
    Bug_2577_Regression.idl
    Bug_2582_Regression.idl
    Bug_2583_Regression.idl
    Bug_2616_Regression.idl
    Bug_2619_Regression.idl
    Bug_3243_Regression.idl
    Bug_3312_Regression.idl
    Bug_3819_Regression.idl
    Bug_3821_Regression.idl
    constants.idl
    dif2.idl
    enum_in_struct.idl
    full.idl
    fwd.idl
    generic_object.idl
    gperf.idl
    included.idl
    including.idl
    inherit.idl
    interface.idl
    keywords.idl
    module.idl
    nested_scope.idl
    old_array.idl
    old_constants.idl
    old_sequence.idl
    old_struct.idl
    old_union.idl
//    old_union2.idl
    params.idl
    pragma.idl
    primtypes.idl
    reopened_modules.idl
    reopen_include1.idl
    reopen_include2.idl
    repo_id_mod.idl
    sequence.idl
    sequence_anonymous.idl
    simple.idl
    simple2.idl
    struct.idl
    typecode.idl
    typedef.idl
    typeprefix.idl
    union.idl
    uion_anonymous.idl
    valuetype.idl
  }
}

project(*NDDS_Lib): taolib, messaging, gen_ostream, nddslib {
  after += *DLL *NDDS_IDL
  libs += IDL_Test_DLL

  verbatim(gnuace, macros) {
    override no_hidden_visibility = 1
    override no_strict_aliasing = 1
  }

  dynamicflags += NDDS_USER_DLL_EXPORT

  IDL_Files {
  }

  Source_Files {
    anonymous.cxx
    anonymousPlugin.cxx
    anonymousSupport.cxx
    array.cxx
    arrayPlugin.cxx
    arraySupport.cxx
    array_anonymous.cxx
    array_anonymousPlugin.cxx
    array_anonymousSupport.cxx
    array_only.cxx
    array_onlyPlugin.cxx
    array_onlySupport.cxx
    attribute.cxx
    attributePlugin.cxx
    attributeSupport.cxx
    Bug_2350_Regression.cxx
    Bug_2350_RegressionPlugin.cxx
    Bug_2350_RegressionSupport.cxx
    Bug_2577_Regression.cxx
    Bug_2577_RegressionPlugin.cxx
    Bug_2577_RegressionSupport.cxx
    Bug_2582_Regression.cxx
    Bug_2582_RegressionPlugin.cxx
    Bug_2582_RegressionSupport.cxx
//    Bug_2583_Regression.cxx
//    Bug_2583_RegressionPlugin.cxx
//    Bug_2583_RegressionSupport.cxx
    Bug_2616_Regression.cxx
    Bug_2616_RegressionPlugin.cxx
    Bug_2616_RegressionSupport.cxx
    Bug_2619_Regression.cxx
    Bug_2619_RegressionPlugin.cxx
    Bug_2619_RegressionSupport.cxx
    Bug_3243_Regression.cxx
    Bug_3243_RegressionPlugin.cxx
    Bug_3243_RegressionSupport.cxx
//    Bug_3312_RegressionPlugin.cxx
//    Bug_3312_RegressionSupport.cxx
    Bug_3819_Regression.cxx
    Bug_3819_RegressionPlugin.cxx
    Bug_3819_RegressionSupport.cxx
//    Bug_3821_Regression.cxx
//    Bug_3821_RegressionPlugin.cxx
//    Bug_3821_RegressionSupport.cxx
    constants.cxx
    constantsPlugin.cxx
    constantsSupport.cxx
    dif2.cxx
    dif2Plugin.cxx
    dif2Support.cxx
//    enum_in_struct.cxx
//    enum_in_structPlugin.cxx
//    enum_in_structSupport.cxx
    full.cxx
    fullPlugin.cxx
    fullSupport.cxx
//    fwd.cxx
//    fwdPlugin.cxx
//    fwdSupport.cxx
//    generic_object.cxx
//    generic_objectPlugin.cxx
//    generic_objectSupport.cxx
    included.cxx
    includedPlugin.cxx
    includedSupport.cxx
    including.cxx
    includingPlugin.cxx
    includingSupport.cxx
    inherit.cxx
    inheritPlugin.cxx
    inheritSupport.cxx
//    interface.cxx
//    interfacePlugin.cxx
//    interfaceSupport.cxx
//    keywords.cxx
//    keywordsPlugin.cxx
//    keywordsSupport.cxx
    module.cxx
    modulePlugin.cxx
    moduleSupport.cxx
    nested_scope.cxx
    nested_scopePlugin.cxx
    nested_scopeSupport.cxx
    old_array.cxx
    old_arrayPlugin.cxx
    old_arraySupport.cxx
    old_sequence.cxx
    old_sequencePlugin.cxx
    old_sequenceSupport.cxx
    old_struct.cxx
    old_structPlugin.cxx
    old_structSupport.cxx
    old_union.cxx
    old_unionPlugin.cxx
    old_unionSupport.cxx
    params.cxx
    paramsPlugin.cxx
    paramsSupport.cxx
    pragma.cxx
    pragmaPlugin.cxx
    pragmaSupport.cxx
    primtypes.cxx
    primtypesPlugin.cxx
    primtypesSupport.cxx
//    reopened_modules.cxx
//    reopened_modulesPlugin.cxx
//    reopened_modulesSupport.cxx
    reopen_include1.cxx
    reopen_include1Plugin.cxx
    reopen_include1Support.cxx
    reopen_include2.cxx
    reopen_include2Plugin.cxx
    reopen_include2Support.cxx
    repo_id_mod.cxx
    repo_id_modPlugin.cxx
    repo_id_modSupport.cxx
//    sequence.cxx
//    sequencePlugin.cxx
//    sequenceSupport.cxx
//    sequence_anonymous.cxx
//    sequence_anonymousPlugin.cxx
//    sequence_anonymousSupport.cxx
    simple.cxx
    simple2.cxx
    simple2Plugin.cxx
    simple2Support.cxx
    simplePlugin.cxx
    simpleSupport.cxx
    struct.cxx
    structPlugin.cxx
    structSupport.cxx
//    typecode.cxx
//    typecodePlugin.cxx
//    typecodeSupport.cxx
//    typedef.cxx
//    typedefPlugin.cxx
//    typedefSupport.cxx
    typeprefix.cxx
    typeprefixPlugin.cxx
    typeprefixSupport.cxx
//    union.cxx
//    unionPlugin.cxx
//    unionSupport.cxx
//    union_anonymous.cxx
//    union_anonymousPlugin.cxx
//    union_anonymousSupport.cxx
//    valuetype.cxx
//    valuetypePlugin.cxx
//    valuetypeSupport.cxx
  }

  Template_Files {
  }
}