XCOMM $XConsortium: Imakefile /main/33 1996/10/28 05:12:24 kaleb $





XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/doc/Imakefile,v 3.44.2.9 1998/11/13 13:02:43 dawes Exp $

#include <Server.tmpl>
#include <lnxdoc.rules>

#define IHaveSubdirs

#if DoSgmlDocs
SGMLDIR = sgml
#endif

#if InstallJapaneseDocs
JAPANESEDIR = Japanese
#endif

SUBDIRS = $(SGMLDIR) $(JAPANESEDIR) man

#if !BuildLinuxDocText
/* FreeBSD's README is handled separately because of name length limits */
#ifdef BSD386Architecture
OSREADME = /* README.Bsdi */
#endif
#ifdef FreeBSDArchitecture
OSREADME = README.FreeBSD
#endif
#ifdef NetBSDArchitecture
OSREADME = README.NetBSD
#endif
#ifdef OpenBSDArchitecture
OSREADME = README.OpenBSD
#endif
#ifdef i386MachArchitecture
OSREADME = /* README.Mach */
#endif
#ifdef LinuxArchitecture
OSREADME = README.Linux
#endif
#ifdef LynxOSArchitecture
OSREADME = README.LynxOS
#endif
#ifdef MinixArchitecture
OSREADME = /* README.Minix */
#endif
#ifdef AmoebaArchitecture
OSREADME = /* README.Amoeba */
#endif
#ifdef SVR3Architecture
# ifdef i386ScoArchitecture
OSREADME = README.SCO /* README.SVR3 */
# else
#  ifdef i386IscArchitecture
OSREADME = README.isc /* README.SVR3 */
#  else
OSREADME = /* README.SVR3 */
#  endif
# endif
#endif
#ifdef SVR4Architecture
# ifdef SunArchitecture
OSREADME = README.SOLX86
# else
OSREADME = README.SVR4
# endif
#endif
#ifdef OS2Architecture
OSREADME = README.OS2
#endif
#endif /* !BuildLinuxDocText */

#if XFree86Version % 10
REPORTFORM = BetaReport
#endif

all::

#if !BuildLinuxDocText
HWREADME =  README.ati README.trident README.tseng README.WstDig \
            README.DECtga  README.apm README.rendition README.epson \
            README.chips README.cirrus README.Video7 README.P9000 README.agx \
            README.S3 README.S3V README.SiS README.W32 README.Oak \
            README.Mach32 \
            README.Mach64 README.ark README.MGA README.NVIDIA README.mouse \
	    README.neo README.rendition README.3DLabs README.cyrix

MAINDOCS = COPYRIGHT README README.Config BUILD RELNOTES

OTHERDOCS = VideoModes.doc QuickStart.doc README.clkprog xinput
#endif

MISCDOCS = ServersOnly /*LbxproxyOnly*/ $(REPORTFORM) README.DGA

DATABASE = /*modeDB.txt*/ AccelCards Monitors Devices

FILES = $(MAINDOCS) $(OSREADME) $(HWREADME) $(OTHERDOCS) $(MISCDOCS) $(DATABASE)

InstallMultipleDest(install,$(FILES),$(XFREE86DOCDIR))

LinkFile(README.Mach32,READ.Mach32)
LinkFile(README.Mach64,READ.Mach64)
LinkFile(README.FreeBSD,READ.FreeBSD)
LinkFile(README.Riva128,README.NVIDIA)

#ifdef IHaveSubdirs
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#endif

all::
