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.14.2.3 by williamc, Mon May 17 09:40:56 1999 UTC

# Line 22 | Line 22 | FC:=f77
22   ArchiveSuffix = a
23   ArchiveTool = ar -rc $@ $^
24   ArchiveCCTool = $(ArchiveTool)
25 + SCClinkCmd=$(CXX) $(CXXFLAGS) $(LDFLAGS) $< -o $@
26 + SCClinkCmd_d=$(CXX) $(CXXFLAGS) $(CXXDebugFlag) $(LDFLAGS) $< -o $@
27 + CClinkCmd=$(SCClinkCmd) $(LDLIBS)
28 + CClinkCmdDebug=$(SCClinkCmd_d) $(LDLIBS_D)
29 + CClinkCmdInsure=$(SCClinkCmd_d) $(LDLIBS_Insure)
30  
31   SharedCCObjectFlags = -PIC
32   SharedFCObjectFlags = -PIC
33   SharedSuffix =so
34   SharedCCTool = @echo No Shared Library support
35 + DependencyCCTool = $(CXX) -M $(CPPFLAGS) $^ > $@
36  
37   #----------------------------------------------
38   # Sun 4.2 CC
39   #----------------------------------------------
40   ifeq ($(CCcompiler),Sun-CC-4.2)
41 < CXXFLAGS+=-ptr$(template_dir) -features=rtti
42 < #template_dir=$(shell echo $@ )
41 > CXX=CC
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 = CC -xar -o $@ $^ -ptr$(template_dir)
47 < SharedCCTool = CC -G -o $@ $^ -ptr$(template_dir)
48 < DependencyCCTool = CC -xM1 $(CPPFLAGS) $^ > $@
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
51   endif
# Line 93 | Line 101 | endif
101   # Insure++
102   #-----------------------------------------------
103   Insure:=insure
104 + .psrc :
105 +        -@rm .psrc
106 +        echo insure++.compiler_cpp $(CXX) >> .psrc
107 +        echo insure++.temp_directory /tmp >> .psrc
108 +        echo insure++.compiler_default cpp >> .psrc
109 +        echo insure++.summarize leaks >> .psrc

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines