89 lines
2.3 KiB
Modula-2
89 lines
2.3 KiB
Modula-2
XCOMM site: $TOG: site.def /main/26 1997/09/05 11:31:50 samborn $
|
|
|
|
/***************************************************************************
|
|
* *
|
|
* 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
|
|
|
|
# include <host.def>
|
|
|
|
/* CDE uses a .C suffix for C++ source, not the default .cxx */
|
|
# define CCsuf C
|
|
|
|
/* We will import x11 and Motif. */
|
|
# define ImportX11 YES
|
|
# define ImportMotif YES
|
|
|
|
# ifndef TopLevelProject
|
|
# define TopLevelProject DtInfo
|
|
# endif
|
|
|
|
/* On systems where cpp doesn't correctly expand macros in include directives
|
|
* the following two macros need to be defined, rather than derived from the
|
|
* TopLevelProject macro defined above.
|
|
*/
|
|
# if defined(SunArchitecture) || defined(AIXArchitecture) \
|
|
|| defined(USLArchitecture) || defined(UXPArchitecture)
|
|
# ifndef ProjectRulesFile
|
|
# define ProjectRulesFile <DtInfo.rules>
|
|
# endif
|
|
# ifndef ProjectTmplFile
|
|
# define ProjectTmplFile <DtInfo.tmpl>
|
|
# endif
|
|
# endif
|
|
|
|
# if defined(UXPArchitecture) || defined(USLArchitecture) \
|
|
|| defined(AIXArchitecture)
|
|
# define HasCplusplus YES
|
|
# endif
|
|
|
|
# ifdef AlphaArchitecture
|
|
# define HasDECCplusplus YES
|
|
# endif
|
|
|
|
# ifdef HPArchitecture
|
|
# define HasHPCplusplus YES
|
|
# define CplusplusExtraDefines -ptr/dev/null -ti,/bin/true -tr,/bin/true
|
|
# endif
|
|
|
|
# ifdef SunArchitecture
|
|
# define HasSunCplusplus YES
|
|
# endif
|
|
|
|
# ifdef UXPArchitecture
|
|
# define CplusplusExtraDefines -ptr/dev/null
|
|
# endif
|
|
|
|
#endif /* BeforeVendorCF */
|
|
|
|
#ifdef AfterVendorCF
|
|
|
|
# ifdef SunArchitecture
|
|
# if CplusplusCompilerMajorVersion > 3
|
|
/* # define CplusplusExtraDefines -ptr/proj/cde/programs/dtinfo/dtinfo/src */
|
|
# ifdef SVR4Architecture
|
|
# ifdef StandardDefines
|
|
# undef StandardDefines
|
|
# endif
|
|
# define StandardDefines -DSVR4 -Dsun -DSC3
|
|
# endif
|
|
# else
|
|
# define CplusplusExtraDefines -ptr/dev/null
|
|
# endif
|
|
# endif
|
|
|
|
# define X11ProjectRoot /X11
|
|
# define ProjectRoot /usr/dt
|
|
|
|
#endif /* AfterVendorCF */
|
|
|