33 |
|
SharedSuffix =so |
34 |
|
SharedCCTool = @echo No Shared Library support |
35 |
|
DependencyCCTool = $(CXX) -M $(CPPFLAGS) $^ > $@ |
36 |
+ |
PreProcessorCCTool = $(CXX) -P $(CPPFLAGS) $^ |
37 |
|
|
38 |
|
#---------------------------------------------- |
39 |
|
# Sun 4.2 CC |
40 |
|
#---------------------------------------------- |
41 |
|
ifeq ($(CCcompiler),Sun-CC-4.2) |
42 |
|
CXX=CC |
43 |
< |
templatedb=-ptr$(template_dir) -ptr$(RELEASETOP)/$(workdir)/$(template_dir) |
44 |
< |
CXXFLAGS+=$(templatedb) |
43 |
> |
templatedblib=-ptr$(template_dir) -ptr$(RELEASETOP)/$(workdir)/$(template_dir) |
44 |
> |
templatedbin=-ptr$(RELEASETOP)/$(workdir)/$(template_dir) |
45 |
> |
templatedbo=-ptr$(template_dir) |
46 |
> |
SCClinkCmd+=$(templatedbin) |
47 |
> |
SCClinkCmd_d+=$(templatedbin) |
48 |
> |
CXXFLAGS+=$(templatedbo) |
49 |
|
template_dir=$(shell echo $@ | sed -e 's/.*\(_.*\)\..*/tmpl\1/' -e 's/.*.o/tmpl/' -e 's/.*.a/tmpl/' -e 's/.*.exe/tmpl/') |
50 |
< |
ArchiveCCTool = $(CXX) -xar -o $@ $^ $(templatedb) |
51 |
< |
SharedCCTool = $(CXX) -G -o $@ $^ $(templatedb) |
50 |
> |
ArchiveCCTool = $(CXX) -xar -o $@ $^ $(templatedblib) |
51 |
> |
SharedCCTool = $(CXX) -G -o $@ $^ $(templatedblib) |
52 |
|
DependencyCCTool = $(CXX) -xM1 $(CPPFLAGS) $^ > $@ |
53 |
|
ifdef f77 |
54 |
|
extralib+=M77 F77 sunmath m |
111 |
|
echo insure++.temp_directory /tmp >> .psrc |
112 |
|
echo insure++.compiler_default cpp >> .psrc |
113 |
|
echo insure++.summarize leaks >> .psrc |
114 |
+ |
|
115 |
+ |
#----------------------------------------------- |
116 |
+ |
# Macabe |
117 |
+ |
#----------------------------------------------- |
118 |
+ |
ifdef MCCABE_EXTENSIONS |
119 |
+ |
include mccabe.mk |
120 |
+ |
endif |