[14517] in Athena Bugs

home help back first fref pref prev next nref lref last post

sun4 8.0I: X11 configuration files ...

daemon@ATHENA.MIT.EDU (jawetzel@MIT.EDU)
Wed Aug 7 15:38:26 1996

From: jawetzel@MIT.EDU
To: bugs@MIT.EDU
Date: Wed, 07 Aug 1996 15:38:21 EDT

System name:		spiderman
Type and version:	SPARC/5 8.0I
Display type:		cgthree

From /usr/athena/lib/X11/config/Imake.tmpl:
----------------------------------------------------
#define BeforeVendorCF
#include <site.def>
#undef BeforeVendorCF
----------------------------------------------------

From /usr/athena/lib/X11/config/site.def:
----------------------------------------------------
#ifdef BeforeVendorCF
#define ATHENA
#if defined(VaxArchitecture) || defined(sparc) || defined(SparcArchitecture)
#define HasGcc  YES
#endif
----------------------------------------------------

From /usr/athena/lib/X11/config/site.def:
----------------------------------------------------
#if HasGcc
#if HasGcc2
#define OptimizedCDebugFlags -O2
#else
#define SharedLibraryCcCmd cc
#define ExtraLoadFlags -B/usr/bin/
#define AllocateLocalDefines /**/
#endif
 
.c.o:
        $(CC) -c $(CFLAGS) $*.c
 
#else
----------------------------------------------------

By specifying HasGcc, the suffix .c.o has been redefined.  This redefinition
overrides gnu make suffix definition and therefore gnu make ignores the VPATH
variable when searching for source files.  I contend that redefining the .c.o
suffix definition is unnecessary.  This does raise the question as to whose
problem this is - the XConsortium or GNU.

								Jake

home help back first fref pref prev next nref lref last post