Files
cdesktop/cde/config/cf/site.def
Jon Trulson 860aa64942 Fix some minor issues and re-enable building of DE, ES, FR, and IT locale data (help and message cats)
Note, there are still some issues with certain programs appearing not
to use their localized message catalogs properly, while others work
fine.

Also, in order to build these now, you need to make sure you have
installed the DE, ES, FR, and IT locales before building or you will
get failures.  On [k]ubuntu, at least, you can install these with the
following commands:

sudo locale-gen de_DE
sudo locale-gen es_ES
sudo locale-gen fr_FR
sudo locale-gen it_IT
2012-07-13 17:42:12 -06:00

115 lines
2.8 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
# 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 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) \
|| defined(USLArchitecture) || defined(UXPArchitecture)
# ifndef ProjectRulesFile
# define ProjectRulesFile <cde.rules>
# endif
# ifndef ProjectTmplFile
# define ProjectTmplFile <cde.tmpl>
# endif
# endif
# ifdef AlphaArchitecture
# define HasDECCplusplus YES
# endif
# ifdef HPArchitecture
# define HasHPCplusplus YES
# endif
# if defined(SGIArchitecture)
# define MipsN32Architecture YES
# endif
# if defined(SunArchitecture)
# define HasSunCplusplus YES
# endif
# if defined(UXPArchitecture) || defined(USLArchitecture) \
|| defined(AIXArchitecture)
# define HasCplusplus YES
# endif
#endif /* BeforeVendorCF */
#ifdef AfterVendorCF
# if defined(LinuxArchitecture) || defined(FreeBSDArchitecture)
# define X11ProjectRoot /usr
# else
# define X11ProjectRoot /X11
# endif
# define ProjectRoot /usr/dt
#ifdef SunArchitecture
# define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
#endif
#ifdef UXPArchitecture
# define DtLocalesToBuild ja_JP.dt-eucJP
#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(LinuxArchitecture) || defined(FreeBSDArchitecture)
# define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
#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
#endif /* AfterVendorCF */