172 lines
4.4 KiB
Modula-2
172 lines
4.4 KiB
Modula-2
XCOMM site: $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
|
|
|
|
/***************************************************************************
|
|
* *
|
|
* X Consortium In-House Build Parameters *
|
|
* Use at Your Own Risk *
|
|
* *
|
|
***************************************************************************/
|
|
|
|
#ifndef SiteIConfigFiles
|
|
# define SiteIConfigFiles $(IRULESRC)/host.def
|
|
# define LocalConfigFiles host.def
|
|
#endif
|
|
|
|
#ifdef BeforeVendorCF
|
|
|
|
# define LocalThreadsDefines
|
|
|
|
# include <host.def>
|
|
|
|
/* CDE uses a .C suffix for C++ source, not the default .cxx */
|
|
# define CCsuf C
|
|
|
|
/* We will use installed x11 and Motif. */
|
|
# define UseInstalledX11 YES
|
|
# define UseInstalledMotif YES
|
|
|
|
# ifndef TopLevelProject
|
|
# define TopLevelProject cde
|
|
# endif
|
|
|
|
/* On systems where cpp doesn't expand correctly macros in include directives
|
|
* the two following macros need to be defined directly (accordingly to the
|
|
* TopLevelProject macro defined above).
|
|
*/
|
|
# if defined(SunArchitecture) || defined(AIXArchitecture)
|
|
# ifndef ProjectRulesFile
|
|
# define ProjectRulesFile <cde.rules>
|
|
# endif
|
|
# ifndef ProjectTmplFile
|
|
# define ProjectTmplFile <cde.tmpl>
|
|
# endif
|
|
# endif
|
|
|
|
# ifdef HPArchitecture
|
|
# define HasHPCplusplus YES
|
|
# endif
|
|
|
|
# if defined(SGIArchitecture)
|
|
# define MipsN32Architecture YES
|
|
# endif
|
|
|
|
# if defined(SunArchitecture)
|
|
# ifndef HasSunC
|
|
# define HasSunC NO
|
|
# endif
|
|
# ifndef HasSunCplusplus
|
|
# define HasSunCplusplus HasSunC
|
|
# endif
|
|
# ifndef HasGcc2
|
|
# if HasSunC
|
|
# define HasGcc2 NO
|
|
# else
|
|
# define HasGcc2 YES
|
|
# endif
|
|
# endif
|
|
# ifndef HasGcc2ForCplusplus
|
|
# define HasGcc2ForCplusplus HasGcc2
|
|
# endif
|
|
# endif
|
|
|
|
# if defined(AIXArchitecture)
|
|
# define HasCplusplus YES
|
|
# endif
|
|
|
|
#endif /* BeforeVendorCF */
|
|
|
|
#ifdef AfterVendorCF
|
|
|
|
#ifndef X11ProjectRoot
|
|
# if defined(LinuxArchitecture)
|
|
# define X11ProjectRoot /usr
|
|
# elif defined(FreeBSDArchitecture)
|
|
# define X11ProjectRoot /usr/local
|
|
# elif defined(SunArchitecture)
|
|
# define X11ProjectRoot /usr
|
|
# elif defined(OpenBSDArchitecture)
|
|
# define X11ProjectRoot /usr/X11R6
|
|
# elif defined(NetBSDArchitecture)
|
|
# define X11ProjectRoot /usr/X11R7
|
|
# else
|
|
# define X11ProjectRoot /X11
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef MotifProjectRoot
|
|
# if defined(FreeBSDArchitecture)
|
|
# define MotifProjectRoot /usr/local
|
|
# elif defined(OpenBSDArchitecture)
|
|
# define MotifProjectRoot /usr/local
|
|
# elif defined(NetBSDArchitecture)
|
|
# define MotifProjectRoot /usr/pkg
|
|
# elif defined(SunArchitecture)
|
|
# define MotifProjectRoot /usr/X11
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef ProjectRoot
|
|
# define ProjectRoot /usr/dt
|
|
#endif
|
|
|
|
XCOMM build the DtXinerama support
|
|
#define CDE_USEXINERAMA YES
|
|
|
|
#ifdef SunArchitecture
|
|
# if !defined(DtLocalesToBuild)
|
|
# define DtLocalesToBuild en_US.UTF-8 de_DE.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 it_IT.UTF-8
|
|
# endif
|
|
#endif
|
|
|
|
XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales.
|
|
XCOMM or building non-C locales will cause build failures.
|
|
#if defined(BSDArchitecture)
|
|
# if !defined(DtLocalesToBuild)
|
|
# define DtLocalesToBuild en_US.UTF-8 de_DE.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 it_IT.UTF-8
|
|
# endif
|
|
#endif
|
|
|
|
#if defined(LinuxArchitecture)
|
|
XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales.
|
|
XCOMM or building non-C locales will cause build failures.
|
|
XCOMM DtLocalesToBuild: de_DE.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 it_IT.UTF-8 en_US.UTF-8
|
|
# if !defined(DtLocalesToBuild)
|
|
# define DtLocalesToBuild en_US.UTF-8 de_DE.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 it_IT.UTF-8
|
|
# endif
|
|
XCOMM This is a hack for the en_US.UTF-8 stuff, which should be redone
|
|
XCOMM as a proper locale, rather than aliasing C
|
|
# define UTF8_NLS_SUPPORT
|
|
#endif
|
|
|
|
#ifdef SunArchitecture
|
|
#define HasCodeCenter YES
|
|
#define HasTestCenter YES
|
|
#ifdef SparcArchitecture
|
|
#define HasPurify YES
|
|
#endif
|
|
#endif
|
|
|
|
#ifdef HPArchitecture
|
|
#define HasPurify YES
|
|
#endif
|
|
|
|
#ifdef __hp9000s800
|
|
#define HasCodeCenter YES
|
|
#define HasTestCenter YES
|
|
#endif
|
|
|
|
#ifdef SGIArchitecture
|
|
#if OSMajorVersion > 5
|
|
#define HasPurify YES
|
|
#endif
|
|
#endif
|
|
|
|
XCOMM The documentation can only be built with ISO8859-1 encoding.
|
|
XCOMM An upgrade to docbook and conversion to XML is required to properly
|
|
XCOMM support utf8 with dtinfo and dthelp files.
|
|
#ifndef DtDocLocalesToBuild
|
|
# define DtDocLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
|
|
#endif
|
|
|
|
#endif /* AfterVendorCF */
|