site.def: Only build C/en_US locales by default for Linux
[oweals/cde.git] / cde / config / cf / site.def
index ec3b955d614f3d86987e823993bfcc4e540dc435..785d259453e8bd4f24bcbfa11315b79d3cdd3ab1 100644 (file)
@@ -14,6 +14,8 @@ XCOMM site:  $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
 
 #ifdef BeforeVendorCF
 
+# define LocalThreadsDefines
+
 # include <host.def>
 
 /* CDE uses a .C suffix for C++ source, not the default .cxx */
@@ -31,8 +33,7 @@ XCOMM site:  $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
  * 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)
+# if defined(SunArchitecture) || defined(AIXArchitecture)
 #  ifndef ProjectRulesFile
 #   define ProjectRulesFile    <cde.rules>
 #  endif
@@ -41,10 +42,6 @@ XCOMM site:  $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
 #  endif
 # endif
 
-# ifdef AlphaArchitecture
-#  define HasDECCplusplus      YES
-# endif
-
 # ifdef HPArchitecture
 #  define HasHPCplusplus       YES
 # endif
@@ -54,11 +51,25 @@ XCOMM site:  $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
 # endif
 
 # if defined(SunArchitecture)
-#  define HasSunCplusplus      YES
+#  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(UXPArchitecture) || defined(USLArchitecture) \
-     || defined(AIXArchitecture)
+# if defined(AIXArchitecture)
 #  define HasCplusplus         YES
 # endif
 
@@ -71,8 +82,12 @@ XCOMM site:  $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
 #  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
@@ -83,6 +98,10 @@ XCOMM site:  $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
 #  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
 
@@ -97,14 +116,18 @@ XCOMM build the DtXinerama support
 # 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
+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)
+# define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
 #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.
-#if defined(LinuxArchitecture) || defined(BSDArchitecture)
-# define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
+XCOMM DtLocalesToBuild: de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1 en_US.UTF-8
+# define DtLocalesToBuild en_US.UTF-8
+# define UTF8_NLS_SUPPORT
 #endif
 
 #ifdef SunArchitecture
@@ -130,4 +153,9 @@ XCOMM  or building non-C locales will cause build failures.
 #endif
 #endif
 
+XCOMM define DtDocLocalesToBuild to be the same as DtLocalesToBuild if undefined
+#ifndef DtDocLocalesToBuild
+# define DtDocLocalesToBuild DtLocalesToBuild
+#endif
+
 #endif /* AfterVendorCF */