blob: 0b023ae1f41b3c8dfc8d86488c48ad09f3183612 (
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
|
// -*- MPC -*-cr
// $Id$
project(TAO_IDL_EXE) : aceexe, install, tao_output, crosscompile, tao_idl_fe {
exename = tao_idl
libs += TAO_IDL_BE
exeout = $(ACE_ROOT)/bin
after += TAO_IDL_BE gperf
includes += $(TAO_ROOT)
specific (automake) {
includes += $(srcdir)/include $(srcdir)/be_include $(srcdir)/fe $(TAO_ROOT)
macros += TAO_IDL_INCLUDE_DIR=\"\\"$(includedir)/tao\\"\"
} else {
includes += include be_include fe ..
}
specific {
// Override the template value for optimize. Building the exe
// with optimization turned on doesn't seem to work (at least not with
// vc6 or vc71). This is due to the use of addresses of static objecs
// within the code.
optimize =
}
verbatim(gnuace, local) {
ifeq ($(TAO_IDL_PREPROCESSOR),)
ifeq ($(ACE_CC_PREPROCESSOR),)
CPPFLAGS += -DTAO_IDL_PREPROCESSOR=\\\"$(strip $(CXX))\\\"
else
CPPFLAGS += -DACE_CC_PREPROCESSOR=\\\"$(subst \\,\\,$(ACE_CC_PREPROCESSOR))\\\"
endif
else
CPPFLAGS += -DTAO_IDL_PREPROCESSOR=\\\"$(subst \\,\\,$(TAO_IDL_PREPROCESSOR))\\\"
endif
}
verbatim(gnuace, postinstall) {
" @$(MKDIR) $(INSTALL_PREFIX)/share/ace/bin"
" ln -sf $(INSTALL_PREFIX)/bin/tao_idl $(INSTALL_PREFIX)/share/ace/bin"
}
Source_Files {
driver/drv_args.cpp
driver/drv_preproc.cpp
tao_idl.cpp
}
Header_Files {
include/drv_extern.h
}
}
|