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
|
// -*- MPC -*-
// $Id$
project: build_files {
// Set the idl compiler and flags as template values, except for
// automake. It has it's own settings in AutomakeWorkspaceHelper.pm and
// expects to see $(TAO_IDL) in the generated Makefile.am
specific(!automake) {
tao_idl = $(ACE_ROOT)/bin/tao_idl
tao_idl_dep = $(ACE_ROOT)/bin/tao_idl
tao_idlflags = -Wb,pre_include=ace/pre.h \
-Wb,post_include=ace/post.h -I$(TAO_ROOT)
}
Define_Custom(IDL) {
automatic = 1
dependent = $(TAO_IDL_DEP)
dependent_libs = $(ACE_ROOT)/lib/TAO_IDL_BE $(ACE_ROOT)/lib/TAO_IDL_FE
command = $(TAO_IDL)
libpath = $(ACE_ROOT)/lib
inputext = .idl
source_pre_extension = C
header_pre_extension = C
source_outputext = .cpp, .cxx, .cc, .C
header_outputext = .h, .hpp, .hxx, .hh
keyword idlflags = commandflags
// Inline related options
optional(inline_outputext) {
commandflags(!-SS && !-Ssi || !-Sci || -GT && !-SS && !-oS) += .inl, .i
}
optional(inline_pre_extension) {
commandflags(!-Sci) += C
}
// Source related options
optional(source_pre_extension) {
commandflags(!-SS && !-oS) += S
}
optional(source_pre_extension) {
commandflags(-GA && !-oA) += A
}
optional(header_outputext) {
commandflags(-SS && !-oS) += S
}
optional(header_pre_extension) {
commandflags(!-oS) += S
}
// Other
optional(template_outputext) {
commandflags(-GT && !-SS && !-oS) += S_T.cpp, S_T.cxx, S_T.cc, S_T.C
}
optional(header_pre_extension) {
commandflags(-GT && !-SS && !-oS) += S_T
}
optional(header_pre_extension) {
commandflags(-GA && !-oA || -GX) += A
}
optional(source_pre_extension) {
commandflags(-Gsv) += _svnt, _svnt_T
}
optional(header_pre_extension) {
commandflags(-Gsv) += _svnt, _svnt_T
}
optional(source_pre_extension) {
commandflags(-Gcn) += _conn
}
optional(header_pre_extension) {
commandflags(-Gcn) += _conn
}
optional(generic_outputext) {
commandflags(-Glem || -GM) += .idl
}
optional(generic_pre_extension) {
commandflags(-Glem) += E
commandflags(-GM) += A
}
}
after += TAO_IDL_EXE
idlflags += $(TAO_IDLFLAGS)
idlflags += -Sa -St
}
|