Log Message: |
2007-07-10 Michael van der Westhuizen <r1mikey@gmail.com>
Martin Sebor <sebor@roguewave.com>
STDCXX-470
STDCXX-479
STDCXX-481
* sunpro.config (CCMAJOR, CCMINOR): New variables for the major
and minor version of the compiler.
(DEPENDFLAGS.cpp, DEPENDFLAGS.S): New variables for compiler options
to generate makefile dependencies from C++ and assembly source files,
respectively.
(wide_flags): Set to -m64 for Sun C++ 5.9 and beyond, and for 5.8
and prior to -xarch=v9 on SPARC and to -xarch=amd64 on AMD64.
(narrow_flags): Set to -m32 for Sun C++ 5.9 and beyond, and for C++
5.8 and prior to -xarch=v8 on SPARC, -xarch=386 on AMD64, and to
-xarch=generic otherwise.
* makefile.rules (makedep): Used DEPENDFLAGS$(depsuffix) to set
compiler options to generate makefile dependencies.
(depsuffix): Defined a target-specific variable to the suffix of
the first prerequisite of the %.d pattern rule used to generate
makefile dependencies.
(DEPENDFLAGS, DEPENDFLAGS.cpp, DEPENDFLAGS.S, DEPENDFLAGS.s): Set
appropriately when not defined or empty, and guarded .d: %.cpp and
%.d: %$(AS_EXT) pattern rules.
(GNUmakefile.cfg): Commented out make variables whose names do not
form valid shell variable names (i.e., those containing periods)
from the gernerated vars.sh file.
* GNUmakefile (DEPENDFLAGS, DEPENDFLAGS.cpp, DEPENDFLAGS$(AS_EXT):
Wrote definitions to the generated makefile.in.
|