home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / lib / x11 / config / xfree86.cf < prev   
Encoding:
Text File  |  1996-10-17  |  10.6 KB  |  525 lines

  1. XCOMM $XFree86: xc/config/cf/xfree86.cf,v 3.76 1996/01/03 02:12:02 dawes Exp $
  2. /*
  3.  * This configuration file contains all of the configuration
  4.  * information for the XFree86 based X Servers.
  5.  *
  6.  * Most of these settings can be overridden in a vendor.cf or the
  7.  * BeforeVendor part of the site.def file.
  8.  */
  9. XCOMM $XConsortium: xfree86.cf /main/17 1996/01/03 14:50:55 kaleb $
  10.  
  11. /*
  12.  * Default settings for which X Servers to build.
  13.  */
  14. #ifndef XF86SVGAServer
  15. # define XF86SVGAServer        YES
  16. #endif
  17.  
  18. #ifndef XF86VGA16Server
  19. # define XF86VGA16Server    NO
  20. # ifndef XF86VGA16DualServer
  21. #  define XF86VGA16DualServer    NO
  22. # endif
  23. #endif
  24.  
  25. #ifndef XF86MonoServer
  26. # define XF86MonoServer        NO
  27. # ifndef XF86MonoDualServer
  28. #  define XF86MonoDualServer    NO
  29. # endif
  30. #endif
  31.  
  32. #ifndef XF86S3Server
  33. # define XF86S3Server        NO
  34. #endif
  35.  
  36. #ifndef XF86I8514Server
  37. # define XF86I8514Server    NO
  38. #endif
  39.  
  40. #ifndef XF86Mach8Server
  41. # define XF86Mach8Server    NO
  42. #endif
  43.  
  44. #ifndef XF86Mach32Server
  45. # define XF86Mach32Server    NO
  46. #endif
  47.  
  48. #ifndef XF86Mach64Server
  49. # define XF86Mach64Server    NO
  50. #endif
  51.  
  52. #ifndef XF86AGXServer
  53. # define XF86AGXServer        NO
  54. #endif
  55.  
  56. #ifndef XF86P9000Server
  57. # define XF86P9000Server    NO
  58. #endif
  59.  
  60. #ifndef XF86W32Server
  61. # define XF86W32Server        NO
  62. #endif
  63.  
  64. #ifndef XF86I128Server
  65. # define XF86I128Server        NO
  66. #endif
  67.  
  68. #if XF86S3Server
  69. # define XF86S3Dir        s3
  70. #else
  71. # define XF86S3Dir        /**/
  72. #endif
  73.  
  74. #if XF86I8514Server
  75. # define XF86I8514Dir        ibm8514
  76. #else
  77. # define XF86I8514Dir        /**/
  78. #endif
  79.  
  80. #if XF86Mach8Server
  81. # define XF86Mach8Dir        mach8
  82. #else
  83. # define XF86Mach8Dir        /**/
  84. #endif
  85.  
  86. #if XF86Mach32Server
  87. # define XF86Mach32Dir        mach32
  88. #else
  89. # define XF86Mach32Dir        /**/
  90. #endif
  91.  
  92. #if XF86Mach64Server
  93. # define XF86Mach64Dir        mach64
  94. #else
  95. # define XF86Mach64Dir        /**/
  96. #endif
  97.  
  98. #if XF86P9000Server
  99. # define XF86P9000Dir        p9000
  100. #else
  101. # define XF86P9000Dir        /**/
  102. #endif
  103.  
  104. #if XF86AGXServer
  105. # define XF86AGXDir        agx
  106. #else
  107. # define XF86AGXDir        /**/
  108. #endif
  109.  
  110. #if XF86W32Server
  111. # define XF86W32Dir        et4000w32
  112. #else
  113. # define XF86W32Dir        /**/
  114. #endif
  115.  
  116. #if XF86I128Server
  117. # define XF86I128Dir        i128
  118. #else
  119. # define XF86I128Dir        /**/
  120. #endif
  121.  
  122. #ifndef XF98GANBWAPServer
  123. # define XF98GANBWAPServer    NO    
  124. #endif
  125.  
  126. #ifndef XF98NEC480Server
  127. # define XF98NEC480Server    NO
  128. #endif
  129.  
  130. #ifndef XF98NKVNECServer
  131. # define XF98NKVNECServer    NO
  132. #endif
  133.  
  134. #ifndef XF98WABSServer
  135. # define XF98WABSServer        NO    
  136. #endif
  137.  
  138. #ifndef XF98SVGAServer
  139. # define XF98SVGAServer        NO    
  140. #endif
  141.  
  142. #ifndef XF98EGCServer
  143. # define XF98EGCServer        NO
  144. #endif
  145.  
  146. #ifndef XF98NECS3Server
  147. # define XF98NECS3Server    NO    
  148. #endif
  149.  
  150. #ifndef XF98PWSKBServer
  151. # define XF98PWSKBServer    NO
  152. #endif
  153.  
  154. #ifndef XF98PWLBServer
  155. #define XF98PWLBServer        NO
  156. #endif
  157.  
  158. #if XF98NECS3Server
  159. # define XF98NECS3Dir        s3nec
  160. #else
  161. # define XF98NECS3Dir        /**/
  162. #endif
  163.  
  164. #if XF98PWSKBServer
  165. # define XF98PWSKBDir        s3pwskb
  166. #else
  167. # define XF98PWSKBDir        /**/
  168. #endif
  169.  
  170. #if XF98PWLBServer
  171. # define XF98PWLBDir        s3pwlb
  172. #else
  173. # define XF98PWLBDir        /**/
  174. #endif
  175.  
  176. #undef XF86AccelServerDirs
  177. #define XF86AccelServerDirs   XF86S3Dir XF86I8514Dir XF86Mach8Dir XF86Mach32Dir XF86Mach64Dir XF86P9000Dir XF86AGXDir XF86W32Dir XF86I128Dir
  178.  
  179. #undef XF86AccelServer
  180. #if XF86S3Server || XF86I8514Server || XF86Mach8Server || XF86Mach32Server || XF86Mach64Server || XF86P9000Server || XF86AGXServer || XF86W32Server || XF86I128Server
  181. # define XF86AccelServer    YES
  182. #else
  183. # define XF86AccelServer    NO
  184. #endif
  185.  
  186. #undef XF98AccelServerDirs
  187. #define XF98AccelServerDirs   XF98NECS3Dir XF98PWSKBDir XF98PWLBDir
  188.  
  189. #undef XF98AccelServer
  190. #if XF98NECS3Server || XF98PWSKBServer || XF98PWLBServer
  191. # define XF98AccelServer    YES
  192. #else
  193. # define XF98AccelServer    NO
  194. #endif
  195.  
  196. /*
  197.  * Driver list for several of the X Servers.
  198.  */
  199. #ifndef XF86SvgaDrivers
  200. # define XF86SvgaDrivers    et4000 et3000 pvga1 gvga ati tvga8900 cirrus \
  201.                 ncr77c22 compaq oak mx al2101 ali cl64xx \
  202.                 video7 chips ark realtek generic
  203. #endif
  204.  
  205. #ifndef XF98SvgaDrivers
  206. # define XF98SvgaDrivers    generic
  207. #endif
  208.  
  209. #ifndef XF86Vga16Drivers
  210. # define XF86Vga16Drivers    et4000 ncr77c22 ati tvga8900 oak cl64xx \
  211.                 sis generic
  212. #endif
  213.  
  214. #ifndef XF98Vga16Drivers
  215. # define XF98Vga16Drivers    generic
  216. #endif
  217.  
  218. #ifndef XF86Vga2Drivers
  219. # define XF86Vga2Drivers    et4000 et3000 pvga1 gvga ati tvga8900 cirrus \
  220.                 ncr77c22 compaq oak cl64xx sis generic
  221. #endif
  222.  
  223. #ifndef XF86Vga2Banked
  224. # define XF86Vga2Banked        YES
  225. #endif
  226.  
  227. #ifndef XF86MonoDrivers
  228. # define XF86MonoDrivers    hgc1280 sigma apollo hercules
  229. #endif
  230.  
  231. /* This doesn't do anything (yet) */
  232. #ifndef XF86S3Drivers
  233. # define XF86S3Drivers        mmio_928 s3_generic
  234. #endif
  235.  
  236. #ifndef XF86W32Drivers
  237. # define XF86W32Drivers        et4000w32
  238. #endif
  239.  
  240. #ifndef BuildPexExt
  241. #define BuildPexExt        XF86AccelServer || XF86SVGAServer
  242. #endif
  243.  
  244. #ifndef BuildXIE
  245. #define BuildXIE        XF86AccelServer || XF86SVGAServer
  246. #endif
  247.  
  248. #ifndef XF98S3Drivers
  249. # define XF98S3Drivers        mmio_928 s3_generic
  250. #endif
  251.  
  252. /*
  253.  * By default, build all of the fonts.
  254.  */
  255. #ifndef Build75Dpi
  256. #define Build75Dpi        YES
  257. #endif
  258. #ifndef Build100Dpi
  259. #define Build100Dpi        YES
  260. #endif
  261. #ifndef BuildSpeedo
  262. #define BuildSpeedo        YES
  263. #endif
  264. #ifndef BuildType1
  265. #define BuildType1        YES
  266. #endif
  267.  
  268. #ifndef BuildScanpci
  269. #if SystemV || SystemV4 || defined(LinuxArchitecture) || defined(i386BsdArchitecture) || defined(LynxOSArchitecture)
  270. #define BuildScanpci        YES
  271. #else
  272. #define BuildScanpci        NO
  273. #endif
  274. #endif
  275.  
  276. #ifndef BuildXF86DGA
  277. #define BuildXF86DGA        NO
  278. #endif
  279.  
  280. #ifndef CompressAllFonts
  281. #define CompressAllFonts    YES
  282. #endif
  283.  
  284. #ifndef HasLinuxDoc
  285. #define HasLinuxDoc        NO
  286. #endif
  287.  
  288. #ifndef InstallJapaneseDocs
  289. #define InstallJapaneseDocs    NO
  290. #endif
  291.  
  292. #if BuildXF86DGA
  293. #define XFree86DGADefines    -DXFreeXDGA
  294. #else
  295. #define XFree86DGADefines    /**/
  296. #endif
  297.  
  298. /* Server defines required for all OSs */
  299. #ifndef XFree86ServerDefines
  300. #define XFree86ServerDefines    -DSTATIC_COLOR -DAVOID_GLYPHBLT -DPIXPRIV LinkKitDefines XFree86DGADefines
  301. #endif
  302.  
  303. #ifndef XFree86ServerOSDefines
  304. #define XFree86ServerOSDefines    -DDDXOSINIT -DSERVER_LOCK
  305. #endif
  306.  
  307. #ifndef XFree86ConsoleDefines
  308. #ifdef i386BsdArchitecture
  309. #define XFree86ConsoleDefines    -DPCCONS_SUPPORT -DSYSCONS_SUPPORT -DPCVT_SUPPORT
  310. #else
  311. #define XFree86ConsoleDefines    /**/
  312. #endif
  313. #endif
  314.  
  315. #ifndef UseServerLock
  316. #define UseServerLock    YES
  317. #endif
  318.  
  319. #ifndef XF86LinkKit
  320. #define XF86LinkKit    NO
  321. #endif
  322.  
  323. #if XF86LinkKit
  324. /*
  325.  * Definitions for LinkKit self-containment.  This should work whether or not
  326.  * UseInstalled is defined.
  327.  */
  328. # ifndef HasLdRunPath
  329. #  define HasLdRunPath        NO
  330. # endif
  331.  
  332. # ifndef TopIncludes
  333. #  ifdef IncRoot
  334. #   define TopIncludes        -I$(INCROOT)
  335. #  else
  336. #   define TopIncludes        /**/
  337. #  endif
  338. # endif
  339. # ifndef ClientLibDir
  340. #  if defined(UsrLibDir) || HasLdRunPath
  341. #   define ClientLibDir       /**/
  342. #  else
  343. #   define ClientLibDir       -L$(USRLIBDIR)
  344. #  endif
  345. # endif
  346. # ifndef LdPreLib
  347. #  if defined(LdPostLib) && defined(UsrLibDir) && !HasLdRunPath
  348. #   define LdPreLib   -L$(USRLIBDIR)
  349. #  else
  350. #   define LdPreLib   /**/
  351. #  endif
  352. # endif
  353. # ifndef LdPostLib
  354. #  if defined(UsrLibDir) && !HasLdRunPath
  355. #   define LdPostLib  -L$(USRLIBDIR)
  356. #  else
  357. #   define LdPostLib  /**/
  358. #  endif
  359. # endif
  360.  
  361. #endif
  362.  
  363. #ifndef LinkKitDefines
  364. #if XF86LinkKit
  365. #define LinkKitDefines    -DLINKKIT
  366. #else
  367. #define LinkKitDefines    /**/
  368. #endif
  369. #endif
  370.  
  371. #ifndef ServerExtraDefines
  372. #define ServerExtraDefines    XFree86ServerDefines
  373. #endif
  374.  
  375. #ifndef ServerOSDefines
  376. #define ServerOSDefines        XFree86ServerOSDefines
  377. #endif
  378.  
  379. #ifndef LinkKitDir
  380. #define LinkKitDir    $(USRLIBDIR)/Server
  381. #endif
  382.  
  383. LINKKITDIR = LinkKitDir
  384.  
  385. /*
  386.  * Some commonly refered to directories are defined here.
  387.  */
  388.  
  389. #if XF86LinkKit
  390.        XF86SRC = $(TOP)
  391.   XF86ACCELSRC = $(XF86SRC)/lib
  392.     XF86COMSRC = $(XF86SRC)/lib
  393.  XF86CONFIGSRC = $(XF86SRC)
  394.      XF86HWSRC = $(XF86SRC)/lib
  395.      XF86OSSRC = $(XF86SRC)/lib
  396.      DRIVERSRC = $(XF86SRC)/drivers
  397.   VGADRIVERSRC = $(XF86SRC)/drivers/vga256
  398. VGA16DRIVERSRC = $(XF86SRC)/drivers/vga16
  399.  VGA2DRIVERSRC = $(XF86SRC)/drivers/vga2
  400.  MONODRIVERSRC = $(XF86SRC)/drivers/mono
  401.    S3DRIVERSRC = $(XF86SRC)/drivers/s3
  402.  
  403.            XF98SRC = $(TOP)
  404.       XF98ACCELSRC = $(XF98SRC)/lib
  405.         XF98COMSRC = $(XF98SRC)/lib
  406.      XF98CONFIGSRC = $(XF98SRC)
  407.          XF98HWSRC = $(XF98SRC)/lib
  408.          XF98OSSRC = $(XF98SRC)/lib
  409.      XF98DRIVERSRC = $(XF98SRC)/drivers
  410.   XF98VGADRIVERSRC = $(XF98SRC)/drivers/vga256
  411. XF98VGA16DRIVERSRC = $(XF98SRC)/drivers/vga16
  412.  XF98VGA2DRIVERSRC = $(XF98SRC)/drivers/vga2
  413.  XF98MONODRIVERSRC = $(XF98SRC)/drivers/mono
  414.   XF98NECDRIVERSRC = $(XF98SRC)/drivers/s3
  415.  
  416. #ifdef SiteIConfigFiles
  417. #undef SiteIConfigFiles
  418. #endif
  419. #define SiteIConfigFiles $(TOP)/xf86site.def $(TOP)/Imakefile $(IRULESSRC)/host.def
  420. #else
  421.        XF86SRC = $(SERVERSRC)/hw/xfree86
  422.   XF86ACCELSRC = $(XF86SRC)/accel
  423.     XF86COMSRC = $(XF86SRC)/common
  424.  XF86CONFIGSRC = $(XF86COMSRC)
  425.      XF86HWSRC = $(XF86SRC)/common_hw
  426.      XF86OSSRC = $(XF86SRC)/os-support
  427.   VGADRIVERSRC = $(XF86SRC)/vga256/drivers
  428. VGA16DRIVERSRC = $(XF86SRC)/vga16/drivers
  429.  VGA2DRIVERSRC = $(XF86SRC)/vga2/drivers
  430.  MONODRIVERSRC = $(XF86SRC)/mono/drivers
  431.    S3DRIVERSRC = $(XF86SRC)/accel/s3/drivers
  432.  
  433.            XF98SRC = $(SERVERSRC)/hw/xfree98
  434.       XF98ACCELSRC = $(XF98SRC)/accel
  435.         XF98COMSRC = $(XF98SRC)/common
  436.      XF98CONFIGSRC = $(XF98COMSRC)
  437.          XF98HWSRC = $(XF98SRC)/common_hw/generic
  438.       XF98HWNECSRC = $(XF98SRC)/common_hw/nec
  439.     XF98HWPWSKBSRC = $(XF98SRC)/common_hw/pwskb
  440.      XF98HWPWLBSRC = $(XF98SRC)/common_hw/pwlb
  441.          XF98OSSRC = $(XF98SRC)/os-support
  442.   XF98VGADRIVERSRC = $(XF98SRC)/vga256/drivers
  443. XF98VGA16DRIVERSRC = $(XF98SRC)/vga16/drivers
  444.  XF98VGA2DRIVERSRC = $(XF98SRC)/vga2/drivers
  445.  XF98MONODRIVERSRC = $(XF98SRC)/mono/drivers
  446.   XF98NECDRIVERSRC = $(XF98SRC)/accel/s3nec/drivers
  447. XF98PWSKBDRIVERSRC = $(XF98SRC)/accel/s3pwskb/drivers
  448.  XF98PWLBDRIVERSRC = $(XF98SRC)/accel/s3pwlb/drivers
  449. #endif
  450.  
  451. /*
  452.  * Installed location of the XFree86 documentation
  453.  */
  454.  
  455.         XFREE86DOCDIR = $(LIBDIR)/doc
  456.       XFREE86PSDOCDIR = $(XFREE86DOCDIR)/PostScript
  457.     XFREE86HTMLDOCDIR = $(XFREE86DOCDIR)/html
  458. XFREE86JAPANESEDOCDIR = $(XFREE86DOCDIR)/Japanese
  459.  
  460. /*
  461.  * Other stuff used in the X Server source.
  462.  */
  463.  
  464. #ifndef AsmDefines
  465. #define AsmDefines /**/
  466. #endif
  467.  
  468. #ifndef XFree86Version
  469. #define XFree86Version    3123
  470. #endif
  471.  
  472. #ifndef XVendorString
  473. #define XVendorString    "The XFree86 Project, Inc"
  474. #endif
  475.  
  476. #ifndef XVendorRelease
  477. #define XVendorRelease    XFree86Version
  478. #endif
  479.  
  480. #ifndef UseRgbTxt
  481. #define UseRgbTxt    YES
  482. #endif
  483.  
  484.  
  485. /*
  486.  * GNU Compiler stuff
  487.  */
  488. #ifndef HasGcc2
  489. #define HasGcc2 NO
  490. #endif
  491. #ifndef HasGcc
  492. #define HasGcc HasGcc2
  493. #endif
  494. #ifndef HasGcc2ForCplusplus
  495. #define HasGcc2ForCplusplus HasGcc2
  496. #endif
  497.  
  498. #if HasGcc
  499. #ifndef DefaultCCOptions
  500. #ifdef UseInstalled
  501. #define DefaultCCOptions -ansi
  502. #else
  503. #define DefaultCCOptions -ansi -pedantic
  504. #endif
  505. #endif
  506. #endif
  507.  
  508. #ifndef BuildLBXCompatible
  509. #define BuildLBXCompatible NO
  510. #endif
  511.  
  512. #ifndef BuildLBX
  513. #define BuildLBX NO
  514. #endif
  515.  
  516. #if BuildLBXCompatible
  517. #if !BuildLBX
  518. #define LbxDefines -DLBX_COMPAT
  519. #endif
  520. #endif
  521.  
  522. #define VidTuneExtensionDefines -DXF86VIDMODE
  523.  
  524. #include <xf86.rules>
  525.