ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/compilers.mk
(Generate patch)

Comparing COMP/SCRAM/src/compilers.mk (file contents):
Revision 1.7 by williamc, Tue Mar 30 13:44:00 1999 UTC vs.
Revision 1.10 by williamc, Thu Apr 1 09:55:00 1999 UTC

# Line 32 | Line 32 | SharedCCTool = @echo No Shared Library s
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
# Line 87 | Line 88 | 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines