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.14.2.3 by williamc, Mon May 17 09:40:56 1999 UTC vs.
Revision 1.14.2.10 by williamc, Mon Aug 30 13:23:55 1999 UTC

# Line 33 | Line 33 | SharedFCObjectFlags = -PIC
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
# Line 40 | Line 41 | DependencyCCTool = $(CXX) -M $(CPPFLAGS)
41   ifeq ($(CCcompiler),Sun-CC-4.2)
42   CXX=CC
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 $@ $^ $(templatedblib)
# Line 49 | Line 53 | DependencyCCTool = $(CXX) -xM1 $(CPPFLAG
53   ifdef f77
54   extralib+=M77 F77 sunmath m
55   endif
56 + ifdef MultiThreaded
57 + CXXFLAGS+=-mt
58 + endif
59   endif
60  
61   #----------------------------------------------
# Line 96 | Line 103 | ifeq ($(F77compiler),g77)
103   FC:=g77
104   endif
105  
106 + #----------------------------------------------
107 + # HP-UX Fortran compiler fort77
108 + #----------------------------------------------
109 + ifeq ($(F77compiler),fort77)
110 + FC:=fort77
111 + SharedFCObjectFlags = +Z
112 + endif
113  
114   #-----------------------------------------------
115   # Insure++
# Line 107 | Line 121 | Insure:=insure
121          echo insure++.temp_directory /tmp >> .psrc
122          echo insure++.compiler_default cpp >> .psrc
123          echo insure++.summarize leaks >> .psrc
124 +
125 + #-----------------------------------------------
126 + # Macabe
127 + #-----------------------------------------------
128 + ifdef MCCABE_EXTENSIONS
129 + include mccabe.mk
130 + endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines