home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 594a.lha / imake / site.def < prev    next >
Text File  |  1990-10-22  |  6KB  |  147 lines

  1. /**/# site:  $XConsortium: site.def,v 1.21 89/12/06 11:46:50 jim Exp $
  2.  
  3. /*****************************************************************************
  4.  *                                                                           *
  5.  *               SITE-SPECIFIC DEFINITIONS                         *
  6.  *                                                                           *
  7.  * Override any of the defaults in *.tmpl here.  Use ifndef so that servers  *
  8.  * can override you if necessary:                                            *
  9.  *                                                                           *
  10.  *     #ifndef ABuildParameter                                               *
  11.  *     #define ABuildParameter myvalue                                       *
  12.  *     #endif                                                                *
  13.  *                                                                           *
  14.  * Make sure you check the following parameters:                             *
  15.  *                                                                           *
  16.  *     1.  HasLargeTmp                                                       *
  17.  *     2.  InstallOldHeaderFiles                                             *
  18.  *     3.  ContribDir                                                        *
  19.  *     4.  HasXwWidgets                                                      *
  20.  *     5.  HasXcuWidgets                                                     *
  21.  *                                                                           *
  22.  * Note on using DESTDIR:  If you want to install into a scratch directory   *
  23.  * but will eventually move the tree back to the root, compile with DESTDIR  *
  24.  * blank and install with "make install DESTDIR=directory".                  *
  25.  *                                                                           *
  26.  * We strongly recommend that you don't change the installation directories  *
  27.  * and just use symbolic links if you want things to be installed on a       *
  28.  * different partition.  For example,                                        *
  29.  *                                                                           *
  30.  *     # cd directory_containing_X_distribution                              *
  31.  *     # make World                                                          *
  32.  *     # mkdir /otherdisk/X                                                  *
  33.  *     # foreach i (bin lib include)                                         *
  34.  *     >     mkdir /otherdisk/X/$i                                           *
  35.  *     >     ln -s /otherdisk/X/$i /usr/$i/X11                               *
  36.  *     > end                                                                 *
  37.  *     # make install                                                        *
  38.  *                                                                           *
  39.  *****************************************************************************/
  40.  
  41. /*
  42.  * SET THESE PARAMETERS FIRST !!!
  43.  */
  44.  
  45. /*
  46.  * 1.  HasLargeTmp - if your /tmp space is less than a 1meg, you should 
  47.  * probably set this to NO
  48.  */
  49. #ifndef HasLargeTmp
  50. #define HasLargeTmp YES
  51. #endif
  52.  
  53.  
  54. /*
  55.  * 2.  InstallOldHeaderFiles - set the following to YES until you have 
  56.  * converted your Xaw programs to use the new naming scheme.
  57.  */
  58. #ifndef InstallOldHeaderFiles
  59. #define InstallOldHeaderFiles NO    /* set to YES for compat with R3 Xaw */
  60. #endif
  61.  
  62.  
  63. /*
  64.  * 3.  ContribDir - set ContribDir to wherever you've placed your sources; the
  65.  * R4 tape comes with the core tree in ./mit and the contrib tree in ./contrib,
  66.  * so to get to contrib, go up from TOP:
  67.  */
  68. #ifndef ContribDir
  69. #define ContribDir $(TOP)/../contrib
  70. #endif
  71.  
  72. /*
  73.  * 4.  HasXwWidgets - if you want to have make variables for the Xw widgets
  74.  * used in Doug Young's book, set this to YES.
  75.  */
  76. #ifndef HasXwWidgets        /* whether or not to include make vars */
  77. #define HasXwWidgets NO
  78. #endif
  79.  
  80.  
  81. /*
  82.  * 5.  HasXcuWidgets - if you want to have make variables for the Xcu widgets,
  83.  * set this to YES.
  84.  */
  85. #ifndef HasXcuWidgets        /* whether or not to include make vars */
  86. #define HasXcuWidgets NO
  87. #endif
  88.  
  89.  
  90.  
  91. /*****************************************************************************
  92.  *                                                                           *
  93.  *                   Build Parameters                              *
  94.  *                                                                           *
  95.  *****************************************************************************/
  96.  
  97. /*
  98.  * If you want to use GCC, set HasGcc in the appropriate .cf files.  This 
  99.  * results in substantial improvements for the server.
  100.  */
  101. #ifndef HasGcc
  102. #define HasGcc NO
  103. #endif
  104.  
  105. #if HasGcc
  106. #ifndef CcCmd
  107. #ifdef UseInstalled        /* if outside the tree */
  108. #define CcCmd gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -fwritable-strings -traditional
  109. #else                /* server won't compile with -traditional */
  110. #define CcCmd gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return 
  111. #endif
  112. #endif
  113. #endif
  114.  
  115.  
  116. #ifndef ExtensionDefines
  117. #if SystemV
  118. #define ExtensionDefines -DSHAPE -DMULTIBUFFER -DMITSHM -DMITMISC
  119. #else
  120. #define ExtensionDefines -DSHAPE -DMULTIBUFFER -DMITMISC
  121. #endif
  122. #endif
  123.  
  124. #ifdef ATHENA
  125. #ifndef DoInstallExtensionsIntoXlib
  126. #define DoInstallExtensionsIntoXlib YES        /* for Makefile hosers */
  127. #endif
  128. #endif
  129.  
  130. /*
  131.  * Make sure that the library has compatibility stuff built into it, for wno
  132.  */
  133. #ifndef BuildXawBC
  134. #define BuildXawBC YES            /* headers can be installed later */
  135. #endif
  136. #ifndef CompatibilityFlags
  137. #if InstallOldHeaderFiles
  138. #define CompatibilityFlags -DXAW_BC
  139. #else
  140. #define CompatibilityFlags /**/
  141. #endif
  142. #endif
  143.  
  144. #ifndef SharedLibXext
  145. #define SharedLibXext NO    /* XXX - haven't made it sharable yet */
  146. #endif
  147.