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.1 by williamc, Mon Mar 1 10:37:54 1999 UTC vs.
Revision 1.3 by williamc, Mon Mar 22 16:57:48 1999 UTC

# Line 31 | Line 31 | SharedCCTool = @echo No Shared Library s
31   # Sun 4.2 CC
32   #----------------------------------------------
33   ifeq ($(CCcompiler),Sun-CC-4.2)
34 < ArchiveCCTool = CC -xar -o $@ $^
35 < SharedCCTool = CC -G -o $@ $^
34 > CXXFLAGS+=-ptr$(template_dir)
35 > #template_dir=$(shell echo $@ )
36 > template_dir=$(shell echo $@ | sed -e 's/.*\(_.*\)\..*/tmpl\1/' -e 's/.*.o/tmpl/' -e 's/.*.a/tmpl/' )
37 > ArchiveCCTool = CC -xar -o $@ $^ -ptr$(template_dir)
38 > SharedCCTool = CC -G -o $@ $^ -ptr$(template_dir)
39 > DependencyCCTool = CC -xM1 $(CPPFLAGS) $^ > $@
40   endif
41  
42   #----------------------------------------------

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines