3 // Set the idl compiler and flags as template values
5 tao_idl = <%quote%>$(ACE_ROOT)/bin/tao_idl<%quote%>
6 tao_idl_dep = $(ACE_ROOT)/bin/tao_idl
7 tao_idlflags = -Wb,pre_include=ace/pre.h \
8 -Wb,post_include=ace/post.h -I<%quote%>$(TAO_ROOT)<%quote%>
13 dependent = $(TAO_IDL_DEP)
14 dependent_libs = $(ACE_ROOT)/lib/TAO_IDL_BE $(ACE_ROOT)/lib/TAO_IDL_FE
16 libpath = $(ACE_ROOT)/lib
18 keyword idlflags = commandflags
19 output_follows_input = 0
21 optional(header_outputext) {
22 commandflags(!-Sch || !-Ssh || -GC) = .h, .hpp, .hxx, .hh
25 optional(source_pre_extension) {
26 commandflags(!-Scc) = C
28 optional(header_pre_extension) {
29 commandflags(!-Sch) = C
31 optional(source_outputext) {
32 commandflags(!-Scc && !-Ssc) = .cpp, .cxx, .cc, .C
35 // Inline related options
36 optional(inline_outputext) {
37 commandflags(!-Sci) += .inl, .i
39 optional(inline_pre_extension) {
40 commandflags(!-Sci) += C
43 // Source related options
44 optional(source_pre_extension) {
45 commandflags(!-SS && !-oS) += S
47 optional(source_pre_extension) {
48 commandflags(-GA && !-oA) += A
51 // Header related options
52 optional(header_pre_extension) {
53 commandflags(!-oS && !-Ssh) += S
57 optional(template_outputext) {
58 commandflags(-GT && !-SS && !-oS) += S_T.cpp, S_T.cxx, S_T.cc, S_T.C
60 optional(header_pre_extension) {
61 commandflags(-GT && !-SS && !-oS) += S_T
63 optional(header_pre_extension) {
64 commandflags(-GA && !-oA || -GX) += A
67 optional(source_pre_extension) {
68 commandflags(-Gsv && !-Ssvntc) += _svnt
71 optional(source_pre_extension) {
72 commandflags(-Gsv && !-Ssvntt) += _svnt_T
75 optional(header_pre_extension) {
76 commandflags(-Gsv) += _svnt
79 optional(header_pre_extension) {
80 commandflags(-Gsv && !-Ssvntt) += _svnt_T
83 optional(source_pre_extension) {
84 commandflags(-Gcn) += _conn
87 optional(header_pre_extension) {
88 commandflags(-Gcn) += _conn
91 optional(generic_outputext) {
92 commandflags(-Glem || -GM) += .idl
95 optional(generic_pre_extension) {
96 commandflags(-Glem) += E
97 commandflags(-GM) += A
102 idlflags += $(TAO_IDLFLAGS)
106 feature (corba_e_compact) {
107 idlflags += -DCORBA_E_COMPACT -Gce
110 feature (corba_e_micro) {
111 idlflags += -DCORBA_E_MICRO -Gce
114 feature(minimum_corba) {
115 idlflags += -DTAO_HAS_MINIMUM_POA -Gmc