/*
* The expiry date for beta versions
*
* 853286400 is Wed Jan 15 00:00:00 1997 GMT
* 855964800 is Sat Feb 15 00:00:00 1997 GMT
* 866332800 is Sun Jun 15 00:00:00 1997 GMT
*/
#ifndef XorgServerExpiry
# define XorgServerExpiry 0
#endif
/*
* Build the font server
*/
#ifndef BuildFontServer
# define BuildFontServer YES
#endif
/*
* Include fonts support
*/
#ifndef BuildSpeedo
# define BuildSpeedo NO
#endif
#ifndef BuildType1
# define BuildType1 NO
#endif
#ifndef BuildCID
# define BuildCID YES
#endif
#ifndef BuildFreeType
# define BuildFreeType YES
#endif
/*
* By default, build all of the fonts.
*/
#ifndef Build75DpiFonts
# define Build75DpiFonts YES
#endif
#ifndef Build100DpiFonts
# define Build100DpiFonts YES
#endif
#ifndef BuildSpeedoFonts
# define BuildSpeedoFonts NO
#endif
#ifndef BuildType1Fonts
# define BuildType1Fonts YES
#endif
#ifndef BuildCIDFonts
# define BuildCIDFonts YES
#endif
#ifndef BuildTrueTypeFonts
# define BuildTrueTypeFonts YES
#endif
#ifndef BuildCyrillicFonts
# define BuildCyrillicFonts YES
#endif
/*
* Build scanpci?
*/
#ifndef SystemV
#define SystemV NO
#endif
#ifndef SystemV4
#define SystemV4 NO
#endif
#ifndef BuildScanpci
# if SystemV || SystemV4 || \
(defined(LinuxArchitecture) && !defined(Mc68020Architecture)) || \
defined(i386BsdArchitecture) || defined(LynxOSArchitecture) || \
defined(OS2Architecture) || defined(GNUMachArchitecture)
# define BuildScanpci YES
# else
# define BuildScanpci NO
# endif
#endif
#ifndef CompressAllFonts
# define CompressAllFonts YES
#endif
#ifndef GzipFontCompression
# define GzipFontCompression YES
#endif
/* Disable stripping installed programs for this release. */
#ifndef StripInstalledPrograms
# define StripInstalledPrograms NO
#endif
#ifndef InstallJapaneseDocs
#define InstallJapaneseDocs NO
#endif
#if BuildXF86DGA
# define XFree86DGADefines -DXFreeXDGA
#else
# define XFree86DGADefines /**/
#endif
#if BuildXvExt
# define XFree86XvDefines -DXvExtension
#else
# define XFree86XvDefines /**/
#endif
#if BuildXvMCExt
# define XFree86XvMCDefines -DXvMCExtension
#else
# define XFree86XvMCDefines /**/
#endif
#if BuildXResExt
# define XFree86XResDefines -DXResExtension
#else
# define XFree86XResDefines /**/
#endif
#ifndef DlopenHack
# define DlopenHack -DDLOPEN_HACK
#endif
#ifndef ExtraLoaderDefines
# if MakeDllModules
# define ExtraLoaderDefines DlopenHack
# else
# define ExtraLoaderDefines /**/
# endif
#endif
#if DoLoadableServer
# define XFree86LoaderDefines -DXFree86LOADER ExtraLoaderDefines
#else
# define XFree86LoaderDefines /**/
#endif
#ifndef HasBsdMake
#define HasBsdMake NO
#endif
#ifndef MakeHasPosixVariableSubstitutions
# if !HasBsdMake && !defined(SunArchitecture)
# define MakeHasPosixVariableSubstitutions NO
# else
# define MakeHasPosixVariableSubstitutions YES
# endif
#endif
#ifndef UseSmartScheduler
#define UseSmartScheduler YES
#endif
#if UseSmartScheduler
#define SmartScheduleDefines -DSMART_SCHEDULE
#else
#define SmartScheduleDefines /**/
#endif
/* Server defines required for all OSs */
#ifndef XFree86ServerDefines
# define XFree86ServerDefines -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH \
XFree86DGADefines XFree86XvDefines \
XFree86LoaderDefines -DXFree86Server \
VidModeExtensionDefines \
XFree86XvMCDefines \
SmartScheduleDefines \
DebugDefines XFree86XResDefines \
-DX_BYTE_ORDER=$(X_BYTE_ORDER) \
VersionDefines
#endif
#ifndef XFree86ServerOSDefines
# define XFree86ServerOSDefines -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR \
-DDDXOSVERRORF
#endif
#ifndef XFree86ConsoleDefines
# if defined(i386BsdArchitecture) || defined(AlphaBsdArchitecture)
# define XFree86ConsoleDefines -DPCCONS_SUPPORT -DSYSCONS_SUPPORT -DPCVT_SUPPORT
# elif defined(FreeBSDArchitecture)
# define XFree86ConsoleDefines -DSYSCONS_SUPPORT
# else
# define XFree86ConsoleDefines /**/
# endif
#endif
/* Support for USB mouse */
#ifndef UsbMouseSupport
# define UsbMouseSupport NO
#endif
/* Does this OS have libusb ? */
#ifndef HasLibUsb
# define HasLibUsb NO
#endif
#ifndef UseServerLock
# define UseServerLock YES
#endif
#ifndef XnestServer
# define XnestServer YES
#endif
#ifndef XVirtualFramebufferServer
# define XVirtualFramebufferServer YES
#endif
#ifndef ServerExtraDefines
# define ServerExtraDefines XFree86ServerDefines
#endif
#ifndef ServerOSDefines
# define ServerOSDefines XFree86ServerOSDefines
#endif
#ifndef DriverSDKDir
# define DriverSDKDir $(USRLIBDIR)/Server
#endif
#ifndef DriverSDKModuleDir
# define DriverSDKModuleDir $(USRLIBDIR)/Server/modules
#endif
#ifndef DriverSDKIncludeDir
# define DriverSDKIncludeDir $(USRLIBDIR)/Server/include
#endif
DRIVERSDKDIR = DriverSDKDir
DRIVERSDKMODULEDIR = DriverSDKModuleDir
DRIVERSDKINCLUDEDIR = DriverSDKIncludeDir
/*
* Some commonly refered to directories are defined here.
*/
XF86SRC = $(SERVERSRC)/hw/xfree86
XF86COMSRC = $(XF86SRC)/common
XF86PARSERSRC = $(XF86SRC)/parser
XF86OSSRC = $(XF86SRC)/os-support
XF86DRIVERSRC = $(XF86SRC)/drivers
DRIVERSRC = $(XF86DRIVERSRC)
/*
* Installed location of the XFree86 documentation
*/
XFREE86DOCDIR = $(DOCDIR)
XFREE86PSDOCDIR = $(DOCPSDIR)
XFREE86PDFDOCDIR = $(DOCPDFDIR)
XFREE86HTMLDOCDIR = $(DOCHTMLDIR)
XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
/*
* Other stuff used in the X Server source.
*/
#ifndef OtherIConfigFiles
# define OtherIConfigFiles $(IRULESRC)/xfree86.cf $(IRULESRC)/xf86.rules
#endif
#ifndef UseRgbTxt
# define UseRgbTxt YES
#endif
/*
* GNU Compiler stuff
*/
#ifndef HasGcc3
# define HasGcc3 NO
#endif
#ifndef HasGcc2
# define HasGcc2 HasGcc3
#endif
#ifndef HasGcc
# define HasGcc HasGcc2
#endif
#ifndef HasGcc2ForCplusplus
# define HasGcc2ForCplusplus HasGcc2
#endif
#if HasGcc
# ifndef Gcc28Warnings
# if (GccMajorVersion > 2) || \
((GccMajorVersion == 2) && (GccMinorVersion >=
)
# define Gcc28Warnings -Wundef
# else
# define Gcc28Warnings /* */
# endif
# ifndef HasGcc34
# if (((GccMajorVersion == 3) && (GccMinorVersion >= 4)) || \
(GccMajorVersion > 3))
# define HasGcc34 YES
# else
# define HasGcc34 NO
# endif
# endif
# endif
# ifndef GccWarningOptions
# if XFree86Devel
# define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \
-Wredundant-decls -Wnested-externs Gcc28Warnings
# else
# define GccWarningOptions -Wall -Wpointer-arith Gcc28Warnings
# endif
# endif
# ifndef DefaultCCOptions
# if defined(UseInstalled)
# define DefaultCCOptions /* -ansi */
# else
# define DefaultCCOptions -ansi -pedantic GccWarningOptions
# endif
# endif
# if defined(UseInstalled)
# ifndef UseGccMakeDepend
# define UseGccMakeDepend NO
# endif
# ifndef CCMakeDepend
# define CCMakeDepend NO
# endif
# endif
#endif
/* Make imake noisier. Note that this is ineffective for 3.0 <= GCC <= 3.2 */
#ifndef ImakeWarningFlags
# ifdef Gcc28Warnings
# define ImakeWarningFlags Gcc28Warnings
# else
# define ImakeWarningFlags /* */
# endif
#endif
#if ((GccMajorVersion == 3) && (GccMinorVersion >= 1)) || (GccMajorVersion > 3)
# define GccAliasingArgs -fno-strict-aliasing
#else
# define GccAliasingArgs /* */
#endif
#if HasGcc2
# ifndef DefaultGcc2OptimizeOpt
# define DefaultGcc2OptimizeOpt -O2
# endif
#endif
#if HasGcc2 && defined(i386Architecture)
# ifndef DefaultGcc2i386Opt
# define DefaultGcc2i386Opt DefaultGcc2OptimizeOpt GccAliasingArgs
# endif
#endif
#if HasGcc2 && defined(AMD64Architecture)
# ifndef DefaultGcc2AMD64Opt
# define DefaultGcc2AMD64Opt DefaultGcc2OptimizeOpt GccAliasingArgs
# endif
#endif
#if HasGcc2 && defined(AlphaArchitecture)
# ifndef DefaultGcc2AxpOpt
# define DefaultGcc2AxpOpt DefaultGcc2OptimizeOpt GccAliasingArgs
# endif
#endif
#if HasGcc2 && defined(Ppc64Architecture)
# ifndef DefaultGcc2Ppc64Opt
# define DefaultGcc2Ppc64Opt DefaultGcc2OptimizeOpt GccAliasingArgs
# endif
#endif
#if HasGcc2 && defined(PpcArchitecture)
# ifndef DefaultGcc2PpcOpt
# define DefaultGcc2PpcOpt DefaultGcc2OptimizeOpt GccAliasingArgs
# endif
#endif
#ifndef DefaultGcc2DebugOpt
# define DefaultGcc2DebugOpt -g
#endif
#ifndef DebuggableLibraries
# define DebuggableLibraries NO
#endif
#if HasGcc2 && DebuggableLibraries
# define LibraryDebugOpt DefaultGcc2DebugOpt
#endif
/*
* Some versions of gcc have optimisation bugs that cause problems building
* some files. The definitions here cover those.
*/
#ifndef Egcs112Bug
/* Not exactly precise, but it'll do for now... */
# if HasGcc2 && defined(i386Architecture) && \
(GccMajorVersion == 2) && (GccMinorVersion >
# define Egcs112Bug YES
# else
# define Egcs112Bug NO
# endif
#endif
#ifdef i386Architecture
# ifndef HasX86Support
# define HasX86Support YES
# endif
# ifndef HasMMXSupport
# define HasMMXSupport YES
# endif
# ifndef HasSSESupport
# define HasSSESupport NO
# endif
# ifndef Has3DNowSupport
# define Has3DNowSupport NO
# endif
#elif defined (AMD64Architecture)
# ifndef HasX86Support
# define HasX86Support NO
# endif
# ifndef HasMMXSupport
# define HasMMXSupport NO
# endif
# ifndef HasSSESupport
# define HasSSESupport NO
# endif
# ifndef Has3DNowSupport
# define Has3DNowSupport NO
# endif
#else
# ifndef HasX86Support
# define HasX86Support NO
# endif
# ifndef HasMMXSupport
# define HasMMXSupport NO
# endif
# ifndef HasSSESupport
# define HasSSESupport NO
# endif
# ifndef Has3DNowSupport
# define Has3DNowSupport NO
# endif
#endif
#ifndef StaticNeedsPicForShared
# if defined (AMD64Architecture)\
|| defined (AlphaArchitecture) \
|| defined (ia64Architecture) \
|| defined (PpcArchitecture) \
|| defined (SparcArchitecture) \
|| defined (s390xArchitecture)
# define StaticNeedsPicForShared YES
# else
# define StaticNeedsPicForShared NO
# endif
#endif
#ifndef XF8_32Wid
# define XF8_32Wid NO
#endif
#if CrossCompiling
#include <cross.def>
#endif
#include <xf86.rules>
Section "Extensions"
Option "Composite" "false"
EndSection
Sori en tienny et mikä kohta tosta pitäis pastee ni laitoin kokonaan.