39 |
|
#---------------------------------------------- |
40 |
|
ifeq ($(CCcompiler),Sun-CC-4.2) |
41 |
|
CXX=CC |
42 |
< |
templatedb=-ptr$(template_dir) -ptr$(RELEASETOP)/$(workdir)/$(template_dir) |
43 |
< |
CXXFLAGS+=$(templatedb) |
42 |
> |
templatedblib=-ptr$(template_dir) -ptr$(RELEASETOP)/$(workdir)/$(template_dir) |
43 |
> |
templatedbo=-ptr$(template_dir) |
44 |
> |
CXXFLAGS+=$(templatedbo) |
45 |
|
template_dir=$(shell echo $@ | sed -e 's/.*\(_.*\)\..*/tmpl\1/' -e 's/.*.o/tmpl/' -e 's/.*.a/tmpl/' -e 's/.*.exe/tmpl/') |
46 |
< |
ArchiveCCTool = $(CXX) -xar -o $@ $^ $(templatedb) |
47 |
< |
SharedCCTool = $(CXX) -G -o $@ $^ $(templatedb) |
46 |
> |
ArchiveCCTool = $(CXX) -xar -o $@ $^ $(templatedblib) |
47 |
> |
SharedCCTool = $(CXX) -G -o $@ $^ $(templatedblib) |
48 |
|
DependencyCCTool = $(CXX) -xM1 $(CPPFLAGS) $^ > $@ |
49 |
|
ifdef f77 |
50 |
|
extralib+=M77 F77 sunmath m |