32 |
|
# Sun 4.2 CC |
33 |
|
#---------------------------------------------- |
34 |
|
ifeq ($(CCcompiler),Sun-CC-4.2) |
35 |
+ |
CXX=CC |
36 |
|
CXXFLAGS+=-ptr$(template_dir) -features=rtti |
37 |
|
#template_dir=$(shell echo $@ ) |
38 |
|
template_dir=$(shell echo $@ | sed -e 's/.*\(_.*\)\..*/tmpl\1/' -e 's/.*.o/tmpl/' -e 's/.*.a/tmpl/' -e 's/.*.exe/tmpl/') |
39 |
< |
ArchiveCCTool = CC -xar -o $@ $^ -ptr$(template_dir) |
40 |
< |
SharedCCTool = CC -G -o $@ $^ -ptr$(template_dir) |
41 |
< |
DependencyCCTool = CC -xM1 $(CPPFLAGS) $^ > $@ |
39 |
> |
ArchiveCCTool = $(CXX) -xar -o $@ $^ -ptr$(template_dir) |
40 |
> |
SharedCCTool = $(CXX) -G -o $@ $^ -ptr$(template_dir) |
41 |
> |
DependencyCCTool = $(CXX) -xM1 $(CPPFLAGS) $^ > $@ |
42 |
|
ifdef f77 |
43 |
|
extralib+=M77 F77 sunmath m |
44 |
|
endif |
88 |
|
ifeq ($(F77compiler),g77) |
89 |
|
FC:=g77 |
90 |
|
endif |
91 |
+ |
|
92 |
+ |
|
93 |
+ |
#----------------------------------------------- |
94 |
+ |
# Insure++ |
95 |
+ |
#----------------------------------------------- |
96 |
+ |
Insure:=insure |
97 |
+ |
.psrc : |
98 |
+ |
-@rm .psrc |
99 |
+ |
echo insure++.compiler_cpp $(CXX) >> .psrc |
100 |
+ |
echo insure++.temp_directory /tmp >> .psrc |
101 |
+ |
echo insure++.compiler_default cpp >> .psrc |
102 |
+ |
echo insure++.summarize leaks >> .psrc |