33 |
|
ifeq ($(CCcompiler),Sun-CC-4.2) |
34 |
|
CXXFLAGS+=-ptr$(template_dir) -features=rtti |
35 |
|
#template_dir=$(shell echo $@ ) |
36 |
< |
template_dir=$(shell echo $@ | sed -e 's/.*\(_.*\)\..*/tmpl\1/' -e 's/.*.o/tmpl/' -e 's/.*.a/tmpl/' ) |
36 |
> |
template_dir=$(shell echo $@ | sed -e 's/.*\(_.*\)\..*/tmpl\1/' -e 's/.*.o/tmpl/' -e 's/.*.a/tmpl/' -e 's/.*.exe/tmpl/') |
37 |
|
ArchiveCCTool = CC -xar -o $@ $^ -ptr$(template_dir) |
38 |
|
SharedCCTool = CC -G -o $@ $^ -ptr$(template_dir) |
39 |
|
DependencyCCTool = CC -xM1 $(CPPFLAGS) $^ > $@ |