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.8 by williamc, Wed Mar 31 13:34:48 1999 UTC vs.
Revision 1.13 by williamc, Thu Apr 8 11:45:00 1999 UTC

# Line 22 | Line 22 | FC:=f77
22   ArchiveSuffix = a
23   ArchiveTool = ar -rc $@ $^
24   ArchiveCCTool = $(ArchiveTool)
25 + SCClinkCmd=$(CXX) $(CXXFLAGS) $(CXXDebugFlag) $(LDFLAGS) $< -o $@
26 + CClinkCmd=$(SCClinkCmd) $(LDLIBS)
27 + CClinkCmdDebug=$(SCClinkCmd) $(LDLIBS_D)
28 + CClinkCmdInsure=$(SCClinkCmd) $(LDLIBS_Insure)
29  
30   SharedCCObjectFlags = -PIC
31   SharedFCObjectFlags = -PIC
# Line 32 | Line 36 | SharedCCTool = @echo No Shared Library s
36   # Sun 4.2 CC
37   #----------------------------------------------
38   ifeq ($(CCcompiler),Sun-CC-4.2)
39 < CXXFLAGS+=-ptr$(template_dir) -features=rtti
40 < #template_dir=$(shell echo $@ )
39 > CXX=CC
40 > CXXFLAGS+=-ptr$(template_dir)
41   template_dir=$(shell echo $@ | sed -e 's/.*\(_.*\)\..*/tmpl\1/' -e 's/.*.o/tmpl/' -e 's/.*.a/tmpl/' -e 's/.*.exe/tmpl/')
42 < ArchiveCCTool = CC -xar -o $@ $^ -ptr$(template_dir)
43 < SharedCCTool = CC -G -o $@ $^ -ptr$(template_dir)
44 < DependencyCCTool = CC -xM1 $(CPPFLAGS) $^ > $@
42 > ArchiveCCTool = $(CXX) -xar -o $@ $^ -ptr$(template_dir)
43 > SharedCCTool = $(CXX) -G -o $@ $^ -ptr$(template_dir)
44 > DependencyCCTool = $(CXX) -xM1 $(CPPFLAGS) $^ > $@
45   ifdef f77
46   extralib+=M77 F77 sunmath m
47   endif
# Line 93 | Line 97 | endif
97   # Insure++
98   #-----------------------------------------------
99   Insure:=insure
100 + .psrc :
101 +        -@rm .psrc
102 +        echo insure++.compiler_cpp $(CXX) >> .psrc
103 +        echo insure++.temp_directory /tmp >> .psrc
104 +        echo insure++.compiler_default cpp >> .psrc
105 +        echo insure++.summarize leaks >> .psrc

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines