Commit f4092abd authored by Reinhard Tartler's avatar Reinhard Tartler

Imported nx-X11-3.1.0-1.tar.gz

Summary: Imported nx-X11-3.1.0-1.tar.gz Keywords: Imported nx-X11-3.1.0-1.tar.gz into Git repository
parent a840692e

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This source diff could not be displayed because it is too large. You can view the blob instead.
XCOMM $Xorg: Imakefile,v 1.5 2000/08/17 19:41:44 cpqbld Exp $
XCOMM $XFree86: xc/Imakefile,v 3.29tsi Exp $
#define IHaveSubdirs
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)"
RELEASE = XOrgReleaseString
#ifndef OSName
#define OSName Unknown Operating System!
#endif
#if !BuildServersOnly
#if BuildFonts
FONTSDIR = fonts
#endif
#ifndef Win32Architecture
#if BuildDocs
DOCSDIR = doc
#endif
NLSSUBDIR = nls
#endif
#endif
SUBDIRS = include config lib $(NLSSUBDIR) \
programs $(FONTSDIR) $(DOCSDIR)
LNINSTALLDIRS = lib
#if HasParallelMake
#ifdef ParallelDefines
TOPPARALLELMFLAGS = TopParallelDefines
#endif
#endif
MakeSubdirs($(SUBDIRS))
MakeLintSubdirs($(LNINSTALLDIRS),install.ln,install.ln)
MakeLintSubdirs($(LNINSTALLDIRS),external.ln,lintlib)
DependSubdirs($(SUBDIRS))
#define IHaveSpecialMakefileTarget
#if !defined(Win32Architecture) || defined(mingwArchitecture)
VerifyOS::
@echo ""
@echo Building on OSName "("OSMajorVersion"."OSMinorVersion"."OSTeenyVersion")."
@echo ""
#ifdef LinuxArchitecture
VerifyOS::
@echo Linux Distribution: LinuxDistName
@echo libc version: LinuxCLibMajorVersion"."LinuxCLibMinorVersion"."LinuxCLibTeenyVersion
@echo binutils version: `expr LinuxBinUtilsMajorVersion / 10`.`expr LinuxBinUtilsMajorVersion % 10`
@echo ""
#endif
#if defined(GccMajorVersion) && defined(GccMinorVersion)
VerifyOS::
@echo GCC version: GccMajorVersion"."GccMinorVersion
@echo ""
#endif
#ifndef OS2Architecture
version.def::
$(RM) $(IRULESRC)/date.def
@if [ -f ../../$(XF86SRC)/xf86Date.h ]; then \
$(LN) ../../$(XF86SRC)/xf86Date.h $(IRULESRC)/date.def; \
else \
echo "" > $(IRULESRC)/date.def; \
fi;
$(RM) $(IRULESRC)/version.def
@if [ -f ../../$(XF86SRC)/xf86Version.h ]; then \
echo foo; \
$(LN) ../../$(XF86SRC)/xf86Version.h $(IRULESRC)/version.def; \
else \
echo "" > $(IRULESRC)/version.def; \
fi;
#else /*OS2Architecture*/
version.def::
$(RM) $(IRULESRC)/date.def
$(CP) $(XF86SRC)/xf86Date.h $(IRULESRC)/date.def
#endif
includes::
MakeDir($(BUILDINCDIR))
MakeDir($(BUILDBINDIR))
XCOMM
XCOMM Watch out!!! Make sure you do make includes after removing X11....
XCOMM
clean::
$(RM) -r $(BUILDINCDIR)
$(RM) -r $(BUILDLIBDIR)
$(RM) -r $(BUILDBINDIR)
MAKE_OPTS = -f xmakefile
World::
$(MAKE) $(MFLAGS) $(MAKE_OPTS) $(TOPPARALLELMFLAGS) all
Everything::
@echo ""
@echo Rebuilding $(RELEASE) of the X Window System.
@echo ""
@date
@echo ""
cd $(IMAKESRC) && if [ -f Makefile ]; then \
$(MAKE) $(MFLAGS) BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"; \
else \
$(MAKE) $(MFLAGS) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"; \
fi
-$(RM) xmakefile.bak; $(MV) xmakefile xmakefile.bak
$(MAKE) $(MFLAGS) xmakefile
$(MAKE) $(MFLAGS) $(MAKE_OPTS) Makefiles
$(MAKE) $(MFLAGS) $(MAKE_OPTS) includes
$(MAKE) $(MFLAGS) $(MAKE_OPTS) depend
$(MAKE) $(MFLAGS) $(MAKE_OPTS) $(WORLDOPTS)
@echo ""
@date
@echo ""
@echo Rebuild of $(RELEASE) of the X Window System complete.
@echo ""
XCOMM clean out link tree looking for stuff that should get checked in
dangerous_strip_clean::
$(MAKE) -k distclean
find . -type l -exec rm {} \;
find . \( \! -type d \) -print
#else /* not Win32Architecture else */
VerifyOS::
@echo :
@echo Building on OSName.
@echo :
includes::
MakeDir($(BUILDINCDIR:/=\))
XCOMM
XCOMM Watch out!!! Make sure you do make includes after removing X11....
XCOMM
clean::
RmTreeCmd $(BUILDINCDIR:/=\)
RmTreeCmd $(BUILDLIBDIR:/=\)
Everything::
@echo :
@echo Rebuilding $(RELEASE) of the X Window System.
@echo :
@echo :
cd $(IMAKESRC)
$(MAKE) $(MFLAGS) -f Makefile.ini imake.exe
cd ..\..
RMoveToBakFile(xmakefile)
$(MAKE) $(MFLAGS) xmakefile
$(MAKE) $(MFLAGS) $(MAKE_OPTS) Makefiles
$(MAKE) $(MFLAGS) $(MAKE_OPTS) includes
$(MAKE) $(MFLAGS) $(MAKE_OPTS) depend
$(MAKE) $(MFLAGS) $(MAKE_OPTS) $(WORLDOPTS)
@echo :
@echo :
@echo Rebuild of $(RELEASE) of the X Window System complete.
@echo :
#ifdef ProjectRoot
install::
MakeDir($(PROJECTROOT:/=\))
#endif
install::
MakeDir($(INCROOT:/=\))
MakeDir($(USRLIBDIR:/=\))
MakeDir($(LIBDIR:/=\))
#endif /* not Win32Architecture else */
XCOMM special target to determine if the xmakefile exists.
XCOMM Works on both Unix and NMAKE.EXE
xmakefile-exists::
#ifndef MakeManKeywords
#define MakeManKeywords YES /* install.man rebuilds "man -k" database? */
#endif
#ifndef MakeHtmlManIndex
#define MakeHtmlManIndex YES /* install.man generates HTML man page index */
#endif
#undef BootstrapCleanSubdirs
#define BootstrapCleanSubdirs BOOTSTRAPSUBDIRS="$(BOOTSTRAPSUBDIRS)"
BOOTSTRAPSUBDIRS = imake makedepend
X Window System, Version 11
Release 6.9
Portions Copyright by:
2d3d Inc.
Adam de Boor
Adam Jackson
Adobe Systems Inc.
After X-TT Project
AGE Logic Inc.
Alan Hourihane
Andreas Monitzer
Andrew C Aitchison
Andy Ritger
Ani Joshi
Anton Zioviev
Apollo Computer Inc.
Apple Computer Inc.
Ares Software Corp.
ATI Technologies Inc.
AT&T Inc.
Bigelow & Holmes
Bill Reynolds
Bitstream Inc.
Brian Fundakowski Feldman
Brian Goines
Brian Paul
Bruno Haible
Charles Murcko
Chen Xiangyang
Chris Constello
Cognition Corp.
Compaq Computer Corporation
Concurrent Computer Corporation
Conectiva S.A.
Corin Anderson
Craig Struble
Daewoo Electronics Co. Ltd.
Dale Schumacher
Damien Miller
Daniel Borca
Daniver Limited
Daryll Strauss
Data General Corporation
David Bateman
David Dawes
David E. Wexelblat
David Holland
David J. McKay
David McCullough
David Mosberger-Tang
David S. Miller
David Turner
David Wexelblat
Davor Matic
Digital Equipment Corporation
Dirk Hohndel
Dmitry Golubev
Doug Anson
Edouard TISSERANT
Eduardo Horvath
Egbert Eich
Eric Anholt
Eric Fortune
Eric Sunshine
Erik Fortune
Erik Nygren
Evans & Sutherland Computer Corporation
Felix Kuehling
Finn Thoegersen
Francesco Zappa Nardelli
Frederic Lepied
Free Software Foundation Inc.
Fujitsu Limited
Fujitsu Open Systems Solutions Inc.
Fuji Xerox Co. Ltd.
Geert Uytterhoeven
Gerrit Jan Akkerman
Gerry Toll
Glenn G. Lai
Go Watanabe
Gregory Mokhin
Greg Parker
GROUPE BULL
Hans Oey
Harald Koenig
Harm Hanemaayer
Harry Langenbacher
Henry A. Worth
Hewlett-Packard Company
Hitachi Ltd
Holger Veit
Hummingbird Communications Ltd
IBM Corporation
Intel Corporation
INTERACTIVE Systems Corporation
International Business Machines Corp.
Itai Nahshon
Jakub Jelinek
James Tsillas
Jason Bacon
Jean-loup Gailly
Jeff Kirk
Jeffrey Hsu
Jim Tsillas
J. Kean Johnston
Jon Block
Jon Tombs
Jorge Delgado
Joseph Friedman
Joseph V. Moss
Juliusz Chroboczek
Jyunji Takagi
Kaleb S. Keithley
Kazushi (Jam) Marukawa
Kazuyuki (ikko-) Okamoto
Keith Packard
Keith Whitwell
Kevin E. Martin
Larry Wall
Lawrence Berkeley Laboratory
Lennart Augustsson
Lexmark International Inc.
Linus Torvalds
Loïc Grenié
Machine Vision Holdings Inc.
Manfred Brands
Marc Aurele La France
Mark Adler
Mark J. Kilgard
Mark Leisher
Mark Smulders
Massachusetts Institute Of Technology
Matrox Graphics
Matthew Grossman
Matthieu Herrb
Metro Link Inc.
Michael H. Schimek
Michael P. Marking
Michael Schimek
Michael Smith
Ming Yu
MIPS Computer Systems Inc.
National Semiconductor
NCR Corporation Inc.
Netscape Communications Corporation
Network Computing Devices Inc.
Nicholas Miell
Noah Levitt
Novell Inc.
Nozomi YTOW
NTT Software Corporation
Number Nine Computer Corp.
Number Nine Visual Technologies
NVIDIA Corp.
Olivier Danet
Oki Technosystems Laboratory Inc.
OMRON Corporation
Open Software Foundation
Orest Zborowski
Pablo Saratxaga
Panacea Inc.
Panagiotis Tsirigotis
Paolo Severini
Pascal Haible
Patrick Lecoanet
Patrick Lerda
Paul Elliott
Peter Kunzmann
Peter Trattler
Philip Homburg
Precision Insight Inc.
Prentice Hall
Quarterdeck Office Systems
Randy Hendry
Ranier Keller
Red Hat Inc.
Regents of the University of California
Rene Cougnenc
Régis Cridlig
Richard A. Hecker
Richard Burdick
Rich Murphey
Rickard E. Faith
Robert Baron
Robert Chesler
Robert V. Baron
Robert Wilhelm
Robin Cutshaw
Roland Mainz
S3 Graphics Inc.
Sam Leffler
SciTech Software
Scott Laird
Sebastien Marineau
Shigehiro Nomura
ShoGraphics Inc.
Shunsuke Akiyama
Silicon Graphics Computer Systems Inc.
Silicon Integrated Systems Corp Inc.
Silicon Motion Inc.
Simon P. Cooper
Snitily Graphics Consulting Services
Sony Corporation
SRI
Stanislav Brabec
Stephan Dirsch
Stephan Lang
Steven Lang
Sun Microsystems Inc.
SunSoft Inc.
SuSE Inc.
Sven Luther
Takis Psarogiannakopoulos
Takuya SHIOZAKI
Tektronix Inc.
The DOS-EMU-Development-Team
The Institute of Software Academia Sinica
The NetBSD Foundation
Theo de Raadt
Theodore Ts'o
The Open Group
The Open Software Foundation
The Regents of the University of California
The Santa Cruz Operation Inc.
The Unichrome Project
The Weather Channel Inc.
The X Consortium
The XFree86 Project Inc.
Thomas A. Phelps
Thomas E. Dickey
Thomas G. Lane
Thomas Mueller
Thomas Roell
Thomas Thanner
Thomas Winischhofer
Thomas Wolfram
Thorsten.Ohl
Tiago Gons
Todd C. Miller
Tomohiro KUBOTA
Torrey T. Lyons
TOSHIBA Corp.
Trolltech AS
Tungsten Graphics Inc.
UCHIYAMA Yasushi
Unicode Inc.
UniSoft Group Limited
University of Utah
UNIX System Laboratories Inc.
URW++ GmbH
VA Linux Systems
VIA Technologies Inc.
Video Electronics Standard
VMware Inc.
Vrije Universiteit
Werner Lemberg
Wittawat Yamwong
Wyse Technology Inc.
X Consortium
Xi Graphics Inc.
X-Oz Technologies
X-TrueType Server Project
X.Org Foundation, LLC
Copyright (C) 2001, 2007 NoMachine - http://www.nomachine.com/.
NX-X11 and NX extensions to X are copyright of NoMachine.
Redistribution and use of this software is allowed according to the
following terms:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License Version 2, and
not any other version, as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTA-
BILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, you can request a copy to NoMachine
or write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA
Parts of this software are derived from XFree86 and X.org projects.
Other copyrights and the MIT/X11 license applies to different sources.
Please check the applicable copyrights in each file or subdirectory.
All rights reserved.
# $Xorg: Makefile,v 1.5 2000/08/17 19:41:44 cpqbld Exp $
# $Id: Makefile,v 1.5 2005/12/14 23:41:52 alanc Exp $
# $XFree86: xc/Makefile,v 3.28tsi Exp $
# Luna users will need to either run make as "make MAKE=make"
# or add "MAKE = make" to this file.
RELEASE = "Release 6.9"
SHELL = /bin/sh
RM = rm -f
MV = mv
WORLDOPTS =
WIN32WORLDOPTS = -i
TOP = .
CURRENT_DIR = .
CONFIGSRC = $(TOP)/config
IMAKESRC = $(CONFIGSRC)/imake
DEPENDSRC = $(CONFIGSRC)/makedepend
DEPENDTOP = ../..
IMAKETOP = ../..
IRULESRC = $(CONFIGSRC)/cf
IMAKE = $(IMAKESRC)/imake
IMAKE_CMD = $(IMAKE) -I$(IRULESRC) $(IMAKE_DEFINES)
MAKE_OPTS = -f xmakefile
MAKE_CMD = $(MAKE) $(MAKE_OPTS)
FLAGS = $(MFLAGS) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)" CC="$(CC)"
VERSINC = -Iprograms/Xserver/hw/xfree86
VERSSRC = $(CONFIGSRC)/util/printver.c
VERSPROG = $(CONFIGSRC)/util/printver.exe
all:
@$(MAKE_CMD) xmakefile-exists || $(MAKE) all-initial
@$(MAKE_CMD) $@
all-initial:
@echo Please use make World, or on NT use nmake World.Win32.
@echo Check the configuration parameters in the $(IRULESRC) directory,
@echo and pass BOOTSTRAPCFLAGS if necessary.
@echo Read the release notes carefully before proceeding.
@echo Do not name your log file make.log or it will be deleted.
World:
@-$(RM) $(VERSPROG)
@-$(CC) $(VERSINC) -o $(VERSPROG) $(VERSSRC)
@echo ""
@echo Building $(RELEASE).
@echo ""
@-$(RM) $(VERSPROG)
@case "x$(BOOTSTRAPCFLAGS)" in x) \
echo I hope you checked the configuration parameters in $(IRULESRC) ; \
echo to see if you need to pass BOOTSTRAPCFLAGS. ; \
echo "" ; \
;; esac;
@date
@echo ""
@if [ -f xmakefile ]; then \
$(MAKE_CMD) -k distclean || \
$(MAKE_CMD) -k clean || \
$(RM) xmakefile; \
fi
@if [ ! -f $(IRULESRC)/host.def ]; then \
if [ ! -f $(TOP)/lib/Xt/Imakefile ]; then \
echo "#define BuildServersOnly YES" > $(IRULESRC)/host.def; \
else \
if [ ! -f $(TOP)/fonts/Imakefile ]; then \
echo "#define BuildFonts NO" > $(IRULESRC)/host.def; \
else \
echo "" > $(IRULESRC)/host.def; \
fi; \
fi; \
fi
# @rm -f $(IRULESRC)/version.def; echo "" > $(IRULESRC)/version.def;
@rm -f $(IRULESRC)/date.def; echo "" > $(IRULESRC)/date.def;
# @if [ ! -f $(IRULESRC)/version.def ]; then \
# rm -f $(IRULESRC)/version.def; \
# echo "" > $(IRULESRC)/version.def; \
# fi
# @if [ ! -f $(IRULESRC)/date.def ]; then \
# rm -f $(IRULESRC)/date.def; \
# echo "" > $(IRULESRC)/date.def; \
# fi
cd $(IMAKESRC) && $(MAKE) $(FLAGS) clean
$(MAKE) $(MFLAGS) Makefile.boot
$(MAKE_CMD) $(MFLAGS) version.def
$(MAKE) $(MFLAGS) Makefile.boot
$(MAKE_CMD) $(MFLAGS) VerifyOS
$(MAKE_CMD) $(MFLAGS) Makefiles
$(MAKE_CMD) $(MFLAGS) BOOTSTRAPSUBDIRS= clean
$(MAKE_CMD) $(MFLAGS) includes
$(MAKE_CMD) $(MFLAGS) depend
$(MAKE_CMD) $(MFLAGS) $(WORLDOPTS) World
@echo ""
@date
@echo ""
@-$(RM) $(VERSPROG)
@-$(CC) $(VERSINC) -o $(VERSPROG) $(VERSSRC)
@echo Full build of $(RELEASE) complete.
@-$(RM) $(VERSPROG)
@echo ""
.PRECIOUS: Makefile
# This is just a sequence of bootstrapping steps we have to do.
# The steps are listed as separate targets so clearmake can wink in
# the Makefile.proto files.
Makefile.boot: imake.bootstrap
$(RM) $(IMAKESRC)/Makefile.proto
imake.proto:
cd $(IMAKESRC) && $(MAKE) $(FLAGS)
$(RM) $(DEPENDSRC)/Makefile.proto
$(DEPENDSRC)/Makefile.proto: imake.proto
$(IMAKE_CMD) -s $(DEPENDSRC)/Makefile.proto -f $(DEPENDSRC)/Imakefile -DTOPDIR=$(DEPENDTOP) -DCURDIR=$(DEPENDSRC)
depend.bootstrap: $(DEPENDSRC)/Makefile.proto
cd $(DEPENDSRC) && $(RM) -r Makefile Makefile.dep makedepend *.o bootstrap
cd $(DEPENDSRC) && $(MAKE) -f Makefile.proto bootstrap
$(IMAKESRC)/Makefile.proto: depend.bootstrap
$(IMAKE_CMD) -s $(IMAKESRC)/Makefile.proto -f $(IMAKESRC)/Imakefile -DTOPDIR=$(IMAKETOP) -DCURDIR=$(IMAKESRC) -DBootStrap
imake.bootstrap: $(IMAKESRC)/Makefile.proto
cd $(IMAKESRC) && $(MAKE) -f Makefile.proto bootstrapdepend
cd $(IMAKESRC) && $(MAKE) $(FLAGS) bootstrap
cd $(IMAKESRC) && $(MAKE) -f Makefile.proto imakeonly
-@if [ -f xmakefile ]; then set -x; \
$(RM) xmakefile.bak; $(MV) xmakefile xmakefile.bak; \
else exit 0; fi
$(MAKE) $(MFLAGS) xmakefile
Makefile::
$(MAKE) $(MFLAGS) xmakefile
xmakefile: Imakefile
$(RM) xmakefile
$(IMAKE_CMD) -s xmakefile -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
World.Win32:
@echo :
@echo Building $(RELEASE).
@echo :
@echo :
-@if not exist $(IRULESRC)\host.def echo > $(IRULESRC)\host.def
cd $(IMAKESRC)
$(MAKE) -f Makefile.ini clean.Win32
$(MAKE) -f Makefile.ini imake.exe
cd ..\..
-if exist xmakefile.bak del xmakefile.bak
-if exist xmakefile ren xmakefile xmakefile.bak
$(IMAKE:/=\) -s xmakefile -I$(IRULESRC) $(IMAKE_DEFINES) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
$(MAKE_CMD) $(MFLAGS) VerifyOS
$(MAKE_CMD) $(MFLAGS) Makefiles
$(MAKE_CMD) $(MFLAGS) clean
cd $(CONFIGSRC)\util
$(MAKE) mkdirhier.exe
cd ..\..
$(MAKE_CMD) $(MFLAGS) includes
$(MAKE_CMD) $(MFLAGS) depend
$(MAKE_CMD) $(MFLAGS) $(WIN32WORLDOPTS)
@echo :
@echo :
@echo Full build of $(RELEASE) complete.
@echo :
World.OS2:
@echo :
@echo Building $(RELEASE) on OS/2.
@echo :
@echo :
-@if not exist $(IRULESRC)\host.def echo > $(IRULESRC)\host.def
\indir $(IMAKESRC) $(MAKE) SHELL= -f Makefile.ini clean.os2
\indir $(IMAKESRC) $(MAKE) SHELL= CC=gcc -f Makefile.ini imake.os2
-if exist Makefile.bak del Makefile.bak
-if exist Makefile ren Makefile Makefile.bak
$(subst /,\,$(IMAKE)) -I$(IRULESRC) $(IMAKE_DEFINES) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
$(MAKE) $(MFLAGS) VerifyOS
$(MAKE) $(MFLAGS) Makefiles
$(MAKE) $(MFLAGS) clean
$(MAKE) $(MFLAGS) includes
$(MAKE) $(MFLAGS) depend
$(MAKE) $(MFLAGS)
@echo :
@echo :
@echo Full build of $(RELEASE) on OS/2 complete.
@echo :
# don't allow any default rules in this Makefile
.SUFFIXES:
# quiet "make" programs that display a message if suffix list empty
.SUFFIXES: .Dummy
# a copy of every rule that might be invoked at top level
clean:
$(MAKE_CMD) $@
dangerous_strip_clean:
$(MAKE_CMD) $@
distclean:
$(MAKE_CMD) $@
$(RM) xmakefile $(IRULESRC)/version.def $(IRULESRC)/date.def
depend:
$(MAKE_CMD) $@
Everything:
$(MAKE_CMD) $@
external.ln:
$(MAKE_CMD) $@
includes:
$(MAKE_CMD) $@
install.sdk:
$(MAKE_CMD) $@
install.ln:
$(MAKE_CMD) $@
install.man:
$(MAKE_CMD) $@
install:
$(MAKE_CMD) $@
Makefiles:
$(MAKE_CMD) $@
man_keywords:
$(MAKE_CMD) $@
tags:
$(MAKE_CMD) $@
VerifyOS:
$(MAKE_CMD) $@
README for X11R6.9 and X11R7.0
The X.Org Foundation
21 December 2005
Abstract
X11R6.9 and X11R7.0 are Open Source versions of the X Window System
that supports many UNIX(R) and UNIX-like operating systems (such as
Linux, FreeBSD, NetBSD, OpenBSD and Solaris x86) on Intel and other
platforms. This version is compatible with X11R6.8 and other X
window system implementations which support the X11R6 standard.
1. What are X11R6.9 and X11R7.0?
X11R6.9 is the ninth and final full release in the X11R6 series, and X11R7.0
is the first release in the new X11R7 series.
The 6.9 version is a new release that includes additional hardware support,
functional enhancements and bug fixes. The 7.0 version is built from the
same source code as the 6.9 so it contains the same additional hardware sup-
port, functional enhancements and bug fixes; however, it has been split into
logical modules that can be developed, built and maintained separately, but
still fit together coherently into the larger source code base as they have
in the 6.9 tree. Specific release enhancements can be viewed in the Release
Notes.
X11R6.9 and X11R7.0 are being released at the same time to assist in the
transition from the older monolithic source tree to the new modular source
tree. It will take time for everyone to make this transition, so we will
maintain the older X11R6 series through update releases to both X11R6.9 and
X11R6.8.
Most modern PC video hardware is supported in both releases, and most PC
video hardware that isn't supported explicitly can be used with the "vesa"
driver. The Release Notes has a table showing the drivers provided with
X11R6.9 and X11R7.0, and links to related documentation.
The X.Org Foundation X releases are produced by the X.Org Foundation. The
X.Org Foundation has been formed as a Delaware corporation organized to oper-
ate as a scientific charity under IRS code 501(c)(3) chartered to develop and
execute effective strategies which provide world-wide stewardship of the X
Window System technology and standards. Membership in the X.Org Foundation is
free to all participants. Applications for Membership are now being accepted,
and active participants in the further development of the X Window Technology
are invited to complete a membership application
<URL:http://www.x.org/XOrg_Foundation_Membership.html>. The X11R6.9 and
X11R7.0 codebase forms the fourth X Window System release since the formation
of the X.Org Foundation and includes code from the X Consortium, the Open
Group and the XFree86[tm] project. This release is dedicated to the greater
X community, developers and users alike.
2. Licensing
X Window System source code is covered by many licenses. All of these
licenses have in common the fact that they do not impose significant condi-
tions on the modification or redistribution or either source code or binaries
beyond requiring one or more of the following:
1. Copyright and/or license notices are left intact.
2. Copyright and/or license notices are reproduced verbatim in documenta-
tion accompanying binary distributions.
3. Attributions are included with documentation accompanying binaries.
Most of these licenses are based on the MIT, X Consortium, or BSD (original
and revised) licenses. All of them are consistent with the Open Source Defi-
nition, and most are consistent with the Free Software Foundation's Free
Software Definition.
Copyright and Licensing information for X, including the reproduction of
copyright and/or license notices and attributions required by some of the
licenses for binary distributions, can be found in the License Document. If
you find any omissions in that document, please contact us with details at
<xf_board@x.org>. While the current licenses are all open source licenses,
the X.Org Foundation is attempting, with time, to bring as much as possible
of the code's licenses in the distribution into compliance with the Debian
Free Software Guidelines.
3. Pointers to additional information
The documentation for this release can be found online at the X.Org web site
<URL:http://wiki.x.org/>. Information about binary distributions and the
attendant installation instructions can be found in the Installation Docu-
ment.
The X11 version numbering system (including historical information) can be
found in the Versions Document.
Additional information may be available at the X.Org Foundation Wiki
<URL:http://wiki.x.org/>.
4. The Public Mailing Lists
Current information about the X.Org Foundation public mailing lists is avail-
able on the X.Org mailing list page <URL:http://lists.x.org/mail-
man/listinfo/> and related desktop technology mailing lists can be found on
Freedesktop.org's mailing list page <URL:http://freedesktop.org/mail-
man/listinfo>.
5. Contributing to the X.Org Foundation's X efforts.
If you have any new work or enhancements/bug fixes for existing work, please
send them to <xorg@freedesktop.org> or to our bug tracking system
<URL:https://bugs.freedesktop.org/> using the xorg component. This will help
ensure that they are included in future releases.
6. How to get the release
Information about X11R6.9 and X11R7.0 can be found from the X.Org Foundation
wiki at <URL:http://wiki.x.org>, and at mirrors of this server. Information
about obtaining and installing binary distributions of this release can be
found in the Installation Document.
Note that both X11R6.9 and X11R7.0 are being released simultaneously but only
one source tree is required to build the release. Information about obtain-
ing the release in source form is given below.
6.1 X11R6.9
The source for version 6.9.0 is available as a single tarball:
X11R6.9.0-src.tar.gz
and also is available split into seven separate tarballs:
X11R6.9.0-src1.tar.gz
X11R6.9.0-src2.tar.gz
X11R6.9.0-src3.tar.gz
X11R6.9.0-src4.tar.gz
X11R6.9.0-src5.tar.gz
X11R6.9.0-src6.tar.gz
X11R6.9.0-src7.tar.gz
The first three of the separate tarballs contain everything except the fonts
and general X11 documentation. Those three are sufficient for building
X11R6.9 if you already have a set of fonts. The fourth and fifth contain the
fonts. The sixth contains the source for the general X11 documentation. The
seventh contains the general X11 documentation in hardcopy format.
6.2 X11R7.0
This is the first release of the new modular source code tree. The souce
code has been split into nine logical modules: app, data, doc, driver, font,
lib. proto, util and xserver. Each of these modules contain one or more
packages that can be configured, built and installed separately. Please see
an X11R7.0 release site for a complete list of the tarballs.
For information on how to build the modular tree packages see the Modular
Developer's Guide <URL:http://wiki.x.org/wiki/ModularDevelopersGuide>. This
guide also contains information for developers who want to help improve the
modular build system and modular code base.
6.3 The current development tree
The X source code for this and all releases/snapshots as well as development
versions can also be accessed via the Freedesktop.org CVS repository. It's
also possible to browse the freedesktop CVS repository
<URL:http://cvs.freedesktop.org/xorg/>. The CVS tag for the 6.9 version is
"XORG-6_9_0" and the CVS tag for the 7.0 version is "XORG-7_0_0". The CVS
tag for the stable branch for the %relvers; release is "XORG-6_9-branch".
To check out the latest development version, don't specify any tag.
7. Reporting Bugs
Bugs should be reported to bug tracking system <URL:https://bugs.freedesk-
top.org/> using the xorg component. Before reporting bugs, please check the
server log file, which can be found at /var/log/Xorg.0.log on most platforms.
If you can't resolve the problem yourself, send the entire log file with your
bug report but not the operating system core dump. Do not edit the log file
as our developers use it to reproduce and debug your problem. Please attach
it to your bug report.
Generated from Id: README.sgml,v 1.6 alanc Exp $.
$XdotOrg: xc/README,v 1.4 2005/12/21 05:39:04 kem Exp $
Export Requirements.
You may not export or re-export this software or any copy or
adaptation in violation of any applicable laws or regulations.
Without limiting the generality of the foregoing, hardware, software,
technology or services provided under this license agreement may not
be exported, reexported, transferred or downloaded to or within (or to
a national resident of) countries under U.S. economic embargo
including the following countries:
Cuba, Iran, Libya, North Korea, Sudan and Syria. This list is subject
to change.
Hardware, software, technology or services may not be exported,
reexported, transferred or downloaded to persons or entities listed on
the U.S. Department of Commerce Denied Persons List, Entity List of
proliferation concern or on any U.S. Treasury Department Designated
Nationals exclusion list, or to parties directly or indirectly
involved in the development or production of nuclear, chemical,
biological weapons or in missile technology programs as specified in
the U.S. Export Administration Regulations (15 CFR 744).
By accepting this license agreement you confirm that you are not
located in (or a national resident of) any country under U.S. economic
embargo, not identified on any U.S. Department of Commerce Denied
Persons List, Entity List or Treasury Department Designated Nationals
exclusion list, and not directly or indirectly involved in the
development or production of nuclear, chemical, biological weapons or
in missile technology programs as specified in the U.S. Export
Administration Regulations.
The X distribution contains cryptography and is
therefore subject to US government export control under the
U.S. Export Administration Regulations ("EAR"). EAR Part 740.13(e)
allows the export and reexport of publicly available encryption source
code that is not subject to payment of license fee or royalty
payment. Object code resulting from the compiling of such source code
may also be exported and reexported under this provision if publicly
available and not subject to a fee or payment other than reasonable
and customary fees for reproduction and distribution. This kind of
encryption source code and the corresponding object code may be
exported or reexported without prior U.S. government export license
authorization provided that the U.S. government is notified about the
Internet location of the software.
The open source software available distributed by X.org is publicly
available without license fee or royalty payment, and all binary
software is compiled from the source code. The U.S. government has
been notified about the location site for the source
code. Therefore, the source code and compiled object code may be
downloaded and exported under U.S. export license exception (without a
U.S. export license) in accordance with the further restrictions
outlined above regarding embargoed countries, restricted persons and
restricted end uses.
Local Country Import Requirements. The software you are about to
download contains cryptography technology. Some countries regulate the
import, use and/or export of certain products with cryptography. The
X.org Foundation makes no claims as to the applicability of local
country import, use and/or export regulations in relation to the
download of this product. If you are located outside the U.S. and
Canada you are advised to consult your local country regulations to
insure compliance.
This diff is collapsed. Click to expand it.
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:41:45 cpqbld Exp $
XCOMM $XFree86: xc/config/Imakefile,v 1.3 2001/01/17 16:22:29 dawes Exp $
#define IHaveSubdirs
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)"
#undef BootstrapCleanSubdirs
#define BootstrapCleanSubdirs BOOTSTRAPSUBDIRS="$(BOOTSTRAPSUBDIRS)"
BOOTSTRAPSUBDIRS = imake makedepend
#if BuildDPSLibrary
PSWRAPDIR = pswrap
#endif
SUBDIRS = cf $(BOOTSTRAPSUBDIRS) util $(PSWRAPDIR)
#if (defined(XFree86VersionString) || defined(XorgVersionString)) \
&& defined(ProjectRoot) && \
defined(BuildBindist)
all:: version
version: cf/version.def
RemoveFile(version)
#if defined (XFree86VersionString)
echo XFree86VersionString > version
#elif defined (XorgVersionString)
echo XorgVersionString > version
#endif
InstallNamedNonExec(version,.$(VENDORNAMESHORT)_Version,ProjectRoot)
clean::
RemoveFile(version)
#endif
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
XCOMM platform: $XFree86: xc/config/cf/DGUX.cf,v 1.5 2000/07/07 20:06:56 tsi Exp $
/* Copyright Takis Psarogiannakopoulos <takis@pmms.cam.ac.uk>
* This is the DG/ux configuration file of X11R6.3
*/
#define OSName DG/ux R4.20MU03
#define i386Architecture
#ifndef OSVendor
#define OSVendor Data General Corporation
#endif
#define OSMajorVersion 4
#define OSMinorVersion 20
#define OSTeenyVersion 3
#define BootstrapCFlags -DDGUX
/* Some stuff that all SVR4s ,so and DG/ux, should have */
#define SystemV4 YES
#ifndef HasLdRunPath
#define HasLdRunPath YES
#endif
#define HasPoll YES
#ifndef SVR4Architecture
#define SVR4Architecture
#endif
#ifndef PatheticCpp
#define PatheticCpp YES
#endif
#define Malloc0ReturnsNull YES /* in case -lmalloc used */
/*
* Here are the default paths to use tools for building.
*/
#define ArCmdBase /usr/bin/ar
#define AsCmd /usr/bin/as
#define CppCmd /usr/lib/cpp
#define LdCmd /usr/bin/ld
#define LexCmd /usr/bin/lex
#define CcCmd /usr/local/bin/gcc /* ? -fpcc-struct-return */
#define UNCOMPRESSPATH /usr/bin/uncompress
#define MakeCmd /usr/local/bin/make
#define YaccCmd /usr/bin/yacc
#define InstallCmd /usr/bin/install /* I use gnu install-sh */
#define LnCmd ln -s
#define RanlibCmd true /* Or make a link ranlib->true */
#define CplusplusCmd /usr/local/bin/g++
#ifndef MkdirHierCmd
#define MkdirHierCmd mkdir -p
#endif
/* Stuff for SVR4 4.0 */
#ifndef XawI18nDefines
#define XawI18nDefines -DUSE_XWCHAR_STRING
#endif
#define HasPutenv YES
#define HasVFork YES
#define HasVoidSignalReturn YES
#define HasBsearch YES
#define HasSockets YES
#define BuildServer YES
#define HasSharedLibraries YES /* to build shared libs */
#define HasCplusplus YES
#define HasGnuMake YES /* Added for 3.2Xc */
#define UseGnuMalloc YES
#define GnuMallocLibrary -L/usr/local/lib -lmalloc
#define Malloc0ReturnsNull YES /* Added for 3.2Xh,i... GNU does return 0 */
#define Malloc0ReturnsNullDefines -DMALLOC_0_RETURNS_NULL /* define for GNU malloc X3.2i */
/*******TCL TK DEFINITIONS ***********/
#define HasTk YES /* Comment out if you dont have this */
#define TkLibDir /usr/X11R6.3/lib
#define TkIncDir /usr/X11R6.3/include
#define TkLibName tk8.0
#define HasTcl YES
#define TclLibName tcl8.0
#define TclLibDir /usr/X11R6.3/lib
#define TclIncDir /usr/X11R6.3/include
#define SystemManDirectory /usr/local/man/X
#define ExtraLibraries -lelf -lgen -lresolv -lsocket -lnsl -lw
#define StandardDefines -DDGUX -DSVR4 -Di386 -D__ix86 -D_DGUX_SOURCE -D_LITTLE_ENDIAN -D_PENTIUM_CHANGE
#define PositionIndependentCFlags -fpic
#define PositionIndependentCplusplusFlags -fpic
/*
* To forceably build static libraries in addition to shared libraries,
* we put this.
*/
#define ForceNormalLib YES
#ifndef ToolkitStringsABIOptions
#define ToolkitStringsABIOptions -intelabi -earlyR6bc
#endif
#ifndef DefaultCCOptions
#define DefaultCCOptions /* -ansi -pedantic */
#endif
#define OptimizedCDebugFlags -O2 /* Add -g -mstandard for full debuging info */
#define OptimizedCplusplusDebugFlags
#define DebuggableCDebugFlags -g -mstandard
#define DebuggableCplusplusDebugFlags
#define SharedLibraryLoadFlags -G -z text
#define PositionIndependentCFlags -fpic
#define PositionIndependentCplusplusFlags -fpic
/*
* The default optimisation flags for GCC 2.x. -fno-strength-reduce is
* here to work around a bug in -O2 for GCC 2.x on i386 platforms.
* If you are using a version that doesn't have this bug, you can
* uncomment the following line, and remove '-fno-strength-reduce'
*
#define DefaultGcc2i386Opt -O2 -fno-strength-reduce
*/
/* Compress all the Fonts */
#define CompressAllFonts YES
/* Manual pages installed under their full names */
#define ExpandManNames YES
#define CompressManPages YES
/* Install with stripping before ? */
#define StripInstalledPrograms YES
/* Server to Install */
#define XserverNeedsSetUID YES
#define InstallXserverSetUID YES
#ifndef ServerOSDefines
#define ServerOSDefines -DDDXTIME XFree86ServerOSDefines
#endif
#ifndef BuildDynamicLoading
#define BuildDynamicLoading NO
#endif
#if BuildDynamicLoading
#define ServerExtraSysLibs -ldl
#endif
/*
* The TLI interface is more robust on most SVR4s, so it will be the default.
*/
#ifndef ConnectionFlags
#define ConnectionFlags -DSTREAMSCONN -DUNIXCONN -DLOCALCONN
#endif
#ifndef ManSuffix
#define ManSuffix 1x
#define ManDir $(MANSOURCEPATH)1
#endif
#ifndef LibManSuffix
#define LibManSuffix 3x
#define LibmanDir $(MANSOURCEPATH)3
#endif
#ifndef FileManSuffix
#define FileManSuffix 4
#endif
#ifndef StaticLibrary
#ifndef HasGcc
#define StaticLibrary(libpath,libname) -B static Concat(-L,libpath) Concat(-l,libname) -B dynamic
#endif
#endif
#ifndef UseDeprecatedKeyboardDriver
#define UseDeprecatedKeyboardDriver YES
#endif
#ifdef i386Architecture
#include <xorg.cf>
#endif
#include <sv4Lib.rules>
XCOMM $XdotOrg: xc/config/cf/DragonFly.cf,v 1.1 2005/03/02 11:20:29 gisburn Exp $
#define UseElfFormat YES
#define OSBinaryFormat [ELF]
#ifndef OSName
#define OSName DefaultOSName OSBinaryFormat
#endif
#ifndef OSVendor
#define OSVendor /**/
#endif
#ifndef OSMajorVersion
#define OSMajorVersion DefaultOSMajorVersion
#endif
#ifndef OSMinorVersion
#define OSMinorVersion DefaultOSMinorVersion
#endif
#ifndef OSRelVersion
/* Include this to get finer-grained information about the OS version */
#include "/usr/include/osreldate.h"
#define OSRelVersion __DragonFly_version
#endif
XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion) (OSRelVersion)
/*
* Base OS setup
*/
#define HasCplusplus YES
#define GccUsesGas YES
#define UseGas YES
#define GnuCpp YES
#define HasBasename YES
#define HasBSD44Sockets YES
#define HasDlopen YES
#define HasGetIfAddrs YES
#define HasIssetugid YES
#define HasLibCrypt YES
#define HasMktemp YES
#define HasNCurses YES
#define HasNdbm YES
#define HasPlugin YES
#define HasPoll YES
#define HasPutenv YES
#define HasUsableFileMmap YES
#define HasSetProcTitle YES
#define HasShm YES
#define HasSnprintf YES
#define HasStrlcat YES
#define HasVarDb YES
#define HasVarRun YES
#define HasWChar32 YES
#define HasWeakSymbols UseElfFormat
#define BuildXaw6 NO /*depreciated*/
#define BuildXaw7 NO /*depreciated*/
#define BuildXaw YES /*needed*/
#ifndef BuildPDFdocs
#define BuildPDFdocs NO
#endif
#define IPv6SocketsAlsoIPv4 NO
#define InstallXloadSetGID NO
/*
* Multi-thread safe libs
*/
#ifndef HasLibPthread
# define HasLibPthread NO
#endif
#define HasPosixThreads YES
#define ThreadedX YES
#define SystemMTDefines -D_REENTRANT -D_THREAD_SAFE
#define HasThreadSafeAPI YES
#define MTSafeAPIDefines -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI
#if HasLibPthread
# define ThreadsLibraries -lpthread
#else
# define ThreadsLibraries -pthread
#endif
#define AvoidNullMakeCommand YES
#define StripInstalledPrograms YES
#define CompressAllFonts YES
#define Malloc0ReturnsNull YES
#define NeedConstPrototypes YES
#define NeedFunctionPrototypes YES
#define NeedNestedPrototypes YES
#define NeedVarargsPrototypes YES
#define NeedWidePrototypes NO
#define MkdirHierCmd mkdir -p
#define LexCmd flex -l
#define HasFlex YES
#ifndef CcCmd
# define CcCmd cc
#endif
#ifndef CplusplusCmd
# define CplusplusCmd c++
#endif
#define CppCmd /usr/bin/cpp
#define PreProcessCmd CppCmd
#define StandardCppOptions -traditional
#define StandardCppDefines /**/
#ifndef DefaultCCOptions
# if defined(UseInstalled)
# define DefaultCCOptions /**/
# else
# if defined(HasGcc3) && HasGcc3
# define NoSystemWarn -Wno-system-headers
# else
# define NoSystemWarn
# endif
# define DefaultCCOptions -ansi NoSystemWarn -Dasm=__asm GccWarningOptions
#endif
#ifndef ExtraLibraries
/* support for multi-byte locales is in libxpg4 rather than libc */
#define ExtraLibraries -lxpg4
#endif
#define HasSetUserContext YES
#define HasGetpeereid YES
#define HasMTRRSupport YES
#ifndef BuildXF86DRI
# define BuildXF86DRI YES
#endif
#if defined(i386Architecture)
#define HasAgpGart YES
#endif
/*
* SSE and 3DNow will be autodetected, so binutils is the only
* requirement for enabling this.
*/
#if defined(i386Architecture)
# define HasX86Support YES
# define HasMMXSupport YES
# define Has3DNowSupport YES
# define HasSSESupport YES
#else
# define HasX86Support NO
# define HasMMXSupport NO
# define Has3DNowSupport NO
# define HasSSESupport NO
#endif
#ifndef UseRpath
# define UseRpath YES
#endif
#ifndef RpathLoadFlags
# if UseRpath
# define RpathLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
# else
# define RpathLoadFlags /**/
# endif
#endif
#ifndef ExtraLoadFlags
# if !defined(UseInstalled)
# define ExtraLoadFlags RpathLoadFlags -Wl,-rpath-link,$(BUILDLIBDIR)
# else
# define ExtraLoadFlags RpathLoadFlags
# endif
#endif
#endif
#ifndef LibraryRpathLoadFlags
# if UseRpath
# define LibraryRpathLoadFlags -rpath $(USRLIBDIRPATH)
# else
# define LibraryRpathLoadFlags /**/
# endif
#endif
#ifndef SharedLibraryLoadFlags
# define SharedLibraryLoadFlags -shared LibraryRpathLoadFlags
#endif
#ifndef HasZlib
# define HasZlib YES
#endif
#ifndef HasPam
# define HasPam YES
#endif
/* Take from FreeBSD */
/* There are two options for building. One is to assume that the system has
* many of the dependencies provided by the ports tree. The other is to just
* build everything from this tree.
*/
#ifndef HasStandardPorts
# define HasStandardPorts YES
#endif
#ifndef LocalBase
# define LocalBase /usr/local
#endif
#ifndef X11Base
# define X11Base /usr/X11R6
#endif
#if HasStandardPorts
#ifndef HasExpat
# define HasExpat YES
# define ExpatDir LocalBase
#endif
#ifndef HasFreetype2
# define HasFreetype2 NO /* set this to YES once DragonFly ships FT218 */
# define Freetype2Dir LocalBase
#endif
#ifndef HasFontconfig
# define HasFontconfig YES
# define FontconfigDir X11Base
#endif
#ifndef HasLibpng
# define HasLibpng YES
# define LibpngDir LocalBase
#endif
#endif /* HasStandardPorts */
#undef InstallCmd
#define InstallCmd /usr/bin/install
#define AsmElfDefines -D__ELF__
#if GccUsesGas
# define GccGasOption -DGCCUSESGAS
# define AsmDefines -DUSE_GAS AsmElfDefines
#else
# define GccGasOption /**/
# define AsmDefines AsmElfDefines
#endif
#ifdef i386Architecture
#define ServerExtraDefines GccGasOption XFree86ServerDefines
#endif
#if defined(Sparc64Architecture) || defined(ia64Architecture) || \
defined(AMD64Architecture)
#define ServerExtraDefines GccGasOption XFree86ServerDefines -D_XSERVER64
#endif
#define StandardDefines -DCSRG_BASED
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
#define XawI18nDefines -DUSE_XWCHAR_STRING
#define HasMakefileSafeInclude YES
#define IncludeMakefile(file) @@# dependencies are in .depend
#define DependFileName .depend
#ifndef DoLoadableServer
# define DoLoadableServer YES
#endif
#ifndef ForceNormalLib
# define ForceNormalLib YES
#endif
#define HasMkstemp YES
#define OptimizedCDebugFlags -O
#ifndef PreIncDir
# define PreIncDir /usr/include
#endif
#define HasGroff YES
#define NroffCmd env GROFF_NO_SGR=y groff -Tascii
#define SetTtyGroup YES
#ifndef ExtraFilesToClean
# define ExtraFilesToClean *.core
#endif
#define DefaultUserPath /bin:/usr/bin:/sbin:/usr/sbin:$(BINDIR):/usr/local/bin
#define DefaultSystemPath /bin:/usr/bin:/sbin:/usr/sbin:$(BINDIR)
#ifndef SystemManDirectory
# define SystemManDirectory /usr/share/man
#endif
#define InstKmemFlags -g kmem -m 2755
/*
* Compress manual pages
*/
#ifndef CompressManPages
# define CompressManPages YES
#endif
#define HasBsdMake YES
#ifndef StaticLibrary
# define StaticLibrary(libpath,libname) -Wl,-Bstatic Concat(-L,libpath) Concat(-l,libname) -Wl,-Bdynamic
#endif
#define DlLibrary -Wl,--export-dynamic
#ifndef PamLibraries
# define PamLibraries -lpam DlLibrary
#endif
#ifndef SharedLibXdmGreet
# define SharedLibXdmGreet NO
#endif
/*
* On FreeBSD, the run-time loader will use the built-in "rpath" before
* LD_LIBRARY_PATH. This means that utilities like mkfontdir will load
* installed libraries (if they exist) in preference to the ones in the
* build tree, even though LD_LIBRARY_PATH points to the build tree.
* This can result in the build failing. One way to avoid this is to
* pre-load the libraries from the build tree.
*
* There should be a better way than this hack...
*/
#if UseElfFormat
#ifndef PreloadFontSetup
#define PreloadFontSetup LD_PRELOAD="`(cd $(XENVLIBDIR); echo $(XFONTPRELOADPATTERN))`"
#endif
#ifndef PreloadFreetypeSetup
#define PreloadFreetypeSetup LD_PRELOAD="`(cd $(XENVLIBDIR); echo $(FT2PRELOADPATTERN))`"
#endif
#ifndef PreloadXFTSetup
#define PreloadXFTSetup LD_PRELOAD="`(cd $(XENVLIBDIR); echo $(FT2PRELOADPATTERN) $(XFTPRELOADPATTERN) $(XRENDERPRELOADPATTERN) $(FCPRELOADPATTERN))`"
#endif
#endif
#ifndef HasCookieMaker
# define HasCookieMaker YES
# define MkCookieCmd \
'dd if=/dev/urandom bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"'
#endif
/*
* A hack to work around an optimization problem with gcc 2.95.2 - 2.95.4
*/
#if (GccMajorVersion == 2 && GccMinorVersion == 95)
# define GccOptBug295
#endif
#include <bsdLib.rules>
#include <xorg.cf>
This source diff could not be displayed because it is too large. You can view the blob instead.
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
XCOMM $XFree86: xc/config/cf/Imakefile,v 3.29 2002/10/16 14:07:49 tsi Exp $
XCOMM Some compilers generate fatal errors if an -L directory does
XCOMM not exist. Since BUILDLIBDIR may not exist yet suppress its use.
LDPRELIB =
LDPRELIBS =
#ifdef LocalConfigFiles
LOCALFILES = LocalConfigFiles
#endif
#ifndef InstallEmptyHostDef
HOSTDEFFILES = \
host.def
#endif
#if defined(XFree86Version) || defined(XorgVersion)
VERSIONDEFFILES = \
date.def \
version.def
#endif
DEFFILES = \
xf86site.def \
xorgsite.def \
$(VERSIONDEFFILES) \
$(HOSTDEFFILES) \
site.def \
xorgversion.def
RULEFILES = \
Imake.rules \
Motif.rules \
Win32.rules \
X11.rules \
bsdLib.rules \
cde.rules \
cygwin.rules \
mingw.rules \
darwinLib.rules \
gnuLib.rules \
hpLib.rules \
ibmLib.rules \
lnxLib.rules \
lnxdoc.rules \
necLib.rules \
noop.rules \
nto.rules \
oldlib.rules \
os2.rules \
os2Lib.rules \
os2Lib.rules \
osfLib.rules \
scoLib.rules \
sgiLib.rules \
sunLib.rules \
sv3Lib.rules \
sv4Lib.rules \
QNX4.rules \
xf86.rules
TMPLFILES = \
Imake.tmpl \
Library.tmpl \
Motif.tmpl \
Server.tmpl \
ServerLib.tmpl \
Threads.tmpl \
WinLib.tmpl \
X11.tmpl \
bsdLib.tmpl \
cde.tmpl \
cygwin.tmpl \
mingw.tmpl \
darwinLib.tmpl \
hpLib.tmpl \
gnuLib.tmpl \
ibmLib.tmpl \
lnxLib.tmpl \
lnxdoc.tmpl \
necLib.tmpl \
os2Lib.tmpl \
osfLib.tmpl \
sgiLib.tmpl \
sunLib.tmpl \
sv3Lib.tmpl \
sv4Lib.tmpl \
xf86.tmpl \
xorg.tmpl
CFFILES = \
Imake.cf \
Amoeba.cf \
DGUX.cf \
DragonFly.cf \
FreeBSD.cf \
Mips.cf \
NetBSD.cf \
OpenBSD.cf \
Oki.cf \
cygwin.cf \
mingw.cf \
Win32.cf \
apollo.cf \
bsd.cf \
bsdi.cf \
convex.cf \
cray.cf \
fujitsu.cf \
generic.cf \
gnu.cf \
hp.cf \
ibm.cf \
isc.cf \
linux.cf \
luna.cf \
macII.cf \
mach.cf \
minix.cf \
moto.cf \
ncr.cf \
nec.cf \
nto.cf \
os2.cf \
osf1.cf \
pegasus.cf \
sco.cf \
sco5.cf \
sequent.cf \
sgi.cf \
sony.cf \
sun.cf \
svr3.cf \
svr4.cf \
ultrix.cf \
usl.cf \
lynx.cf \
x386.cf \
QNX4.cf \
darwin.cf \
xfree86.cf \
xorg.cf
INSTFILES = $(RULEFILES) $(TMPLFILES) $(DEFFILES) $(CFFILES) $(LOCALFILES)
all::
#if BuildLibraries
InstallMultipleDestFlags(install,$(INSTFILES),$(CONFIGDIR),$(INSTDATFLAGS))
#endif
InstallDriverSDKMultipleDestFlags($(INSTFILES),$(DRIVERSDKDIR)/config/cf,$(INSTDATFLAGS))
#ifdef InstallEmptyHostDef
install::
@(TMP=/tmp/tmp.$$$$; \
RemoveFile($${TMP}); \
echo "" > $${TMP}; \
$(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $${TMP} \
$(DESTDIR)$(CONFIGDIR)/host.def; \
RemoveFile($${TMP}))
#if defined(XFree86Version) || defined(XorgVersion)
install.sdk::
@(TMP=/tmp/tmp.$$$$; \
RemoveFile($${TMP}); \
echo "" > $${TMP}; \
$(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $${TMP} \
$(DESTDIR)$(DRIVERSDKDIR)/config/cf/host.def; \
RemoveFile($${TMP}))
#endif
#endif
/*
* Set version numbers before making makefiles.
*
* X11r5 only builds using the berkeley libraries and compiler. Make
* sure your path includes /bsd43/bin before /bin/ or /usr/bin.
*/
#ifndef OSName
#define OSName RISCOS
#endif
#ifndef OSMajorVersion
#define OSMajorVersion 4
#endif
#ifndef OSMinorVersion
#define OSMinorVersion 50
#endif
XCOMM platform: $Xorg: Mips.cf,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
XCOMM operating system: OSName
/***************************************************************************
* Platform-specific parameters *
***************************************************************************/
#define HasVoidSignalReturn NO
#define SetTtyGroup YES
#define UnalignedReferencesAllowed NO /* if arbitrary deref okay */
#define HasBsearch NO
#define MipsArchitecture
#define MakeEnv -e
#define DefaultCCOptions -signed -systype bsd43 -Olimit 2000 -Wf,-XNd8400,-XNp12000
#define StandardDefines -DMips -DBSD43
#define PostIncDir /usr/include/bsd43
#define ExtraLibraries -lmld
#define ArCmd ar clr
#define BootstrapCFlags -DMips
#define InstallCmd /etc/mipsinstall -f
#define MakeCmd make MakeEnv
#define DoRanlibCmd NO
#define AllocateLocalDefines -DINCLUDE_ALLOCA_H
/***************************************************************************
* *
* DEFINE PARAMETERS FOR BUILDING *
* *
***************************************************************************/
#define XmipsServer YES
/***************************************************************************
* *
* OVERRIDE ANY CONFIGURATION PARAMETERS FROM Imake.tmpl *
* *
***************************************************************************/
#define SpecialMalloc NO
#define PrimaryScreenResolution 110
#define ConstructMFLAGS NO /* build MFLAGS from MAKEFLAGS */
#define DefaultUserPath /usr/net:/bin:/usr/bin:$(BINDIR):/usr/ucb
#define DefaultSystemPath /usr/net:/bin:/usr/bin:/etc:$(BINDIR):/usr/ucb
/* mips manuals are really complicated. This certainly won't work. */
#define ManDirectoryRoot /man/cat
#define ManSourcePath $(MANPATH)/man
#define InstKmemFlags -g sys -m 2711
XCOMM platform: $Xorg: Oki.cf,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
#ifndef OSName
#define OSName Unix System V/860 Release 4.0 Version 3
#endif
XCOMM operating system: OSName
#ifndef OSMajorVersion
#define OSMajorVersion 4
#endif
#ifndef OSMinorVersion
#define OSMinorVersion 0
#endif
#ifndef OSTeenyVersion
#define OSTeenyVersion 3
#endif
#define BootstrapCFlags -DOki
#define SystemV4 YES
#define HasLdRunPath YES
#define ConnectionFlags -DTCPCONN -DUNIXCONN -DLOCALCONN
#define SetTtyGroup YES
#define HasPutenv YES
#define HasPoll YES
#define PatheticCpp YES
#define CcCmd /usr/bin/cc
#define StandardDefines -DSVR4 -Di860
#define DefaultCCOptions -Xa
#define BuildServer NO
#define ToolkitStringsABIOptions -intelabi
#include <sv4Lib.rules>
XCOMM $OpenBSD: OpenBSDLib.rules,v 1.1 2000/10/09 20:43:58 matthieu Exp $
/*
* OpenBSD shared library rules
*/
XCOMM $XFree86: xc/config/cf/OpenBSDLib.rules,v 1.10 2003/10/31 20:49:03 herrb Exp $
#ifndef UseElfFormat
#define UseElfFormat NO
#endif
#ifndef HasSharedLibraries
#define HasSharedLibraries YES
#endif
#ifndef ForceNormalLib
#define ForceNormalLib YES
#endif
#ifndef UseRpath
#define UseRpath YES
#endif
#ifndef BaseShLibReqs
#define BaseShLibReqs /* -lc implied by $(CC) */
#endif
#ifndef SharedDataSeparation
#define SharedDataSeparation NO
#endif
#ifndef SharedCodeDef
#define SharedCodeDef /**/
#endif
#ifndef SharedLibraryDef
#define SharedLibraryDef /**/
#endif
#ifndef ShLibIncludeFile
#define ShLibIncludeFile <OpenBSDLib.tmpl>
#endif
#ifndef RpathLoadFlags
#if UseRpath
#define RpathLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
#else
#define RpathLoadFlags /**/
#endif
#endif
#ifndef LibraryRpathLoadFlags
#define LibraryRpathLoadFlags RpathLoadFlags
#endif
#ifndef SharedLibraryLoadFlags
#define SharedLibraryLoadFlags -shared PositionIndependentCFlags LibraryRpathLoadFlags
#endif
#ifndef PositionIndependentCFlags
#define PositionIndependentCFlags -fPIC
#endif
#ifndef PositionIndependentCplusplusFlags
#define PositionIndependentCplusplusFlags -fPIC
#endif
#if UseElfFormat
#ifndef ExtraLoadFlags
#ifdef UseInstalled
#define ExtraLoadFlags RpathLoadFlags
#else
#define ExtraLoadFlags RpathLoadFlags -Wl,-rpath-link,$(BUILDLIBDIR)
#endif
#endif
#ifndef HardCodeLibdirFlag
#define HardCodeLibdirFlag RpathLoadFlags
#endif
#endif /* UseElfFormat */
/*
* InstallSharedLibrary - generate rules to install the shared library.
* NOTE: file must be executable, hence "INSTBINFLAGS"
*/
#ifndef InstallSharedLibrary
#define InstallSharedLibrary(libname,rev,dest) @@\
install:: Concat(lib,libname.so.rev) @@\
MakeDir($(DESTDIR)dest) @@\
$(INSTALL) $(INSTALLFLAGS) $(INSTBINFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest
#endif /* InstallSharedLibrary */
/*
* InstallSharedLibraryData - generate rules to install the shared library data
*/
#ifndef InstallSharedLibraryData
#define InstallSharedLibraryData(libname,rev,dest)
#endif /* InstallSharedLibraryData */
/*
* SharedLibraryTarget - generate rules to create a shared library;
* build it into a different name so that we do not hose people by having
* the library gone for long periods.
*/
#ifndef SharedLibraryTarget
#define SharedLibraryTarget(libname,rev,solist,down,up) @@\
AllTarget(Concat(lib,libname.so.rev)) @@\
@@\
Concat(lib,libname.so.rev): solist @@\
$(RM) $@~ @@\
set -x; \ @@\
(cd down; $(CC) -o up/$@~ $(SHLIBLDFLAGS) -Wl,-soname,$@\ @@\
solist $(REQUIREDLIBS) BaseShLibReqs); @@\
LinkBuildSonameLibrary($@) @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
@@\
clean:: @@\
$(RM) Concat(lib,libname.so.rev)
#endif /* SharedLibraryTarget */
/*
* SharedDepLibraryTarget - generate rules to create a shared library.
*/
#ifndef SharedDepLibraryTarget
#define SharedDepLibraryTarget(libname,rev,deplist,solist,down,up) @@\
AllTarget(Concat(lib,libname.so.rev)) @@\
@@\
Concat(lib,libname.so.rev): deplist $(EXTRALIBRARYDEPS) @@\
$(RM) $@~ @@\
(cd down; $(CC) -o up/$@~ $(SHLIBLDFLAGS) solist $(REQUIREDLIBS)) @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
LinkBuildLibrary($@) @@\
@@\
clean:: @@\
$(RM) Concat(lib,libname.so.rev)
#endif /* SharedDepLibraryTarget */
#ifndef SharedDepModuleTarget
#define SharedDepModuleTarget(name,deps,solist) @@\
AllTarget(name) @@\
@@\
name: deps @@\
$(RM) $@~ @@\
$(CC) -o $@~ $(SHLIBLDFLAGS) solist $(REQUIREDLIBS) @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
@@\
clean:: @@\
$(RM) name
#endif /* SharedDepModuleTarget */
#ifndef SharedDriModuleTarget
#define SharedDriModuleTarget(name,deps,solist) @@\
AllTarget(name) @@\
@@\
name: deps @@\
$(RM) $@~ $@.map @@\
$(CC) -o $@~ $(SHLIBLDFLAGS) solist $(REQUIREDLIBS) BaseShLibReqs @@\
$(RM) $@ $@.map @@\
$(MV) $@~ $@ @@\
@@\
clean:: @@\
$(RM) name @@\
$(RM) name.map
#endif /* SharedDriModuleTarget */
/*
* SharedLibraryDataTarget - generate rules to create shlib data file;
*/
#ifndef SharedLibraryDataTarget
#define SharedLibraryDataTarget(libname,rev,salist)
#endif /* SharedLibraryTarget */
/*
* DynamicModuleTarget - build a module to be dynamically loaded
*/
#ifdef DynamicModuleTarget
#undef DynamicModuleTarget
#define DynamicModuleTarget(module,modlist) @@\
AllTarget(module) @@\
@@\
module: modlist @@\
RemoveFile($@) @@\
$(CC) -o $@ $(SHLIBLDFLAGS) modlist @@\
@@\
clean:: @@\
RemoveFile(module)
#endif /* DynamicModuleTarget */
XCOMM platform: $XFree86: xc/config/cf/QNX4.cf,v 1.3 2000/07/07 20:06:56 tsi Exp $
#define StripInstalledPrograms NO
#define BuildServer YES
#define DoLoadableServer NO /* sorry, are u listenning QSSL? */
#define BuildLBX YES /* For now */
#define ExpandManNames YES
#define ByteOrder X_LITTLE_ENDIAN
#ifndef OSName
#define OSName QNX4
#endif
#ifndef OSVendor
#define OSVendor QNX Corp.
#endif
#ifndef OSMajorVersion
#define OSMajorVersion 4
#endif
#ifndef OSMinorVersion
#define OSMinorVersion 25
#endif
/* Use a non-broken shell ... */
#define BourneShell /usr/local/bin/pdksh
#define OSDefines -DQNX4 -DQNX -D__QNX__ -DNO_REGEX -DSTRINGS_ALIGNED -D__i386__
#define SourceDefines -D_POSIX_SOURCE
#define DoRanlibCmd NO
#undef ArCmd
#define ArCmd wlib -b -c -p=256
#define MkdirHierCmd mkdir -p
#ifdef UseInstalled
#define InstallCmd install
#else
#define InstallCmd $(SHELL) $(CONFIGSRC)/util/install.sh
#endif
#ifndef UseDeprecatedKeyboardDriver
#define UseDeprecatedKeyboardDriver YES
#endif
#define DefaultCCOptions -5s -Otx -Wc,-r -b -j -Wc,-ei -N128000 -zp4 -mf
#define LibraryCCOptions -5s -Otx -Wc,-r -b -j -Wc,-ei -zp4 -mf
#define ServerCCOptions -5s -Otx -Wc,-r -T1 -M -N4096000 -j -b -mf -Wc,-ei -Wc,-s -zp4 -llibmalloc
#define LocalLibraries
#define ExtraLibraries -lsocket -lunix
#define CLibrary
#define PosixLibraries
#define ConnectionFlags -DUNIXCONN -DTCPCONN
#define CppCmd /usr/X11R6/bin/cpp
#define HasShadowPasswd YES
#define HasLibCrypt YES
#define SharedLibXdmGreet NO
#define HasShm NO /* For now as well */
#define HasSockets YES
#define HasPutenv YES
#define HasCbrt NO
#define HasVarDirectory NO
#define HasSnprintf YES
#define HasBSD44Sockets YES
#define HasPerl NO
#define LogDirectory /usr/adm
#define XLogFile XFree86
#define BuildHtmlManPages NO /* We don't want HTML manpages */
#define BuildRman NO
#define AvoidNullMakeCommand YES
#define CompressAllFonts YES
#define Malloc0ReturnsNull YES
#define UseInternalMalloc NO
#define NeedConstPrototypes YES
#define NeedFunctionPrototypes YES
#define NeedNestedPrototypes YES
#define NeedVarargsPrototypes YES
#ifndef NeedWidePrototypes
#define NeedWidePrototypes NO
#endif
#define LexCmd flex -l
#define LexLib -lfl
#define TermcapLibrary -lncurses
#ifndef UseStaticTermcapLib
#define UseStaticTermcapLib NO
#endif
#define StandardCppDefines -traditional StandardDefines
#define StandardDefines OSDefines SourceDefines
#define ServerOSDefines -DDDXTIME XFree86ServerOSDefines
#define ServerExtraDefines XFree86ServerDefines
#define ExtraFilesToClean *.err *.map
#include <QNX4.rules>
#include <xorg.cf>
XCOMM platform: $XFree86: xc/config/cf/QNX4.rules,v 1.1 1999/12/27 00:45:43 robin Exp $
XCOMM Rules to work around wlib for QNX...
#define LinkFile(tofile, fromfile) @@\
tofile:: fromfile @@\
$(CP) fromfile tofile @@\
@@\
includes:: tofile @@\
@@\
depend:: tofile @@\
@@\
clean:: @@\
RemoveFile(tofile)
#define ObjectFromSpecialSource(dst, src, flags) @@\
NoConfigRec(dst.c) @@\
@@\
dst.c: src.c @@\
RemoveFile($@) @@\
$(CP) $? $@ @@\
@@\
SpecialCObjectRule(dst,NullParameter,flags) @@\
@@\
includes:: dst.c @@\
@@\
depend:: dst.c @@\
@@\
clean:: @@\
RemoveFile(dst.c)
#define ObjectFromSpecialAsmSource(dst, src, flags) @@\
dst.S: src.S @@\
RemoveFile($@) @@\
$(CP) $? $@ @@\
@@\
dst.o: dst.S @@\
AssembleObject(dst,flags) @@\
@@\
dst.i: dst.S @@\
CPPOnlyAsm(dst,flags) @@\
@@\
depend:: dst.S @@\
@@\
clean:: @@\
RemoveFile(dst.S)
/* This is the rule to make reloc. OMF objects. We use a little
* trick which works only for OMF....
* "catomf" can be downloaded from
* http://prdownloads.sourceforge.net/openqnx/catomf.tar.gz
* or contact Rick Lake <rick@anp.nl>
*/
#define NormalRelocatableTarget(objname,objlist) @@\
AllTarget(objname.Osuf) @@\
@@\
objname.Osuf: objlist $(EXTRALIBRARYDEPS) @@\
RemoveFile($@) @@\
/usr/local/bin/catomf -O $@ objlist
XCOMM $XFree86: xc/config/cf/Server.tmpl,v 3.20 2002/11/20 04:32:55 dawes Exp $
/*
* Server imakefile info - this contains any special redefinitions, etc.
* that Imakefiles in the server subtree will need.
*/
XCOMM $Xorg: Server.tmpl,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" LDSTRIPFLAGS="$(LDSTRIPFLAGS)"
#ifndef ServerCcCmd
#define ServerCcCmd CcCmd
#endif
#ifndef ServerCCOptions
#define ServerCCOptions DefaultCCOptions
#endif
#ifndef ServerDefines
#define ServerDefines StandardDefines
#endif
/* Note: Changing ServerCDebugFlags has no effect because CDEBUGFLAGS is over-
ridden by PassCDebugFlags in the parent Makefile or toplevel xmakefile. */
#ifndef ServerCDebugFlags
#define ServerCDebugFlags DefaultCDebugFlags
#endif
#ifndef DoThreadedServer
#define DoThreadedServer NO
#endif
#ifndef InstallServerSetUID
#define InstallServerSetUID NO
#endif
#ifdef CrossCompileDir
# ifndef StripPath
# define StripPath(x) `echo x|sed "s%.*/%%"`
# endif
# ifndef CrossServerCcCmd
# define CrossServerCcCmd Concat3(CrossCompileDir,/,StripPath(ServerCcCmd))
# endif
#endif
/*
* SetUIDServerTarget - compile, link, and relink a setuid server
*/
#ifndef SetUIDServerTarget
#if InstallServerSetUID
#define SetUIDServerTarget(server,subdirs,objects,libs,syslibs) @@\
ServerTargetWithFlags(server,subdirs,objects,libs,syslibs,$(INSTUIDFLAGS))
#else
#define SetUIDServerTarget ServerTarget
#endif
#endif /* SetUIDServerTarget */
#ifdef CrossCompileDir
CC = CrossServerCcCmd
#else
CC = ServerCcCmd
#endif
CCOPTIONS = ServerCCOptions
#if DoThreadedServer
SERVER_THREAD_DEFINES = XThreadsDefines ThreadTypeDefines
#endif
STD_DEFINES = ServerDefines $(SERVER_THREAD_DEFINES)
CDEBUGFLAGS = ServerCDebugFlags
EXT_DEFINES = ExtensionDefines
OS_DEFINES = ServerOSDefines
GLX_DEFINES = GlxDefines
#ifndef GlxUseSGISI
#define GlxUseSGISI NO
#endif
#ifdef XFree86Version
#include <xf86.tmpl>
#endif
#ifdef XorgVersion
#include <xorg.tmpl>
#endif
XCOMM $XFree86: xc/config/cf/ServerLib.tmpl,v 3.0tsi Exp $
/*
* Server Library imakefile info - this contains any special
* redefinitions, etc. that Imakefiles in the various server library
* subtrees will need.
*
* Before including this, you must set the following boolean variables:
* DoSharedLib, DoNormalLib, DoDebugLib, DoProfileLib
*
*/
#ifndef DoNormalLib
#define DoNormalLib YES
#endif
#ifndef LibraryDefines
#define LibraryDefines StandardDefines
#endif
#ifndef LibraryCDebugFlags
#define LibraryCDebugFlags DefaultCDebugFlags
#endif
#ifndef SeparateSharedCompile
#define SeparateSharedCompile YES
#endif
#ifndef SharedServerLibraryDef
#define SharedServerLibraryDef $(__NOOP__)
#endif
#ifndef LibraryCcCmd
#if DoSharedLib && defined(SharedLibraryCcCmd)
#define LibraryCcCmd SharedLibraryCcCmd
#else
#define LibraryCcCmd CcCmd
#endif
#endif
#ifndef LibraryCCOptions
#if DoSharedLib && defined(SharedLibraryCCOptions)
#define LibraryCCOptions SharedLibraryCCOptions
#else
#define LibraryCCOptions DefaultCCOptions
#endif
#endif
#if DoDebugLib
#define _DebuggedLibMkdir() LibMkdir(debugger)
#define _DebuggedObjCompile(options) DebuggedLibObjCompile(options)
#define _DebuggedCleanDir() LibCleanDir(debugger)
#else
#define _DebuggedLibMkdir() $(_NULLCMD_)
#define _DebuggedObjCompile(options) $(_NULLCMD_)
#define _DebuggedCleanDir() $(_NULLCMD_)
#endif
#if DoProfileLib
#define _ProfiledLibMkdir() LibMkdir(profiled)
#define _ProfiledObjCompile(options) ProfiledLibObjCompile(options)
#define _ProfiledCleanDir() LibCleanDir(profiled)
#else
#define _ProfiledLibMkdir() $(_NULLCMD_)
#define _ProfiledObjCompile(options) $(_NULLCMD_)
#define _ProfiledCleanDir() $(_NULLCMD_)
#endif
#if !DoNormalLib
#define _NormalLibMkdir() $(_NULLCMD_)
#define _NormalObjCompile(options) $(_NULLCMD_)
#define _NormalCleanDir() $(_NULLCMD_)
#else
#if DoSharedLib && SeparateSharedCompile
#define _NormalLibMkdir() LibMkdir(unshared)
#define _NormalObjCompile(options) UnsharedLibObjCompile(options)
#define _NormalCleanDir() LibCleanDir(unshared)
#else
#define _NormalLibMkdir() $(_NULLCMD_)
#define _NormalObjCompile(options) NormalLibObjCompile(options)
#define _NormalCleanDir() $(_NULLCMD_)
#endif
#endif
#if !DoSharedLib || (DoNormalLib && !SeparateSharedCompile)
#define _SharedObjCompile(options) $(_NULLCMD_)
#else
#if SeparateSharedCompile
#define _SharedObjCompile(options) NormalSharedLibObjCompile(options)
#else
#define _SharedObjCompile(options) NormalLibObjCompile(options)
#endif
#endif
#define SRCsuf c
#define Isuf i
#ifndef LibraryObjectRule
#define LibraryObjectRule() @@\
all:: @@\
_DebuggedLibMkdir() @@\
_ProfiledLibMkdir() @@\
_NormalLibMkdir() @@\
@@\
includes:: @@\
_DebuggedLibMkdir() @@\
_ProfiledLibMkdir() @@\
_NormalLibMkdir() @@\
@@\
.SRCsuf.Osuf: @@\
_DebuggedObjCompile($(_NOOP_)) @@\
_ProfiledObjCompile($(_NOOP_)) @@\
_NormalObjCompile($(_NOOP_)) @@\
_SharedObjCompile(SharedServerLibraryDef) @@\
@@\
clean:: @@\
_DebuggedCleanDir() @@\
_ProfiledCleanDir() @@\
_NormalCleanDir() @@\
#endif /* LibraryObjectRule */
#ifndef SpecialLibObjectRule
#define SpecialLibObjectRule(objs,depends,options) @@\
objs: depends @@\
_DebuggedObjCompile(options) @@\
_ProfiledObjCompile(options) @@\
_NormalObjCompile(options) @@\
_SharedObjCompile(options) @@\
#endif /* SpecialLibObjectRule */
#ifndef SpecialCLibObjectRule
#define SpecialCLibObjectRule(basename,depends,options) @@\
SpecialLibObjectRule(basename.Osuf,basename.SRCsuf depends,options) @@\
@@\
basename.Isuf: basename.SRCsuf depends @@\
CPPOnlyCompile(basename.SRCsuf,options) @@\
@@\
CenterLoadTarget(debug_src,basename.SRCsuf,NullParameter,$(ALLDEFINES) options)
#endif /* SpecialCLibObjectRule */
#if DoSharedLib
LibraryObjectRule()
#else
NormalLibraryObjectRule()
#endif
XCOMM $Xorg: Threads.tmpl,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
XCOMM $XFree86: xc/config/cf/Threads.tmpl,v 3.3tsi Exp $
/*
* For a multi-threaded application or library,
* Define LocalThreadsDefines in your Imakefile (unless you like the
* project default), then include this file.
* Everything else should be automatic.
*/
#ifndef LocalThreadsDefines
#ifdef ProjectThreadsDefines
#define LocalThreadsDefines ProjectThreadsDefines
#else
#define LocalThreadsDefines /**/
#endif
#endif
#ifndef LocalThreads
#ifdef ThreadedProject
#define LocalThreads ThreadedProject
#else
#define LocalThreads YES
#endif
#endif
#ifndef HasCThreads
#define HasCThreads NO
#endif
#ifndef ThreadTypeDefines
#if HasCThreads
#define ThreadTypeDefines -DCTHREADS
#else
#define ThreadTypeDefines /**/
#endif
#endif
#ifndef SystemMTDefines
#define SystemMTDefines /**/
#endif
#ifndef LibraryMTDefines
#define LibraryMTDefines /**/
#endif
#ifndef HasThreadSafeAPI /* does it have getpwnam_r, etc. */
#define HasThreadSafeAPI YES
#endif
#ifndef MTSafeAPIDefines
#if HasThreadSafeAPI
#define MTSafeAPIDefines -DXUSE_MTSAFE_API
#else
#define MTSafeAPIDefines /**/
#endif
#endif
#ifndef ThreadPreStdAPIDefines
#define ThreadPreStdAPIDefines /* nominally for POSIX P1003.4a (Draft 4) API */
#endif
#ifndef CplusplusSystemMTDefines
# ifdef SystemMTDefines
# define CplusplusSystemMTDefines SystemMTDefines
# else
# define CplusplusSystemMTDefines /**/
# endif
#endif
#ifndef ThreadsCompileFlags
#define ThreadsCompileFlags /**/
#endif
#ifndef ThreadsCplusplusCompileFlags
# ifdef ThreadsCompileFlags
# define ThreadsCplusplusCompileFlags ThreadsCompileFlags
# else
# define ThreadsCplusplusCompileFlags /**/
# endif
#endif
#ifndef ThreadsLibraries
#define ThreadsLibraries /**/
#endif
#ifndef ThreadsCplusplusLibraries
# ifdef ThreadsLibraries
# define ThreadsCplusplusLibraries ThreadsLibraries
# else
# define ThreadsCplusplusLibraries /**/
# endif
#endif
#ifndef ThreadsLoadFlags
#define ThreadsLoadFlags ThreadsCompileFlags
#endif
#ifndef ThreadsCplusplusLoadFlags
#define ThreadsCplusplusLoadFlags ThreadsCplusplusCompileFlags
#endif
#if LocalThreads
THREADS_CFLAGS = ThreadsCompileFlags
THREADS_DEFINES = LocalThreadsDefines ThreadTypeDefines SystemMTDefines MTSafeAPIDefines ThreadPreStdAPIDefines $(LIB_MT_DEFINES)
THREADS_LDFLAGS = ThreadsLoadFlags
THREADS_LIBS = ThreadsLibraries
THREADS_CXXFLAGS = ThreadsCplusplusCompileFlags
THREADS_CXXDEFINES = LocalThreadsDefines ThreadTypeDefines CplusplusSystemMTDefines MTSafeAPIDefines ThreadPreStdAPIDefines $(LIB_MT_DEFINES)
THREADS_CXXLDFLAGS = ThreadsCplusplusLoadFlags
THREADS_CXXLIBS = ThreadsCplusplusLibraries
#endif
XCOMM platform: $Xorg: Win32.cf,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
#ifndef OSName
#define OSName DefaultOSName
#endif
#ifndef OSMajorVersion
#define OSMajorVersion DefaultOSMajorVersion
#endif
#ifndef OSMinorVersion
#define OSMinorVersion DefaultOSMinorVersion
#endif
#ifndef OSTeenyVersion
#define OSTeenyVersion DefaultOSTeenyVersion
#endif
XCOMM operating system: OSName OSMajorVersion./**/OSMinorVersion
#ifndef CompilerMajorVersion
/* 0 == NT 3.1 Win32 SDK, 2 == MSVC++ 2, 4 == MSVC 4 */
#define CompilerMajorVersion 4
#endif
#define BootstrapCFlags -DWIN32
#ifdef _M_IX86
#define CpuDefines -D_X86_
#endif
/* brain-damaged windows headers will not compile with -Za */
#define StandardDefines -DWIN32 -DWIN32_LEAN_AND_MEAN -D_DLL -D_MT -D__STDC__ CpuDefines
#if CompilerMajorVersion < 4
#define DefaultCCOptions -nologo -batch -G4 -W2
#else
#define DefaultCCOptions -nologo -G4 -W2
#endif
#if CompilerMajorVersion < 4
#define DebuggableCDebugFlags -Zi
#else
#define DebuggableCDebugFlags -Zi -Od
#endif
#define ThreadedX YES
#define HasThreadSafeAPI NO
#define CpCmd copy
#define LnCmd copy
#define MvCmd ren
#define RmCmd del
#ifndef RmTreeCmd
XCOMM choices here include:
XCOMM o `del /q /s` and live with pressing the "any" key
XCOMM o `deltree, copied from MS-DOS 5
XCOMM o `rm -rfx` from the SDK Subscription (MSTOOLS in your Path)
XCOMM o `rm -rf` from the GNU file utilities
XCOMM We're using the GNU file utilities
#define RmTreeCmd rm -rf
#endif
#define CcCmd cl
#define HasCplusplus YES
#define CplusplusCmd cl
#if CompilerMajorVersion < 4
#define PreProcessCmd CcCmd -nologo -batch -EP
#define CppCmd CcCmd -nologo -batch -E
#else
#define PreProcessCmd CcCmd -nologo -EP
#define CppCmd CcCmd -nologo -E
#endif
#define PatheticCpp YES
#define ConstructMFLAGS YES
#if (CompilerMajorVersion == 0)
#define ArCmdBase lib32
#else
#define ArCmdBase lib
#endif
#define ArCmd ArCmdBase
#define CplusplusCmd cl
#define MkdirHierCmd $(CONFIGSRC:/=\)\util\mkdirhier
#define InstallCmd copy
#define InstPgmFlags /**/
#define InstBinFlags /**/
#define InstUidFlags /**/
#define InstLibFlags /**/
#define InstIncFlags /**/
#define InstManFlags /**/
#define InstDatFlags /**/
#define InstallFlags /**/
#if (CompilerMajorVersion == 0)
#define ExtraLibraries crtdll.lib kernel32.lib wsock32.lib
#elif (CompilerMajorVersion < 4)
#define ExtraLibraries msvcrt.lib kernel32.lib wsock32.lib
#else
#define ExtraLibraries msvcrt.lib kernel32.lib wsock32.lib -link -nodefaultlib:libc
#endif
#define MakeCmd nmake -nologo
#if (CompilerMajorVersion == 0)
#define LdCmd link32
#else
#define LdCmd link
#endif
#define MathLibrary
#define HasSymLinks NO
#define HasVarDirectory NO
#define HasPutenv YES
#define Osuf obj
#ifndef CCsuf
#define CCsuf cxx
#endif
#define BuildServer NO
#define ConnectionFlags -DTCPCONN
/* override as necessary in site.def/host.def */
#ifndef StdIncDir
#define StdIncDir C:/MSDEVSTD/INCLUDE
#endif
#define LdPreLib /**/
#define LdPostLib /**/
#ifndef UseInstalled
#define ImakeCmd $(IMAKESRC:/=\)\imake
#define DependCmd $(DEPENDSRC:/=\)\makedepend
#endif
#define DependFlags -D_WIN32
#define FilesToClean *.bak *.obj *.lib make.log
#define ShLibDir $(BINDIR)
#define XFileSearchPathBase Concat4($(LIBDIR)/;L/;T/;N;C,;S:$(LIBDIR)/;l/;T/;N;C,;S:$(LIBDIR)/;T/;N;C,;S:$(LIBDIR)/;L/;T/;N;S:$(LIBDIR)/;l/;T/;N;S:$(LIBDIR)/;T/;N;S)
#define XawI18nDefines -DHAS_WCHAR_H
#define UseRgbTxt YES
#define HasCbrt NO
#define HasFfs NO
#define HasXdmAuth NO
/* the following components haven't been ported yet */
#define BuildLBX NO
#define BuildXprint NO
#define XprtServer NO
#include <Win32.rules>
XCOMM $Xorg: WinLib.tmpl,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
XCOMM $XFree86: xc/config/cf/WinLib.tmpl,v 1.4tsi Exp $
#define SharedOldXReqs $(LDPRELIBS) $(XONLYLIB)
#define SharedXtReqs $(LDPRELIBS) $(XONLYLIB)
#define SharedXawReqs $(LDPRELIBS) $(XMULIB) $(XTOOLLIB) $(EXTRAXAWREQS) $(XLIB)
#define SharedXmuReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB)
#define SharedXextReqs $(LDPRELIBS) $(XONLYLIB)
#define SharedXiReqs $(LDPRELIBS) $(XLIB)
#define SharedXtstReqs $(LDPRELIBS) $(XLIB)
#define SharedSMReqs $(LDPRELIBS) $(ICELIB)
#define SharedXpReqs $(LDPRELIBS) $(XAUTHLIB) $(XLIB)
#define SharedXpmReqs $(LDPRELIBS) $(XLIB)
XCOMM $Xorg: X11.rules,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
XCOMM $XFree86: xc/config/cf/X11.rules,v 1.6 2001/01/17 16:22:31 dawes Exp $
/* Note whether we are the top level project. */
#ifndef SeenTopLevelProject
# define SeenTopLevelProject YES
# define X11IsTopLevelProject YES
#else
# define X11IsTopLevelProject NO
#endif
/*
* If no clues are given assume X11 is in the tree, otherwise
* UseInstalled overrides UseImports. Do not do both.
*/
#ifndef UseInstalledX11
# define UseInstalledX11 NO
#endif
#ifdef UseInstalled
# undef UseInstalledX11
# define UseInstalledX11 YES
#endif
#ifndef ImportX11
# ifdef UseImports
# define ImportX11 YES
# else
# define ImportX11 NO
# endif
#endif
#if UseInstalledX11
# undef ImportX11
# define ImportX11 NO
#endif
#if defined(X11ProjectRoot)
# define XBinDir $(XPROJECTROOT)/bin
#elif defined(ProjectRoot)
# define XBinDir $(PROJECTROOT)/bin
#else
# define XBinDir $(BINDIR)
#endif
#ifdef X11ProjectRoot
# define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib
#else
# define XUsrLibDirPath $(USRLIBDIR)
#endif
#ifdef UsrLibDirPath
# undef UsrLibDirPath
#endif
#ifdef ExtraLibDirPath
#define UsrLibDirPath XUsrLibDirPath:ExtraLibDirPath
#else
#define UsrLibDirPath XUsrLibDirPath
#endif
#if ImportX11
# define XLdPreLibs -L$(LIBSRC)
#elif defined(UseInstalledX11) && defined(X11ProjectRoot)
# define XLdPreLibs -L$(XPROJECTROOT)/lib
#else
# define XLdPreLibs /**/
#endif
#ifdef LdPreLibs
# undef LdPreLibs
#endif
#define LdPreLibs LdPreLib XLdPreLibs
#ifdef X11ProjectRoot
# define XLdPostLibs -L$(XPROJECTROOT)/lib
#else
# define XLdPostLibs /**/
#endif
#ifdef LdPostLibs
# undef LdPostLibs
#endif
#define LdPostLibs LdPostLib XLdPostLibs
#ifndef TopXInclude
# if ImportX11
# define TopXInclude -I$(TOP)/imports/x11/include
# elif !UseInstalledX11
# define TopXInclude -I$(TOP)/exports/include
#else
# ifdef X11ProjectRoot
# define TopXInclude -I$(XPROJECTROOT)/include
# else
# define TopXInclude /**/
# endif
# endif
#endif
#ifdef TopIncludes
# undef TopIncludes
#endif
#define TopIncludes TopInclude $(TOP_X_INCLUDES)
#if UseInstalledX11 && defined(X11ProjectRoot)
# define X11BuildLibPath $(XPROJECTROOT)/lib
#elif UseInstalledX11
# define X11BuildLibPath $(USRLIBDIR)
#elif ImportX11
# define X11BuildLibPath $(XTOP)/lib
#else
# define X11BuildLibPath $(TOP)/exports/lib
#endif
#ifndef BuildLibPath
#ifdef SystemBuildLibPath
# define BuildLibPath $(XENVLIBDIR):$(SYSTEMENVLIBDIR)
#else
# define BuildLibPath $(XENVLIBDIR)
#endif
#endif
#ifndef X11ProjectDefines
# define X11ProjectDefines /**/
#endif
#define ProjectDefines X11ProjectDefines
#ifndef X11CplusplusProjectDefines
# define X11CplusplusProjectDefines X11ProjectDefines
#endif
#define CplusplusProjectDefines X11CplusplusProjectDefines
#ifndef XtransFailSoft
# define XtransFailSoft NO
#endif
#if XtransFailSoft
# define XtransFailDefine /**/
#else
# define XtransFailDefine -DFAIL_HARD
#endif
This source diff could not be displayed because it is too large. You can view the blob instead.
XCOMM platform: $Xorg: apollo.cf,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
/*
* Minimally tested, and only in the bsd4.3 environment. X_NOT_POSIX is not
* in Xosdefs.h, because we suspect someone might want to try building with
* POSIX support in the sysv environment (the OS doc seems to imply that
* POSIX is supported in sysv).
*/
#ifndef OSName
#define OSName Domain/OS SR10.3
#endif
XCOMM operating system: OSName
#ifndef OSMajorVersion
#define OSMajorVersion 10
#endif
#ifndef OSMinorVersion
#define OSMinorVersion 3
#endif
#ifndef CCompilerMajorVersion
#define CCompilerMajorVersion 6
#endif
#ifndef CCompilerMinorVersion
#define CCompilerMinorVersion 8
#endif
#define StandardDefines -DX_NOT_POSIX
#define BuildServer NO
#define HasNdbm YES
#define ConnectionFlags -DTCPCONN
#define InstallManPageLong(file,destdir,dest) @@\
install.man:: file.man @@\
MakeDir($(DESTDIR)destdir) @@\
$(NROFF) $(MANMACROS) file.man > file.mantxt @@\
$(INSTALL) -c $(INSTMANFLAGS) file.mantxt $(DESTDIR)destdir/dest.$(MANSUFFIX) @@\
$(RM) file.mantxt
XCOMM platform: $Xorg: bsd.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
XCOMM $XFree86: xc/config/cf/bsd.cf,v 1.2 1998/09/06 04:46:50 dawes Exp $
#ifndef OSName
#define OSName 4.3bsd
#endif
XCOMM operating system: OSName
#ifndef OSMajorVersion
#define OSMajorVersion 4
#endif
#ifndef OSMinorVersion
#define OSMinorVersion 3
#endif
#define BootstrapCFlags -DNOSTDHDRS
#define StandardDefines -DNOSTDHDRS -DCSRG_BASED
#define HasVoidSignalReturn NO
#define HasBsearch NO
#define DirFailPrefix -
#define AvoidNullMakeCommand YES
#define BuildServer NO
#ifdef VaxArchitecture
#define UnalignedReferencesAllowed YES /* if arbitrary deref is okay */
#endif
#if OSMajorVersion >= 4 && OSMinorVersion >= 3
#define SetTtyGroup YES
#endif
#if OSMajorVersion==4 && OSMinorVersion>=2
#define HasUsableFileMmap YES
#endif
XCOMM $Xorg: bsdLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
XCOMM $XFree86: xc/config/cf/bsdLib.tmpl,v 3.23 2003/11/04 01:59:31 dawes Exp $
/*
* NetBSD/FreeBSD/OpenBSD shared library template
*/
#if !UseElfFormat
#ifndef SharedXlibi18nReqs
#define SharedXlibi18nReqs $(LDPRELIB) $(XONLYLIB)
#endif
#ifndef SharedXtReqs
#define SharedXtReqs /**/
#endif
#ifndef SharedXawReqs
#define SharedXawReqs /**/
#endif
#ifndef SharedXmuReqs
# if !defined(Mc68020Architecture) || !defined(OpenBSDArchitecture)
# define SharedXmuReqs $(LDPRELIBS) $(XTOOLONLYLIB) $(XONLYLIB)
# else
/* At least the hp300 and the sun3 OpenBSD ports need that */
# define SharedXmuReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB)
# endif
#endif
#ifndef SharedXcursorReqs
#define SharedXcursorReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB)
#endif
#else /* UseElfFormat */
/*
* NetBSD/FreeBSD/OpenBSD (ELF) shared library template
* Cloned from Linux ELF rules, but with a minor number.
*/
#ifndef FixupLibReferences
#define FixupLibReferences() @@\
XMULIBONLY = -lXmu @@\
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
#endif
#ifndef XawClientLibs
#define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB)
#endif
/* Allow for libpthread, as overridden by OS definitions */
#if !defined(SharedX11Reqs)
#define SharedX11Reqs
#endif
#define SharedXlibi18nReqs $(LDPRELIB) $(XONLYLIB)
#define SharedOldXReqs $(LDPRELIBS) $(XONLYLIB)
#ifndef SharedXtReqs
#define SharedXtReqs $(LDPRELIBS) $(XONLYLIB) $(SMLIB) $(ICELIB)
#endif
#ifndef SharedXawReqs
#define SharedXawReqs $(LDPRELIBS) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWREQS) $(XLIB)
#endif
#define SharedXaw7Reqs $(LDPRELIBS) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
#define SharedXaw6Reqs $(LDPRELIBS) $(XMULIB) $(XTOOLLIB) $(XLIB)
#define SharedXmuReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB)
#define SharedXmuuReqs $(LDPRELIB) $(XONLYLIB)
#define SharedXextReqs $(LDPRELIBS) $(XONLYLIB)
#define SharedXiReqs $(LDPRELIBS) $(XLIB)
#define SharedXpReqs $(LDPRELIB) $(XLIB)
#define SharedXpmReqs $(LDPRELIB) $(XLIB)
#define SharedXrandrReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB)
#define SharedXrenderReqs $(LDPRELIB) $(XLIB)
#define SharedXtstReqs $(LDPRELIBS) $(XLIB)
#define SharedXvReqs $(LDPRELIB) $(XLIB)
#define SharedSMReqs $(LDPRELIBS) $(ICELIB)
#ifndef SharedGLReqs
#define SharedGLReqs $(LDPRELIBS) $(XLIB)
#endif
#ifndef SharedGLUReqs
#define SharedGLUReqs $(LDPRELIB) $(XLIB) $(GLXLIB)
#endif
#define SharedXcursorReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB)
#define SharedDPSReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
#define SharedDPSTKReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(DPSLIB) $(XLIB)
#define SharedpsresReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
#define SharedXResReqs $(LDPRELIB) $(XLIB)
#define SharedXfontcacheReqs $(LDPRELIB) $(XLIB)
#define SharedXineramaReqs $(LDPRELIB) $(XLIB)
#define SharedXssReqs $(LDPRELIB) $(XLIB)
#define SharedXvMCReqs $(LDPRELIB) $(XLIB)
#define SharedXxf86dgaReqs $(LDPRELIB) $(XLIB)
#define SharedXxf86miscReqs $(LDPRELIB) $(XLIB)
#define SharedXxf86vmReqs $(LDPRELIB) $(XLIB)
#define SharedxkbfileReqs $(LDPRELIB) $(XONLYLIB)
#define SharedxkbuiReqs $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB)
#define SharedXfixesReqs $(LDPRELIB) $(XLIB)
#define SharedXdamageReqs $(LDPRELIB) $(XFIXESLIB) $(XLIB)
#define SharedXcompositeReqs $(LDPRELIB) $(XDAMAGELIB) $(XFIXESLIB) $(XLIB)
#define SharedXevieReqs $(LDPRELIB) $(XLIB)
#endif /* UseElfFormat */
XCOMM $XFree86: xc/config/cf/bsdiLib.rules,v 3.3 2003/10/09 22:43:18 herrb Exp $
/*
* BSDI shared library rules (converted from SVr4/Linux rules)
*/
#ifndef HasSharedLibraries
#define HasSharedLibraries YES
#endif
#ifndef ForceNormalLib
#define ForceNormalLib YES
#endif
#ifndef SharedDataSeparation
#define SharedDataSeparation NO
#endif
#ifndef SharedCodeDef
#define SharedCodeDef /**/
#endif
#ifndef SharedLibraryDef
#define SharedLibraryDef /**/
#endif
#ifndef ShLibIncludeFile
#define ShLibIncludeFile <bsdiLib.tmpl>
#endif
#ifndef SharedLibraryLoadFlags
#define SharedLibraryLoadFlags -shared
#endif
#ifndef PositionIndependentCFlags
#define PositionIndependentCFlags -fPIC
#endif
#ifndef PositionIndependentCplusplusFlags
#define PositionIndependentCplusplusFlags -fPIC
#endif
#ifndef BaseShLibReqs
#define BaseShLibReqs -lc
#endif
#ifndef RanlibInstFlags
#define RanlibInstFlags -t
#endif
#ifndef SharedCCLdCmd
/* NOT $(CC), which is probably 'shlicc'. */
#define SharedCCLdCmd cc
#endif
/*
* InstallSharedLibrary - generate rules to install the shared library.
*/
#ifndef InstallSharedLibrary
#define InstallSharedLibrary(libname,rev,dest) @@\
install:: Concat(lib,libname.so.rev) @@\
MakeDir($(DESTDIR)dest) @@\
$(INSTALL) $(INSTALLFLAGS) $(INSTBINFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest @@\
$(RM) Concat($(DESTDIR)dest/lib,libname.so) @@\
$(LN) Concat(lib,libname.so.rev) Concat($(DESTDIR)dest/lib,libname.so)
#endif /* InstallSharedLibrary */
/*
* InstallSharedLibraryData - generate rules to install the shared library data
*/
#ifndef InstallSharedLibraryData
#define InstallSharedLibraryData(libname,rev,dest)
#endif /* InstallSharedLibraryData */
/*
* SharedLibraryTarget - generate rules to create a shared library;
* build it into a different name so that we do not hose people by having
* the library gone for long periods.
*/
#ifndef SharedLibraryTarget
#define SharedLibraryTarget(libname,rev,solist,down,up) @@\
AllTarget(Concat(lib,libname.so.rev)) @@\
@@\
Concat(lib,libname.so.rev): solist @@\
$(RM) $@~ @@\
@SONAME=`echo $@ | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; set -x; \ @@\
(cd down; $(CCENVSETUP) SharedCCLdCmd -o up/$@~ $(SHLIBLDFLAGS) \
-Wl,-soname,$$SONAME solist $(REQUIREDLIBS) BaseShLibReqs); \
$(RM) $$SONAME; $(LN) $@ $$SONAME; \
LinkBuildSonameLibrary($$SONAME) @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
$(RM) Concat(lib,libname.so) @@\
$(LN) $@ Concat(lib,libname.so) @@\
LinkBuildLibrary($@) @@\
LinkBuildLibrary(Concat(lib,libname.so)) @@\
@@\
clean:: @@\
@SONAME=`echo Concat(lib,libname.so.rev) | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\
set -x; $(RM) $$SONAME @@\
$(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so)
#endif /* SharedLibraryTarget */
/*
* SharedDepLibraryTarget - generate rules to create a shared library;
* build it into a different name so that we do not hose people by having
* the library gone for long periods.
*/
#ifndef SharedDepLibraryTarget
#define SharedDepLibraryTarget(libname,rev,deplist,solist,down,up) @@\
AllTarget(Concat(lib,libname.so.rev)) @@\
@@\
Concat(lib,libname.so.rev): deplist @@\
$(RM) $@~ @@\
@SONAME=`echo $@ | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; set -x; \ @@\
(cd down; $(CCENVSETUP) SharedCCLdCmd -o up/$@~ $(SHLIBLDFLAGS) \
-Wl,-soname,$$SONAME solist $(REQUIREDLIBS) BaseShLibReqs); \
$(RM) $$SONAME; $(LN) $@ $$SONAME; \
LinkBuildSonameLibrary($$SONAME) @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
$(RM) Concat(lib,libname.so) @@\
$(LN) $@ Concat(lib,libname.so) @@\
LinkBuildLibrary($@) @@\
LinkBuildLibrary(Concat(lib,libname.so)) @@\
@@\
clean:: @@\
@SONAME=`echo Concat(lib,libname.so.rev) | sed 's/\(lib[^\.]*\.so\.[0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\
set -x; $(RM) $$SONAME @@\
$(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so)
#endif /* SharedDepLibraryTarget */
#ifndef SharedDepModuleTarget
#define SharedDepModuleTarget(name,deps,solist) @@\
AllTarget(name) @@\
@@\
name: deps @@\
$(RM) $@~ @@\
$(CCENVSETUP) SharedCCLdCmd -o $@~ $(SHLIBLDFLAGS) \
solist $(REQUIREDLIBS) BaseShLibReqs @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
@@\
clean:: @@\
$(RM) name
#endif /* SharedDepModuleTarget */
/*
* SharedLibraryDataTarget - generate rules to create shlib data file;
*/
#ifndef SharedLibraryDataTarget
#define SharedLibraryDataTarget(libname,rev,salist)
#endif /* SharedLibraryTarget */
/*
* Hacks for BSD/OS static shared libraries.
* We replace the normal library build and install rules.
*/
SHLIB_MAP=$${SHLIB_MAP-/etc/shlib.map}
#define BsdiStaticLibraryName(libname)Concat(Concat(lib,libname),_s)
#define BsdiStaticStubLibraryName(libname)BsdiStaticLibraryName(libname).a
#define MakeBsdiStaticSharedLibrary(libname) \
@SHARED=; \
eval $$( (echo 'MAP() { [ "X$$1" = "X-l'libname'" ] || return 0;' \
'echo "TADDR=$$2;";' \
'echo "DADDR=$$3;";' \
'echo "SHARED=$$5;";' \
'shift 5; echo "ARGS='"'"'"$$@"'"'"';";' \
'exit 0; }'; cat $(SHLIB_MAP)) | sh); \
[ -n "$$SHARED" ] || exit 0; \
echo building static shared libname library; \
shlib -m $(SHLIB_MAP) -t $$TADDR -d $$DADDR \
-n BsdiStaticLibraryName(libname) \
-s BsdiStaticStubLibraryName(libname) \
$$( [ -f 'loader.lib'libname'.c' ] && \
echo -b 'loader.lib'libname'.c') \
$$( [ -f 'lib'libname'.const' ] && \
echo -c 'lib'libname'.const') \
$$( [ -f 'lib'libname'.except' ] && \
echo -e 'lib'libname'.except') \
$$( [ -f $$SHARED ] && echo -i $$SHARED) \
$$ARGS LibraryTargetName(libname)
#define InstallBsdiStaticSharedLibrary(libname) \
@SHARED=; \
eval $$( (echo 'MAP() { [ "X$$1" = "X-l'libname'" ] || return 0;' \
'echo "SHARED=$$5;";' \
'echo "STUB=$$(dirname $$4)/$$(basename $$5).a;";' \
'exit 0; }'; cat $(SHLIB_MAP)) | sh); \
[ -n "$$SHARED" ] || exit 0; \
echo installing static shared libname library; \
$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) \
BsdiStaticLibraryName(libname) $(DESTDIR)$$SHARED; \
$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) \
BsdiStaticStubLibraryName(libname) $(DESTDIR)$$STUB; \
RanLibrary($(RANLIBINSTFLAGS) $(DESTDIR)$$STUB) @@\
-@eval $$( (echo 'MAP() { [ "X$$1" = "X-l'libname'" ] || return 0;' \
'echo "LDIR=$$(dirname $$4)"; exit 0; }'; \
cat $(SHLIB_MAP)) | sh); \
[ -f Concat(loader.lib,libname.c) ] && \
$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) \
Concat(loader.lib,libname.c) \
$(DESTDIR)$$LDIR/Concat(loader.lib,libname.c); \
[ -f Concat(lib,libname.const) ] && \
$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) \
Concat(lib,libname.const) \
$(DESTDIR)$$LDIR/Concat(lib,libname.const); \
[ -f Concat(lib,libname.except) ] && \
$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) \
Concat(lib,libname.except) \
$(DESTDIR)$$LDIR/Concat(lib,libname.except); exit 0
#ifndef UnsharedLibraryTarget
#define UnsharedLibraryTarget(libname,objlist,down,up) @@\
AllTarget(LibraryTargetName(libname)) @@\
@@\
LibraryTargetName(libname): objlist @@\
RemoveFile($@) @@\
(cd down; MakeLibrary(up/$@,objlist)) @@\
RanLibrary($@) @@\
_LinkBuildLibrary($@) @@\
MakeBsdiStaticSharedLibrary(libname) @@\
@@\
clean:: @@\
$(RM) BsdiStaticLibraryName(libname) BsdiStaticStubLibraryName(libname)
#endif /* UnsharedLibraryTarget */
#ifndef UnsharedLibraryTarget3
#define UnsharedLibraryTarget3(libname,objlist1,objlist2,objlist3,down,up) @@\
UnsharedLibraryTarget(libname,objlist1 objlist2 objlist3,down,up)
#endif /* UnsharedLibraryTarget3 */
#ifndef InstallLibrary
#define InstallLibrary(libname,dest) @@\
install:: LibraryTargetName(libname) @@\
MakeDir($(DESTDIR)dest) @@\
$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) \
LibraryTargetName(libname) $(DESTDIR)dest @@\
RanLibrary($(RANLIBINSTFLAGS) \
$(DESTDIR)dest/LibraryTargetName(libname)) @@\
InstallBsdiStaticSharedLibrary(libname)
#endif /* InstallLibrary */
XCOMM $XFree86: xc/config/cf/bsdiLib.tmpl,v 3.3 2003/05/29 21:56:57 herrb Exp $
/*
* BSDI shared library template (converted from Linux template)
*/
/*
* Linux ELF shared libraries (which BSDI uses)
* are deficient in link semantics...
*/
#ifndef FixupLibReferences
#define FixupLibReferences() @@\
XMULIBONLY = -lXmu @@\
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
#endif
#ifndef XawClientLibs
#define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB)
#endif
#define FrescoSysLibs CplusplusLibC MathLibrary
#define SharedX11Reqs
#define SharedXlibi18nReqs $(LDPRELIB) $(XONLYLIB)
#define SharedOldXReqs $(LDPRELIB) $(XONLYLIB)
#define SharedXtReqs $(LDPRELIB) $(XONLYLIB) $(SMLIB) $(ICELIB)
#define SharedXawReqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWREQS) $(XLIB)
#define SharedXaw7Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
#define SharedXaw6Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
#define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB)
#define SharedXextReqs $(LDPRELIB) $(XONLYLIB)
#define SharedXiReqs $(LDPRELIB) $(XLIB)
#define SharedXtstReqs $(LDPRELIB) $(XLIB)
#define SharedSMReqs $(LDPRELIB) $(ICELIB)
#define SharedFrescoReqs $(LDPRELIB) $(XONLYLIB) FrescoSysLibs
#define SharedXtfReqs $(LDPRELIB) $(FRESCOLIB) $(XTOOLLIB) $(XLIB) FrescoSysLibs
/* Motif lib requirements */
#define SharedXReqs $(XTOOLLIB) $(XPLIB) $(XLIB)
#define SharedXmReqs $(LDPRELIB) SharedXReqs
#define SharedMrmReqs $(LDPRELIB) $(XMLIB) SharedXReqs
#define SharedUilReqs $(LDPRELIB) $(XMLIB) SharedXReqs
/*
* @OSF_COPYRIGHT@
* COPYRIGHT NOTICE
* Copyright (c) 1990, 1991, 1992, 1993, 1998 The Open Group , Inc.
* ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
* the full copyright text.
*
* (c) Copyright 1996 Digital Equipment Corporation.
* (c) Copyright 1996 Hewlett-Packard Company.
* (c) Copyright 1996 International Business Machines Corp.
* (c) Copyright 1996 Sun Microsystems, Inc.
* (c) Copyright 1996 Novell, Inc.
* (c) Copyright 1996 FUJITSU LIMITED.
* (c) Copyright 1996 Hitachi.
*/
XCOMM $Xorg: cde.rules,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
/* Note whether we are the top level project. */
#ifndef SeenTopLevelProject
# define SeenTopLevelProject YES
# define CDEIsTopLevelProject YES
#else
# define CDEIsTopLevelProject NO
#endif
/* Include the Motif project rules file. */
#include <Motif.rules>
/* Use the in-tree CDE by default. */
#ifndef UseInstalledCDE
# define UseInstalledCDE NO
#endif
#ifdef UseInstalled
# undef UseInstalledCDE
# define UseInstalledCDE YES
#endif
#ifndef ImportCDE
# ifdef UseImports
# define ImportCDE YES
# else
# define ImportCDE NO
# endif
#endif
#if UseInstalledCDE
# undef ImportCDE
# define ImportCDE NO
#endif
/* If CDE has a different ProjectRoot we need to search the regular ones too. */
#ifdef CDEProjectRoot
# define CUsrLibDirPath Concat(MUsrLibDirPath,:$(CDEPROJECTROOT)/lib)
#else
# define CUsrLibDirPath MUsrLibDirPath
#endif
#ifdef UsrLibDirPath
# undef UsrLibDirPath
#endif
#define UsrLibDirPath CUsrLibDirPath
#if ImportCDE
# define CLdPreLibs -L$(CDELIBSRC)
#elif defined(UseInstalledCDE) && defined(CDEProjectRoot)
# define CLdPreLibs -L$(CDEPROJECTROOT)/lib
#else
# define CLdPreLibs /**/
#endif
#ifdef LdPreLibs
# undef LdPreLibs
#endif
#define LdPreLibs LdPreLib CLdPreLibs MLdPreLibs XLdPreLibs
#ifdef CDEProjectRoot
# define CLdPostLibs -L$(CDEPROJECTROOT)/lib
#else
# define CLdPostLibs /**/
#endif
#ifdef LdPostLibs
# undef LdPostLibs
#endif
#define LdPostLibs LdPostLib CLdPostLibs MLdPostLibs XLdPostLibs
#ifdef TopIncludes
# undef TopIncludes
#endif
#define TopIncludes TopInclude $(TOP_CDE_INCLUDES) $(TOP_MOTIF_INCLUDES) $(TOP_X_INCLUDES)
#if UseInstalledCDE && defined(CDEProjectRoot)
# define CDEBuildLibPath $(CDEPROJECTROOT)/lib
#elif UseInstalledCDE
# define CDEBuildLibPath $(USRLIBDIR)
#elif ImportCDE
# define CDEBuildLibPath $(CDELIBSRC)
#else
# define CDEBuildLibPath $(TOP)/exports/lib
#endif
#ifdef BuildLibPath
# undef BuildLibPath
#endif
#ifdef SystemBuildLibPath
# define BuildLibPath \
$(DTENVLIBDIR):$(MOTIFENVLIBDIR):$(XENVLIBDIR):$(SYSTEMENVLIBDIR)
#else
# define BuildLibPath $(DTENVLIBDIR):$(MOTIFENVLIBDIR):$(XENVLIBDIR)
#endif
#ifndef CdeInstallationTop
# define CdeInstallationTop /usr/dt
#endif
#ifndef CdeConfigurationTop
# define CdeConfigurationTop /etc/dt
#endif
#ifndef CdeLogFilesTop
# define CdeLogFilesTop /var/dt
#endif
#ifndef CdeUserTop
# define CdeUserTop .dt
#endif
#ifndef CdeProjectDefines
# define CdeProjectDefines \
-DANSICPP -DMULTIBYTE -DNLS16 \
-DOSMAJORVERSION=OSMajorVersion -DOSMINORVERSION=OSMinorVersion
#endif
#ifdef ProjectDefines
# undef ProjectDefines
#endif
#define ProjectDefines X11ProjectDefines MotifProjectDefines CdeProjectDefines
#ifndef CdeCplusplusProjectDefines
# define CdeCplusplusProjectDefines CdeProjectDefines
#endif
#ifdef CplusplusProjectDefines
# undef CplusplusProjectDefines
#endif
#define CplusplusProjectDefines \
X11CplusplusProjectDefines MotifCplusplusProjectDefines CdeCplusplusProjectDefines
/*
* Doc build rules
*/
/*
* MakeSdlVolume - generate rules to create an SDL volume, in the specified
* directory, from an SGML source doc.
* Note: the volume name must match the directory name.
*/
#ifndef MakeSdlVolume
#define MakeSdlVolume(vol,dir,env,opts,dep) @@\
all:: dir/vol.sdl @@\
@@\
dir/vol.sdl: dep @@\
MakeDir(dir) @@\
env $(DTDOCBOOK) $(DTDOCBOOKOPTIONS) opts -o dir/vol.sdl vol/book.sgm @@\
@@\
clean:: @@\
$(RM) dir/vol.sdl vol/book.log
#endif
/*
* MakeTocFile - generate rules to create an SGML TOC file.
* Note: the volume name must match the directory name.
*/
#ifndef MakeTocFile
#define MakeTocFile(vol,env,opts,ttle,ident,dep) @@\
all:: vol/TOC.sgm @@\
@@\
vol/TOC.sgm: dep @@\
MakeDir($(DTINFOGENTMPDIR)) @@\
env $(DTINFOGEN) tocgen -T $(DTINFOGENTMPDIR) $(DTINFOGENOPTIONS) opts -f vol/TOC.sgm -id ident -title ttle vol/book.sgm @@\
@@\
clean:: @@\
$(RM) vol/TOC.sgm
#endif
#ifndef MakeTocFile3
#define MakeTocFile3(vol,env,opts,ttle,ident,dep1,dep2,dep3) @@\
all:: vol/TOC.sgm @@\
@@\
vol/TOC.sgm: dep1 @@\
vol/TOC.sgm: dep2 @@\
vol/TOC.sgm: dep3 @@\
MakeDir($(DTINFOGENTMPDIR)) @@\
env $(DTINFOGEN) tocgen -T $(DTINFOGENTMPDIR) $(DTINFOGENOPTIONS) opts -f vol/TOC.sgm -id ident -title ttle vol/book.sgm @@\
@@\
clean:: @@\
$(RM) vol/TOC.sgm
#endif
/*
* TocFileDep - generate TOC file dependency rule
*/
#ifndef TocFileDep
#define TocFileDep(vol,dep) @@\
vol/TOC.sgm: dep
#endif
/*
* MakeInfolib - generate rules to create an infolib.
*/
#ifndef MakeInfolib
#define MakeInfolib(infolib,bkcase,env,opts,dep) @@\
all:: infolib/bkcase/dtsearch/dtsearch.ocf @@\
@@\
infolib/bkcase/dtsearch/dtsearch.ocf: dep @@\
MakeDir($(DTINFOGENTMPDIR)) @@\
MakeDir(infolib) @@\
env $(DTINFOGEN) build -T $(DTINFOGENTMPDIR) $(DTINFOGENOPTIONS) opts -l infolib bookcase.bc
#endif
/*
* InfolibDep - generate infolib dependency rule - Highly depending on MMDB!
*/
#ifndef InfolibDep
#define InfolibDep(infolib,bkcase,dep) @@\
infolib/bkcase/dtsearch/dtsearch.ocf: dep
#endif
#ifndef InfolibDep3
#define InfolibDep3(infolib,bkcase,dep1,dep2,dep3) @@\
infolib/bkcase/dtsearch/dtsearch.ocf: dep1 @@\
infolib/bkcase/dtsearch/dtsearch.ocf: dep2 @@\
infolib/bkcase/dtsearch/dtsearch.ocf: dep3
#endif
XCOMM platform: $Xorg: convex.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
#ifndef OSName
#define OSName ConvexOS V9.0
#endif
XCOMM operating system: OSName
#ifndef OSMajorVersion
#define OSMajorVersion 9
#endif
#ifndef OSMinorVersion
#define OSMinorVersion 0
#endif
#ifndef VersionNumber
#define VersionNumber 0.0.0.0
#endif
#define BootstrapCFlags -tm c1
#define SetTtyGroup YES
#define BuildServer NO
#define ConnectionFlags -DTCPCONN -DUNIXCONN -DCOVUENETCONN
#define InstallXdmConfig YES
#define XdmDir $(LIBDIR)/xdm-sample
#define XdmServersType fs /* one tab here */
#define HasXmWidgets NO
#define InstKmemFlags -g kmem -m 2711 -v $(VERSION)
#define InstScriptFlags -m 0755 -g bin
#define InstManFlags -m 0444 -g bin
#define DefaultCCOptions -fn -tm c1
#define LibraryCCOptions -fx -tm c1
#define StripFlags -r -x
#define HasSecureOS YES
#define BuildExamples YES
#define BuildMotif NO
#define BuildConvexClients YES
#define MotifBC YES
#define UilCommand uil
#define ExampleDir $(LIBDIR)/examples
#define UnSupDir $(LIBDIR)/unsupported
#define BuildTestExt YES
#define DefaultScreenSaverTime 0
#if BuildTestExt
#define TestDefines -DXTESTEXT1
#else
#define TestDefines /**/
#endif
#define ExtensionOSDefines TestDefines
VERSION = VersionNumber
UIL = UilCommand
UNSUPDIR = UnSupDir /* unsupported examples and code */
/*
* _Use - makes a choice based on UseInstalled.
*/
#ifndef _Use
#ifdef UseInstalled
#define _Use(a,b) a
#else
#define _Use(a,b) b
#endif
#endif
/*
* _UseCat - combination of _Use and Concat.
* exists to avoid problems with some preprocessors
*/
#ifndef _UseCat
#if (defined(__STDC__) || (defined(__convex__) && defined(__stdc__)))
&& !defined(UnixCpp)
#ifdef UseInstalled
#define _UseCat(a,b,c) a##c
#else
#define _UseCat(a,b,c) b##c
#endif
#else
#ifdef UseInstalled
#define _UseCat(a,b,c) a/**/c
#else
#define _UseCat(a,b,c) b/**/c
#endif
#endif
#endif
#if HasXmWidgets
MRESOURCESRC = $(LIBSRC)/Mrm
DEPMRESOURCELIB = _UseCat($(USRLIBDIR),$(MRESOURCESRC),/libMrm.a)
MRESOURCELIB = LoaderLibPrefix _Use(-lMrm,$(DEPMRESOURCELIB))
LINTMRESOURCELIB= _UseCat($(LINTLIBDIR),$(MRESOURCESRC),/llib-lMrm.ln)
XMLIBSRC = $(LIBSRC)/Xm
DEPXMLIB = _UseCat($(USRLIBDIR),$(XMLIBSRC),/libXm.a)
XMLIB = LoaderLibPrefix _Use(-lXm,$(DEPXMLIB))
LINTXMLIB = _UseCat($(LINTLIBDIR),$(XMLIBSRC),/llib-lXm.ln)
UILLIBSRC = $(LIBSRC)/uil
DEPUILLIB = _UseCat($(USRLIBDIR),$(UILLIBSRC),/libUil.a)
UILLIB = LoaderLibPrefix _Use(-lUil,$(DEPUILLIB))
LINTUILLIB = _UseCat($(LINTLIBDIR),$(UILLIBSRC),/llib-lUil.ln)
#endif
XCOMM platform: $Xorg: cray.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
#ifndef OSName
#define OSName UNICOS 8.0
#endif
XCOMM operating system: OSName
#ifndef OSMajorVersion
#define OSMajorVersion 8
#endif
#ifndef OSMinorVersion
#define OSMinorVersion 0
#endif
#define SystemV YES
#define Malloc0ReturnsNull YES
#define RemoveTargetProgramByMoving YES
#define ArCmd bld cr
#define StandardDefines -DSYSV -DUSG
#define ExecableScripts NO
#define HasPoll NO
#define HasXServer NO
#define ConnectionFlags -DTCPCONN
#define HasShm NO
#define NativeFPFormat CRAY_Float
#ifdef UseInstalled
#define InstallCmd install
#else
#define InstallCmd $(SHELL) $(CONFIGSRC)/util/install.sh
#endif
#ifdef _CRAY2
#define DefaultCCOptions -hpagelm -hlimitlm
#endif
#if OSMajorVersion >= 6
#define PreProcessCmd /lib/pcpp
#define CppCmd /lib/pcpp
#else
# if OSMajorVersion == 5
# define PreProcessCmd /lib/cpp
# define CppCmd /lib/cpp
# define ExtraLoadFlags -lnet
# endif
#endif
/* XKB library code does not work here yet */
#define BuildXKBlib NO
#define MotifDefines -DNO_REGEX -DNO_REGCOMP
/* $XFree86: xc/config/cf/cross.def,v 1.1 2000/12/08 22:09:34 keithp Exp $ */
/*
* This file contains redefinitions of some symbols to enable
* cross compilation: e.g. paths for include files and paths to
* compiler images. It will have to be edited to reflect these
* given your local configuration.
*/
#if 0
#undef i386Architecture
#define Arm32Architecture
#undef OptimizedCDebugFlags
#define OptimizedCDebugFlags -O2
#define ServerCDebugFlags -O2
#undef StandardDefines
#define StandardDefines -Dlinux -D__arm__ -D_POSIX_SOURCE \
-D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
#undef CcCmd
#define StdIncDir /opt/Embedix/tools/arm-linux/include
#define PreIncDir
#undef PostIncDir
#define PostIncDir /opt/Embedix/tools/lib/gcc-lib/arm-linux/2.95.2/include
#define CcCmd /opt/Embedix/tools/bin/arm-linux-gcc
#undef CplusplusCmd
#define HasCplusplus YES
#define CplusplusCmd /opt/Embedix/tools/bin/arm-linux-g++
#define DoRanlibCmd YES
#define RanlibCmd /opt/Embedix/tools/bin/arm-linux-ranlib
#undef ExtraLoadFlags
#define ExtraLoadFlags
#define FbNoPixelAddrCode
#undef TermcapLibrary
#define TermcapLibrary -ltermcap
#undef LdPostLib
#define LdPostLib -L/opt/Embedix/tools/arm-linux/lib
#undef ExtensionOSDefines
#define ExtensionOSDefines
#define ServerXdmcpDefines /**/
#define HostCcCmd cc
#endif
#include <cross.rules>
/* $XFree86: xc/config/cf/cross.def,v 1.1 2000/12/08 22:09:34 keithp Exp $ */
/*
* This file contains redefinitions of some symbols to enable
* cross compilation: e.g. paths for include files and paths to
* compiler images. It will have to be edited to reflect these
* given your local configuration.
*/
#if 0
#undef i386Architecture
#define Arm32Architecture
#undef OptimizedCDebugFlags
#define OptimizedCDebugFlags -O2
#define ServerCDebugFlags -O2
#undef StandardDefines
#define StandardDefines -Dlinux -D__arm__ -D_POSIX_SOURCE \
-D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
#undef CcCmd
#define StdIncDir /opt/Embedix/tools/arm-linux/include
#define PreIncDir
#undef PostIncDir
#define PostIncDir /opt/Embedix/tools/lib/gcc-lib/arm-linux/2.95.2/include
#define CcCmd /opt/Embedix/tools/bin/arm-linux-gcc
#undef CplusplusCmd
#define HasCplusplus YES
#define CplusplusCmd /opt/Embedix/tools/bin/arm-linux-g++
#define DoRanlibCmd YES
#define RanlibCmd /opt/Embedix/tools/bin/arm-linux-ranlib
#undef ExtraLoadFlags
#define ExtraLoadFlags
#define FbNoPixelAddrCode
#undef TermcapLibrary
#define TermcapLibrary -ltermcap
#undef LdPostLib
#define LdPostLib -L/opt/Embedix/tools/arm-linux/lib
#undef ExtensionOSDefines
#define ExtensionOSDefines
#define ServerXdmcpDefines /**/
#define HostCcCmd cc
#endif
#include <cross.rules>
/* $XFree86: xc/config/cf/cross.def,v 1.1 2000/12/08 22:09:34 keithp Exp $ */
/*
* This file contains redefinitions of some symbols to enable
* cross compilation: e.g. paths for include files and paths to
* compiler images. It will have to be edited to reflect these
* given your local configuration.
*/
#if 0
#undef i386Architecture
#define Arm32Architecture
#undef OptimizedCDebugFlags
#define OptimizedCDebugFlags -O2
#define ServerCDebugFlags -O2
#undef StandardDefines
#define StandardDefines -Dlinux -D__arm__ -D_POSIX_SOURCE \
-D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
#undef CcCmd
#define StdIncDir /skiff/local/arm-linux/include
#define PreIncDir
#undef PostIncDir
#define PostIncDir /skiff/local/lib/gcc-lib/arm-linux/2.95.2/include
#define CcCmd /skiff/local/bin/arm-linux-gcc
#undef CplusplusCmd
#define HasCplusplus YES
#define CplusplusCmd /skiff/local/bin/arm-linux-g++
#define DoRanlibCmd YES
#define RanlibCmd /skiff/local/bin/arm-linux-ranlib
#undef ExtraLoadFlags
#define ExtraLoadFlags
#define FbNoPixelAddrCode
#undef TermcapLibrary
#define TermcapLibrary -ltermcap
#undef LdPostLib
#define LdPostLib -L/skiff/local/arm-linux/lib
#undef ExtensionOSDefines
#define ExtensionOSDefines
#define ServerXdmcpDefines /**/
#define HostCcCmd cc
#endif
#include <cross.rules>
XCOMM $XFree86: xc/config/cf/cross.rules,v 1.7 2002/04/04 14:05:33 eich Exp $
#ifndef HostCcCmd
#define HostCcCmd cc
#endif
#define HostLinkRule(target,flags,objs,libs) HostCcCmd -I$(BUILDINCDIR) -o target flags objs libs
/* ComplexHostProgramTarget - Compile a program such that we can run
* it on this host, i.e., don't use the default cross compiler.
*/
#ifndef ComplexHostProgramTarget
#define ComplexHostProgramTarget(program) @@\
CC=HostCcCmd @@\
STD_INCLUDES= @@\
CFLAGS=$(TOP_INCLUDES) $(INCLUDES) $(BOOTSTRAPCFLAGS)\ @@\
$(CROSSCOMPILEDEFINES) $(CROSSCOMPILEBOOTSTRAPDEFINES) @@\
EXTRA_LOAD_FLAGS= @@\
PROGRAM = program @@\
@@\
AllTarget(HostProgramTargetName(program)) @@\
@@\
HostProgramTargetName(program): $(OBJS) $(DEPLIBS) @@\
RemoveTargetProgram($@) @@\
HostLinkRule($@,$(_NOOP_),$(OBJS),$(DEPLIBS) $(LOCAL_LIBRARIES)) @@\
@@\
DependTarget() @@\
@@\
LintTarget() @@\
@@\
clean:: @@\
RemoveFile(HostProgramTargetName(program))
#endif /* ComplexHostProgramTarget */
#ifndef SimpleHostProgramTarget
#define SimpleHostProgramTarget(program) @@\
SRCS = program.c @@\
@@\
CC=HostCcCmd @@\
STD_INCLUDES= @@\
CFLAGS=$(TOP_INCLUDES) $(INCLUDES) $(BOOTSTRAPCFLAGS)\ @@\
$(CROSSCOMPILEDEFINES) $(CROSSCOMPILEBOOTSTRAPDEFINES) @@\
EXTRA_LOAD_FLAGS= @@\
PROGRAM = program @@\
@@\
AllTarget(HostProgramTargetName(program)) @@\
@@\
HostProgramTargetName(program): program.o $(DEPLIBS) @@\
RemoveTargetProgram($@) @@\
HostLinkRule($@,$(_NOOP_),program.o,$(DEPLIBS) $(LOCAL_LIBRARIES)) @@\
@@\
DependTarget() @@\
@@\
LintTarget() @@\
@@\
clean:: @@\
RemoveFile(HostProgramTargetName(program))
#endif /* SimpleHostProgramTarget */
#ifndef SimpleHostProgramTarget_1
#define SimpleHostProgramTarget_1(program) @@\
SRCS = program.c @@\
@@\
CC=HostCcCmd @@\
STD_INCLUDES= @@\
CFLAGS=$(TOP_INCLUDES) $(INCLUDES) $(BOOTSTRAPCFLAGS)\ @@\
$(CROSSCOMPILEDEFINES) $(CROSSCOMPILEBOOTSTRAPDEFINES) @@\
EXTRA_LOAD_FLAGS= @@\
PROGRAM = program @@\
@@\
AllTarget(HostProgramTargetName(program)) @@\
@@\
HostProgramTargetName(program): program.o $(DEPLIBS) @@\
RemoveTargetProgram($@) @@\
HostLinkRule($@,$(_NOOP_),program.o,$(DEPLIBS) $(LOCAL_LIBRARIES)) @@\
@@\
DependTarget() @@\
LintTarget() @@\
@@\
clean:: @@\
RemoveFile(HostProgramTargetName(program))
#endif /* SimpleHostProgramTarget_1 */
#ifndef SimpleHostProgramTarget_2
#define SimpleHostProgramTarget_2(program) @@\
SRCS = program.c @@\
@@\
CC=HostCcCmd @@\
STD_INCLUDES= @@\
CFLAGS=$(TOP_INCLUDES) $(INCLUDES) $(BOOTSTRAPCFLAGS)\ @@\
$(CROSSCOMPILEDEFINES) $(CROSSCOMPILEBOOTSTRAPDEFINES) @@\
EXTRA_LOAD_FLAGS= @@\
PROGRAM = program @@\
@@\
AllTarget(HostProgramTargetName(program)) @@\
@@\
HostProgramTargetName(program): program.o $(DEPLIBS) @@\
RemoveTargetProgram($@) @@\
HostLinkRule($@,$(_NOOP_),program.o,$(DEPLIBS) $(LOCAL_LIBRARIES)) @@\
@@\
clean:: @@\
RemoveFile(HostProgramTargetName(program))
#endif /* SimpleHostProgramTarget_2 */
#ifndef SimpleHostProgramTarget_3
#define SimpleHostProgramTarget_3(program) @@\
SRCS = program.c @@\
@@\
CC=HostCcCmd @@\
STD_INCLUDES= @@\
CFLAGS=$(TOP_INCLUDES) $(INCLUDES) $(BOOTSTRAPCFLAGS)\ @@\
$(CROSSCOMPILEDEFINES) $(CROSSCOMPILEBOOTSTRAPDEFINES) @@\
EXTRA_LOAD_FLAGS= @@\
PROGRAM = program @@\
@@\
AllTarget(HostProgramTargetName(program)) @@\
@@\
HostProgramTargetName(program): program.o $(DEPLIBS) @@\
RemoveTargetProgram($@) @@\
HostLinkRule($@,$(_NOOP_),program.o,$(DEPLIBS) $(LOCAL_LIBRARIES)) @@\
@@\
clean:: @@\
RemoveFile(HostProgramTargetName(program))
#endif /* SimpleHostProgramTarget_3 */
#ifndef SimpleHostProgramTarget_4
#define SimpleHostProgramTarget_4(program) @@\
SRCS = program.c @@\
@@\
CC=HostCcCmd @@\
STD_INCLUDES= @@\
CFLAGS=$(TOP_INCLUDES) $(INCLUDES) $(BOOTSTRAPCFLAGS)\ @@\
$(CROSSCOMPILEDEFINES) $(CROSSCOMPILEBOOTSTRAPDEFINES) @@\
EXTRA_LOAD_FLAGS= @@\
PROGRAM = program @@\
@@\
AllTarget(HostProgramTargetName(program)) @@\
@@\
HostProgramTargetName(program): program.o $(DEPLIBS) @@\
RemoveTargetProgram($@) @@\
HostLinkRule($@,$(_NOOP_),program.o,$(DEPLIBS) $(LOCAL_LIBRARIES)) @@\
@@\
clean:: @@\
RemoveFile(HostProgramTargetName(program))
#endif /* SimpleHostProgramTarget_4 */
XCOMM $XFree86: xc/config/cf/cygwin.tmpl,v 3.18 2003/10/19 08:27:05 herrb Exp $
#define SharedX11Reqs
#define SharedXlibi18nReqs $(LDPRELIB) $(XONLYLIB)
#define SharedOldXReqs $(LDPRELIB) $(XONLYLIB)
#define SharedXReqs $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS)
#define SharedXtReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XONLYLIB)
#define SharedXawReqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWREQS) $(XLIB)
#define SharedXaw7Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
#define SharedXaw6Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
#define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB)
#define SharedXextReqs $(LDPRELIB) $(XONLYLIB)
#define SharedXiReqs $(LDPRELIB) $(XLIB)
#define SharedXtstReqs $(LDPRELIB) $(XLIB)
#define SharedSMReqs $(LDPRELIB) $(ICELIB)
#define SharedXpReqs $(LDPRELIB) $(XAUTHLIB) $(XLIB)
#define SharedXvReqs $(LDPRELIB) $(XLIB)
#define SharedGLReqs $(LDPRELIB) $(XLIB)
#define SharedGLUReqs $(LDPRELIB) $(XLIB) $(GLXLIB)
#define SharedXfontReqs $(LDPRELIB) $(FONTSTUBLIB) GzipLibrary $(FREETYPE2LIB)
#define SharedFontencReqs $(LDPRELIB) GzipLibrary
#define SharedXxf86vmReqs $(LDPRELIB) $(XLIB)
#define SharedXxf86miscReqs $(LDPRELIB) $(XLIB)
#define SharedXpmReqs $(LDPRELIB) $(XLIB)
#define SharedXxf86dgaReqs $(LDPRELIB) $(XLIB)
#define SharedDPSReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
#define SharedDPSTKReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(DPSLIB) $(XLIB)
#define SharedXrenderReqs $(LDPRELIB) $(XLIB)
#define SharedpsresReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB
#define SharedXResReqs $(LDPRELIB) $(XLIB)
#define SharedXfontcacheReqs $(LDPRELIB) $(XLIB)
#define SharedXineramaReqs $(LDPRELIB) $(XLIB)
/*
* We don't build Xss
* #define SharedXssReqs $(LDPRELIB) $(XLIB)
*/
#define SharedXvMCReqs $(LDPRELIB) $(XLIB)
#define SharedXxf86dgaReqs $(LDPRELIB) $(XLIB)
#define SharedXxf86miscReqs $(LDPRELIB) $(XLIB)
#define SharedXxf86vmReqs $(LDPRELIB) $(XLIB)
#define SharedxkbfileReqs $(LDPRELIB) $(XONLYLIB)
#define SharedxkbuiReqs $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB)
#define SharedXmuuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB)
#define SharedXrandrReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB)
#define SharedXcursorReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB)
#define SharedXfixesReqs $(LDPRELIB) $(XLIB)
#define SharedXdamageReqs $(LDPRELIB) $(XFIXESLIB) $(XLIB)
#define SharedXcompositeReqs $(LDPRELIB) $(XDAMAGELIB) $(XFIXESLIB) $(XLIB)
#define SharedXevieReqs $(LDPRELIB) $(XLIB)
#ifndef FixupLibReferences
# define FixupLibReferences() @@\
XMULIBONLY = -lXmu @@\
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
#endif
#ifndef XawClientLibs
# define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB)
#endif
/*
* Suffix for Windows resource source files
*/
#ifndef RCsuf
# define RCsuf rc
#endif
/*
* Suffix for Windows resource compiled files
*/
#ifndef RESsuf
# define RESsuf res
#endif
XCOMM $XdotOrg: xc/config/cf/darwin.cf,v 1.8 2005/04/01 01:22:07 torrey Exp $
XCOMM platform: $XFree86: xc/config/cf/darwin.cf,v 1.50 2004/01/20 23:54:50 torrey Exp $
/* Darwin / Mac OS X configuration by John Carmack <johnc@idsoftware.com> */
/* imake determines the default values by parsing uname */
#ifndef OSName
#define OSName DefaultOSName
#endif
#ifndef OSVendor
#define OSVendor Apple Computer, Inc.
#endif
#ifndef OSMajorVersion
#define OSMajorVersion DefaultOSMajorVersion
#endif
#ifndef OSMinorVersion
#define OSMinorVersion DefaultOSMinorVersion
#endif
#ifndef OSTeenyVersion
#define OSTeenyVersion DefaultOSTeenyVersion
#endif
XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
/*
* Define the operating system's capabilities
*/
#define HasSnprintf YES
#define HasPutenv YES
#define HasBSD44Sockets YES
#define Malloc0ReturnsNull NO
#define HasShadowPasswd NO
#define HasUsableFileMmap YES
#define HasZlib YES
#ifndef HasShm
# define HasShm YES
#endif
#define HasNdbm YES
#if OSMajorVersion >= 6
# define HasNCurses YES
# define HasArc4Random YES
# define HasGetIfAddrs YES
# define HasStrlcat YES
#else
# define HasBasename NO
# define HasNCurses NO
#endif
#ifndef HasGroff
# define HasGroff YES
#endif
#ifndef HasGcc3
# define HasGcc3 NO
#endif
#ifndef HasFreetype2
# define HasFreetype2 NO
#endif
#ifndef HasExpat
# define HasExpat NO
#endif
#ifndef HasLibpng
# define HasLibpng NO
#endif
/* Older versions don't really support IPv6, but #define AF_INET6. */
#if OSMajorVersion < 6
# define BuildIPv6 NO
#endif
/* Thread support */
#define HasPosixThreads YES
#define SystemMTDefines -D_REENTRANT
#if OSMajorVersion >= 6
# define HasThreadSafeAPI YES
# define MTSafeAPIDefines -DXUSE_MTSAFE_API -DXNO_MTSAFE_UNISTDAPI
#else
# define HasThreadSafeAPI NO
# define MTSafeAPIDefines -DXOS_USE_MTSAFE_NETDBAPI
#endif
/* Libtool on Darwin always uses minor numbers */
#define LibtoolMinorVersions YES
/* The most common file system, HFS+, is not case sensitive. */
#ifndef CaseSensitiveFileSystem
# define CaseSensitiveFileSystem NO
#endif
/*
* This enables some settings for developers.
*/
#ifndef XFree86Devel
# define XFree86Devel NO
#endif
/*
* This enables Quartz compatibility.
* Turn off to build on raw Darwin systems.
*/
#ifndef DarwinQuartzSupport
# define DarwinQuartzSupport YES
#endif
#if DarwinQuartzSupport
# if OSMajorVersion >= 7
PROJ_BUILD = xcodebuild
# else
PROJ_BUILD = pbxbuild
# endif
# ifndef HasXplugin
# if OSMajorVersion >= 7
# define HasXplugin YES
# else
# define HasXplugin NO
# endif
# endif
# if HasXplugin
# ifndef XpLibDir
# define XpLibDir /usr/lib
# endif
# ifndef XpIncDir
# define XpIncDir $(SERVERSRC)/hw/darwin/quartz/xpr
# endif
XPLIBDIR = XpLibDir
XPINCDIR = XpIncDir
# define XpluginLibrary Concat(-L,$(XPLIBDIR)) -lXplugin
# else
# define XpluginLibrary /**/
# endif
# ifndef BuildAppleDRI
# if HasXplugin
# define BuildAppleDRI YES
# else
# define BuildAppleDRI NO
# endif
# endif
# if BuildAppleDRI
# define GlxExtraDefines -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL GlxArchDefines
# endif
# define BuildRootless YES
# define BuildAppleWMLibrary YES
#endif /* DarwinQuartzSupport */
/* we don't need -lm */
#define MathLibrary /**/
#define TermcapLibrary -lcurses
#define SetTtyGroup YES /* for xterm */
/* we don't have a dbm library */
#define DBMLibrary /**/
#define MkdirHierCmd mkdir -p
/* Use flex -l for compatibility with various versions of flex. */
#ifndef LexCmd
# define LexCmd flex -l
#endif
#define HasFlex YES
/*
* Our cpp isn't in /lib/cpp and early versions don't like -undef.
* The gcc 3.3 cpp that Apple ships inserts spurious #pragmas,
* so we use the 3.1-based version in this case.
*/
#if (GccMajorVersion == 3) && (GccMinorVersion == 3)
# define CppCmd /usr/bin/cpp3
#else
# define CppCmd /usr/bin/cpp
#endif
#if (GccMajorVersion == 3) && (GccMinorVersion == 3) || (GccMajorVersion > 3)
# define StandardCppOptions -traditional -D__GNUC__
#endif
#if HasGcc3
# define RawCppCmd CppCmd -undef
#else
# define RawCppCmd CppCmd
#endif
/* we have a gcc compatible compiler, but its not called gcc */
#define CcCmd /usr/bin/cc
#define CplusplusCmd /usr/bin/c++
/* default flags to pass to cc */
#ifndef DefaultCCOptions
#if XFree86Devel
# define DefaultCCOptions -Wall -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \
-Wredundant-decls -Wnested-externs \
-no-cpp-precomp
#else
# define DefaultCCOptions -Wall -Wpointer-arith -no-cpp-precomp
#endif
#endif
/* flags to pass to cc when building libraries */
#ifndef LibraryCCOptions
# define LibraryCCOptions DefaultCCOptions -fno-common
#endif
/* The cr implementation does not build with NEED_SCREEN_REGIONS,
so play it safe. */
#ifndef ServerCCOptions
# define ServerCCOptions DefaultCCOptions -UNEED_SCREEN_REGIONS
#endif
#ifdef PpcDarwinArchitecture
# define DarwinMachineDefines -D__powerpc__
# if HasGcc3
# define OptimizedCDebugFlags -Os
# else
# define OptimizedCDebugFlags -O2
# endif
# define ByteOrder X_BIG_ENDIAN
#endif /* PpcDarwinArchitecture */
#ifdef i386DarwinArchitecture
# define DarwinMachineDefines -D__i386__
# if HasGcc3
# define OptimizedCDebugFlags -Os
# else
# define OptimizedCDebugFlags -O2 -fno-strength-reduce
# endif
# define ByteOrder X_LITTLE_ENDIAN
#endif /* i386DarwinArchitecture */
#if OSMajorVersion < 7
# define DarwinLocaleDefines -DX_LOCALE
#else
# define DarwinLocaleDefines /**/
# define XawI18nDefines -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H
#endif
/*
* __DARWIN__ will be used for platform specific #ifdefs that can't
* be handled by existing X defines.
*
* Darwin's alloca() seg faults (rather than returning NULL) on failed
* allocations, so we can't use it.
*/
#define StandardDefines DarwinMachineDefines -D__DARWIN__ \
-DNO_ALLOCA -DCSRG_BASED DarwinLocaleDefines
/*
* Set this to NO to just build the client libs, which should work without
* having to write any platform specific code.
*/
#ifndef BuildServer
# define BuildServer YES
/* our custom X server */
# define XDarwinServer YES
#endif
/* Thanks to the IOKit, the X server does not have to be SetUID. */
#ifndef InstallXserverSetUID
# define InstallXserverSetUID NO
#endif
/* Allow Xtrans to work with non-SetUID server. */
#ifndef XtransFailSoft
# define XtransFailSoft YES
#endif
/* disable XKB by default as it can cause problems */
#define DfltDisableXKB YES
/* no direct graphics extension */
#define BuildXF86DGA NO
/* Support for tablets and other non-standard input devices */
#ifndef BuildXInputExt
# define BuildXInputExt YES
#endif
#define BuildXInputLib YES
/* no Display Power Management extension */
#define BuildDPMS NO
/* no XFree86-Misc extension */
#define BuildXF86MiscExt NO
/* no XFree86-VidMode extension */
#define BuildXF86VidModeExt NO
#ifndef BuildXterm
# define BuildXterm BuildClients /* Not enabled by default */
#endif
#define BuildLibPathVar DYLD_LIBRARY_PATH
/* include rules to build shared libraries */
#include <darwinLib.rules>
/*
* BundleProgramTarget - Generate rules for compiling, linking and
* installing a bundle executable.
*/
#ifndef BundleProgramTarget
#define BundleProgramTarget(program,loader,subdirs,objs,deplib,syslib,dstdir) @@\
@@\
AllTarget(program) @@\
@@\
program: loader subdirs objs deplib @@\
RemoveTargetProgram($@) @@\
LinkRule($@,-bundle $(LDOPTIONS),objs,deplib $(LDLIBS) syslib -bundle_loader loader) @@\
@@\
InstallProgram(program,dstdir/program.bundle/Contents/MacOS) @@\
@@\
clean:: @@\
RemoveFile(program)
#endif /* BundleProgramTarget */
/*
* Darwin specific Imake Config files
*/
#ifndef LocalConfigFiles
#define LocalConfigFiles \
darwinLib.rules \
darwinLib.tmpl
#endif
/* include all the X.Org rules */
#include <xorg.cf>
XCOMM $XFree86: xc/config/cf/darwinLib.rules,v 1.8 2003/10/09 22:43:18 herrb Exp $
/*
* Darwin/Mac OS X shared library rules
*/
#ifndef UseElfFormat
#define UseElfFormat NO
#endif
#ifndef HasSharedLibraries
#define HasSharedLibraries YES
#endif
#ifndef ForceNormalLib
#define ForceNormalLib YES
#endif
#ifndef SharedDataSeparation
#define SharedDataSeparation NO
#endif
#ifndef SharedCodeDef
#define SharedCodeDef /**/
#endif
#ifndef SharedLibraryDef
#define SharedLibraryDef /**/
#endif
#ifndef ShLibIncludeFile
#define ShLibIncludeFile <darwinLib.tmpl>
#endif
#ifndef SharedLibraryLoadFlags
#define SharedLibraryLoadFlags -dynamiclib
#endif
#ifndef PositionIndependentCFlags
#define PositionIndependentCFlags -dynamic
#endif
#ifndef ExtraLoadFlags
#define ExtraLoadFlags /**/
#endif
/*
* InstallSharedLibrary - generate rules to install the shared library.
*/
#ifndef InstallSharedLibrary
#define InstallSharedLibrary(libname,rev,dest) @@\
install:: Concat(lib,libname.rev.dylib) @@\
MakeDir($(DESTDIR)dest) @@\
$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat(lib,libname.rev.dylib) $(DESTDIR)dest @@\
@MAJREV=`echo rev | sed 's/\([0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\
set -x; $(RM) Concat($(DESTDIR)dest/lib,libname.$$MAJREV.dylib) && \ @@\
$(LN) Concat(lib,libname.rev.dylib) Concat($(DESTDIR)dest/lib,libname.$$MAJREV.dylib) @@\
@if $(SOSYMLINK); then (set -x; \ @@\
$(RM) Concat($(DESTDIR)dest/lib,libname.dylib); \ @@\
$(LN) Concat(lib,libname.rev.dylib) Concat($(DESTDIR)dest/lib,libname.dylib)); fi
#endif /* InstallSharedLibrary */
/*
* SharedLibraryTarget - generate rules to create a shared library;
* build it into a different name so that we do not hose people by having
* the library gone for long periods.
*/
#ifndef SharedLibraryTarget
# define SharedLibraryTarget(libname,rev,solist,down,up) @@\
AllTarget(Concat(lib,libname.rev.dylib)) @@\
@@\
Concat(lib,libname.rev.dylib): solist $(EXTRALIBRARYDEPS) @@\
$(RM) $@~ @@\
@MAJREV=`echo rev | sed 's/\([0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\
INSTALLNAME=Concat(lib,libname.$$MAJREV.dylib); \ @@\
set -x; (cd down; $(CC) -o up/$@~ $(SHLIBLDFLAGS) -install_name $(USRLIBDIR)/$$INSTALLNAME -current_version rev -compatibility_version rev solist $(REQUIREDLIBS)); \ @@\
$(RM) $$INSTALLNAME; $(LN) $@ $$INSTALLNAME; \ @@\
LinkBuildSonameLibrary($$INSTALLNAME) @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
@if $(SOSYMLINK); then (set -x; \ @@\
$(RM) Concat(lib,libname.dylib); \ @@\
$(LN) $@ Concat(lib,libname.dylib)); fi @@\
LinkBuildLibrary($@) @@\
LinkBuildLibraryMaybe(Concat(lib,libname.dylib),$(SOSYMLINK)) @@\
@@\
clean:: @@\
@MAJREV=`echo rev | sed 's/\([0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\
set -x; $(RM) Concat(lib,libname.$$MAJREV.dylib) @@\
$(RM) Concat(lib,libname.rev.dylib) Concat(lib,libname.dylib)
#endif /* SharedLibraryTarget */
/*
* SharedDepLibraryTarget - generate rules to create a shared library.
*/
#ifndef SharedDepLibraryTarget
# define SharedDepLibraryTarget(libname,rev,deplist,solist,down,up) @@\
AllTarget(Concat(lib,libname.rev.dylib)) @@\
@@\
Concat(lib,libname.rev.dylib): deplist $(EXTRALIBRARYDEPS) @@\
$(RM) $@~ @@\
@MAJREV=`echo rev | sed 's/\([0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\
INSTALLNAME=Concat(lib,libname.$$MAJREV.dylib); \ @@\
set -x; (cd down; $(CC) -o up/$@~ $(SHLIBLDFLAGS) -install_name $(USRLIBDIR)/$$INSTALLNAME -current_version rev -compatibility_version rev solist $(REQUIREDLIBS)); \ @@\
$(RM) $$INSTALLNAME; $(LN) $@ $$INSTALLNAME; \ @@\
LinkBuildSonameLibrary($$INSTALLNAME) @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
@if $(SOSYMLINK); then (set -x; \ @@\
$(RM) Concat(lib,libname.dylib); \ @@\
$(LN) $@ Concat(lib,libname.dylib)); fi @@\
LinkBuildLibrary($@) @@\
LinkBuildLibraryMaybe(Concat(lib,libname.dylib),$(SOSYMLINK)) @@\
@@\
clean:: @@\
@MAJREV=`echo rev | sed 's/\([0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\
set -x; $(RM) Concat(lib,libname.$$MAJREV.dylib) @@\
$(RM) Concat(lib,libname.rev.dylib) Concat(lib,libname.dylib)
#endif /* SharedDepLibraryTarget */
/*
* SharedDepCplusplusLibraryTarget - generate rules to create a shared library.
*/
#ifndef SharedDepCplusplusLibraryTarget
# define SharedDepCplusplusLibraryTarget(libname,rev,deplist,solist,down,up) @@\
AllTarget(Concat(lib,libname.rev.dylib)) @@\
@@\
Concat(lib,libname.rev.dylib): deplist $(EXTRALIBRARYDEPS) @@\
$(RM) $@~ @@\
@MAJREV=`echo rev | sed 's/\([0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\
INSTALLNAME=Concat(lib,libname.$$MAJREV.dylib); \ @@\
set -x; (cd down; $(CXX) -o up/$@~ $(SHLIBLDFLAGS) -install_name $(USRLIBDIR)/$$INSTALLNAME -current_version rev -compatibility_version rev solist $(REQUIREDLIBS)); \ @@\
$(RM) $$INSTALLNAME; $(LN) $@ $$INSTALLNAME; \ @@\
LinkBuildSonameLibrary($$INSTALLNAME) @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
@if $(SOSYMLINK); then (set -x; \ @@\
$(RM) Concat(lib,libname.dylib); \ @@\
$(LN) $@ Concat(lib,libname.dylib)); fi @@\
LinkBuildLibrary($@) @@\
LinkBuildLibraryMaybe(Concat(lib,libname.dylib),$(SOSYMLINK)) @@\
@@\
clean:: @@\
@MAJREV=`echo rev | sed 's/\([0-9]*\)\(\.[0-9]*\)\{1,2\}/\1/'`; \ @@\
set -x; $(RM) Concat(lib,libname.$$MAJREV.dylib) @@\
$(RM) Concat(lib,libname.rev.dylib) Concat(lib,libname.dylib)
#endif /* SharedDepCplusplusLibraryTarget */
#ifndef SharedDepModuleTarget
#define SharedDepModuleTarget(name,deps,solist) @@\
AllTarget(name) @@\
@@\
name: deps @@\
$(RM) $@~ @@\
$(CC) -o $@~ $(SHLIBLDFLAGS) solist $(REQUIREDLIBS) @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
@@\
clean:: @@\
$(RM) name
#endif /* SharedDepModuleTarget */
/*
* SharedLibraryDataTarget - generate rules to create shlib data file;
*/
#ifndef SharedLibraryDataTarget
#define SharedLibraryDataTarget(libname,rev,salist)
#endif /* SharedLibraryDataTarget */
#ifndef InstallSharedLibraryData
#define InstallSharedLibraryData(libname,rev,dest)
#endif /* InstallSharedLibraryData */
XCOMM $XFree86: xc/config/cf/darwinLib.tmpl,v 1.19 2003/11/04 00:24:36 torrey Exp $
/*
* Darwin/Mac OS X shared library template
*/
#ifndef FixupLibReferences
#define FixupLibReferences() @@\
XMULIBONLY = -lXmu @@\
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
#endif
#ifndef XawClientLibs
#define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB)
#endif
/* Allow for libpthread, as overridden by OS definitions */
#if !defined(SharedX11Reqs)
#define SharedX11Reqs
#endif
#define SharedXlibi18nReqs $(LDPRELIB) $(XLIBONLY)
#define SharedXfontReqs $(LDPRELIB) $(FONTSTUBLIB) GzipLibrary $(FREETYPE2LIB) -flat_namespace
#define SharedAppleWMReqs $(LDPRELIB) $(XLIB)
#define SharedFontencReqs $(LDPRELIB) GzipLibrary
#define SharedGLReqs $(LDPRELIB) $(XLIB)
#define SharedGLUReqs $(LDPRELIB) $(XLIB) $(GLXLIB)
#define SharedOSMesaReqs $(LDPRELIB) $(XLIB) $(GLXLIB)
#define SharedSMReqs $(LDPRELIB) $(ICELIB)
#define SharedXawReqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWREQS) $(XLIB)
#define SharedXaw7Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
#define SharedXaw6Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
#define SharedXcursorReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB)
#define SharedXextReqs $(LDPRELIB) $(XONLYLIB)
#define SharedXiReqs $(LDPRELIB) $(XLIB)
#define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB)
#define SharedXmuuReqs $(LDPRELIB) $(XONLYLIB)
#define SharedXpReqs $(LDPRELIB) $(XLIB)
#define SharedXpmReqs $(LDPRELIB) $(XLIB)
#define SharedXrandrReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB)
#define SharedXrenderReqs $(LDPRELIB) $(XLIB)
#define SharedXtReqs $(LDPRELIB) $(XONLYLIB) $(SMLIB) $(ICELIB) -flat_namespace
#define SharedXtstReqs $(LDPRELIB) $(XLIB)
#define SharedXvReqs $(LDPRELIB) $(XLIB)
#define SharedDPSReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
#define SharedDPSTKReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(DPSLIB) $(XLIB)
#define SharedOldXReqs $(LDPRELIB) $(XONLYLIB)
#define SharedpsresReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
#define SharedXResReqs $(LDPRELIB) $(XLIB)
#define SharedXfontcacheReqs $(LDPRELIB) $(XLIB)
#define SharedXineramaReqs $(LDPRELIB) $(XLIB)
#define SharedXssReqs $(LDPRELIB) $(XLIB)
#define SharedXvMCReqs $(LDPRELIB) $(XLIB)
#define SharedXxf86miscReqs $(LDPRELIB) $(XLIB)
#define SharedXxf86vmReqs $(LDPRELIB) $(XLIB)
#define SharedxkbfileReqs $(LDPRELIB) $(XONLYLIB)
#define SharedxkbuiReqs $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB)
#define SharedXfixesReqs $(LDPRELIB) $(XLIB)
#define SharedXdamageReqs $(LDPRELIB) $(XFIXESLIB) $(XLIB)
#define SharedXcompositeReqs $(LDPRELIB) $(XDAMAGELIB) $(XFIXESLIB) $(XLIB)
#define SharedXevieReqs $(LDPRELIB) $(XLIB)
/* $XFree86$ */
/*
* This file contains DMX server specific defines
*/
#undef XVendorString
#define XVendorString "DMX Project"
/*
* Note 1: This is a signed int that is printed as a decimal number.
* Since we want to make it human-interpretable, the fields are
* defined as:
* 2147483648
* AAbbyymmdd
* AA: major version 01-20
* bb: minor version 00-99
* yy: year 00-99 [See Note 2]
* mm: month 01-12
* dd: day 01-31
*
* Note 2: The default epoch for the year is 2000.
* To change the default epoch, change the DMX_VENDOR_RELEASE
* macro below, bumb the minor version number, and change
* xdpyinfo to key off the major/minor version to determine the
* new epoch. Remember to do this on January 1, 2100 and every
* 100 years thereafter.
*/
#define DMX_VENDOR_RELEASE(major,minor,year,month,day) \
((major) * 100000000) + \
((minor) * 1000000) + \
((year-2000) * 10000) + \
((month) * 100) + \
((day) * 1)
#undef XVendorRelease
#define XVendorRelease DMX_VENDOR_RELEASE(1,2,2004,6,30)
EXTENSIONS_NOT_SUPPORTED = \
-UMULTIBUFFER \
-UXV \
-UDBE \
-UXF86VIDMODE \
-UXF86MISC \
-UXFreeXDGA \
-UXF86DRI \
-UMITSHM \
-UTOGCUP \
-UDPSEXT \
-UMITMISC \
-USCREENSAVER \
-URANDR \
-UXFIXES \
-UDAMAGE
EXT_TEMP_NOT_SUPPORTED = \
-UFONTCACHE
DMX_DEFINES = \
$(EXTENSIONS_NOT_SUPPORTED) \
$(EXT_TEMP_NOT_SUPPORTED) \
-UXFree86LOADER
XCOMM MITSHM -- works but doesn't quite do what people think it should
XCOMM DPMSExtension -- compiled in but is non-functional
XCOMM MITMISC provides legacy support for X11R1,2 applications. Disable.
XCOMM platform: $Xorg: fujitsu.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
#ifndef OSName
# define OSName DefaultOSName
#endif
#ifndef OSMajorVersion
# define OSMajorVersion DefaultOSMajorVersion
#endif
#ifndef OSMinorVersion
# define OSMinorVersion DefaultOSMinorVersion
#endif
XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion)
#define PatheticCpp YES
#ifdef SparcArchitecture
#define BootstrapCFlags -D__uxp__
#define StandardDefines -D__uxp__ -DSVR4 -DANSICPP
#define StandardCppDefines -D__uxp__ -DSVR4 -DANSICPP
#define CppCmd /usr/ccs/lib/cpp
#ifndef ArCmdBase
# define ArCmdBase /usr/ccs/bin/ar
#endif
#ifndef AsCmd
# define AsCmd /usr/ccs/bin/as
#endif
#ifndef CcCmd
# define CcCmd /usr/ccs/bin/cc
#endif
#ifndef CplusplusCmd
# define CplusplusCmd /opt/uxpcplus/bin/CC
#endif
#ifndef CplusplusFilt
# define CplusplusFilt /opt/uxpcplus/bin/c++filt
#endif
#ifndef CplusplusDependIncludes
# define CplusplusDependIncludes -I/opt/uxpcplus/include/CC
#endif
#ifndef LdCmd
# define LdCmd /usr/ccs/bin/ld
#endif
#ifndef LexCmd
# define LexCmd /usr/ccs/bin/lex
#endif
#ifndef YaccCmd
# define YaccCmd /usr/ccs/bin/yacc
#endif
#define BuildLibPathVar LD_LIBRARY_PATH
#define SystemV4 YES
#define HasSockets YES
#define DBMLibrary /* ndbm modules are in -lc */
#define HasNdbm YES
#ifndef HasLdRunPath
#define HasLdRunPath YES
#endif
#define BuildServer NO
#include <sv4Lib.rules>
#endif
#ifdef mc68000Architecture
#define BootstrapCFlags -D__sxg__
#define StandardDefines -D__sxg__ -DSYSV -DUSG -DNOSTDHDRS -I/usr/xwin/include
#define StandardCppDefines -D__sxg__ -DSYSV -DUSG -DNOSTDHDRS -I/usr/xwin/include
#define LnCmd ln
#define DoRanlibCmd NO
#define DefaultCCOptions +Z384
#define ExtraLibraries -lXbsd -lsocket -lu
#define TermcapLibrary -lcurses
#define BuildServer NO
#define HasSymLinks NO
#define HasVFork NO
#define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
#endif
#define GencatFlags -m
#define DtSvcDefines -DXK_MISCELLANY -DMULTIBYTE -DNO_REGCOMP -DHAVE_PTMS
#define DtSearchDefines -DI18N_MSG DtSvcDefines -DNEED_STRCASECMP
#define DtWidgetDefines DtSearchDefines
#define ArchitectureDefines -DUXP_ARCHITECTURE
#define CdeProjectDefines \
-DMULTIBYTE -DNLS16 \
-DOSMAJORVERSION=OSMajorVersion -DOSMINORVERSION=OSMinorVersion
XCOMM platform: $Xorg: generic.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
#ifndef OSName
#define OSName Unknown Operating System
#endif
XCOMM operating system: OSName
#ifndef OSMajorVersion
#define OSMajorVersion 0
#endif
#ifndef OSMinorVersion
#define OSMinorVersion 0
#endif
#ifdef SYSV
#define SystemV YES
#endif
#ifdef SVR4
#define SystemV4 YES
#endif
#define BuildServer NO
XCOMM platform: $XFree86: xc/config/cf/gnu.cf,v 1.12 2003/11/24 02:02:26 dawes Exp $
XCOMM $XdotOrg: xc/config/cf/gnu.cf,v 1.3 2005/02/09 04:09:54 gisburn Exp $
#ifndef OSName
#define OSName DefaultOSName
#endif
#ifndef OSVendor
#define OSVendor /**/
#endif
#ifndef OSMajorVersion
#define OSMajorVersion DefaultOSMajorVersion
#endif
#ifndef OSMinorVersion
#define OSMinorVersion DefaultOSMinorVersion
#endif
#ifndef OSTeenyVersion
#define OSTeenyVersion DefaultOSTeenyVersion
#endif
XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
#define GNUSourceDefines -D_POSIX_C_SOURCE=199309L \
-D_POSIX_SOURCE -D_XOPEN_SOURCE \
-D_BSD_SOURCE -D_SVID_SOURCE
XCOMM XXXMB: What about _GNU_SOURCE, see Linux/UseInstalled?
#define XawI18nDefines -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H
#define HasPosixThreads YES
#define ThreadedX YES
#define HasThreadSafeAPI YES
#define ThreadsLibraries -lpthread
#define SystemMTDefines -D_REENTRANT
#ifndef HasLibCrypt
#define HasLibCrypt YES
#endif
#ifndef BuildXF86RushExt
# define BuildXF86RushExt YES
#endif
#define BuildLibPathVar LD_LIBRARY_PATH
#define GccUsesGas YES
#define UseGas YES
#define GnuCpp YES
#define HasDlopen YES
#ifndef HasShadowPasswd
# define HasShadowPasswd YES
#endif
#define HasPutenv YES
XCOMM Not implemented and will always fail.
#ifndef HasShm
# define HasShm YES
#endif
#define HasBSD44Sockets YES
#define HasSockets YES
#define HasSnprintf YES
#define HasMkstemp YES
#define HasUsableFileMmap YES
#ifndef HasNCurses
#define HasNCurses YES
#endif
#define AvoidNullMakeCommand YES
#ifndef DebuggableLibraries
#define DebuggableLibraries NO
#endif
#define CompressAllFonts YES
#define Malloc0ReturnsNull YES
#define NeedConstPrototypes YES
#define NeedFunctionPrototypes YES
#define NeedNestedPrototypes YES
#define NeedVarargsPrototypes YES
#ifndef NeedWidePrototypes
#define NeedWidePrototypes NO
#endif
#define SetTtyGroup YES
#ifndef UseStaticTermcapLib
#define UseStaticTermcapLib NO
#endif
#define MkdirHierCmd mkdir -p
#ifndef CcCmd
#define CcCmd gcc
#endif
#ifndef AsCmd
#define AsCmd as
#endif
#ifndef LdCmd
#define LdCmd ld
#endif
#define AsmDefines -D__ELF__
#define CplusplusCmd c++
#ifndef TermcapLibrary
#if UseStaticTermcapLib
#define TermcapLibrary StaticLibrary(/usr/lib,ncurses)
#else
#define TermcapLibrary -lncurses
#endif
#endif
#ifndef DoLoadableServer
#define DoLoadableServer YES
#endif
#ifndef CppCmd
#define CppCmd /lib/cpp
#endif
#define YaccCmd bison -y
#define LexCmd flex -l
#define HasFlex YES
#define LexLib -lfl
#define PreProcessCmd CcCmd -E
#define PostIncDir DefaultGccIncludeDir
#define LdCombineFlags -r
#ifndef LdPostLib
#define LdPostLib /* Never needed */
#endif
#define HasWChar32 YES
#define StandardCppOptions -traditional
#define StandardCppDefines StandardDefines
#define HasVarRun YES
#define VarDbDirectory $(VARDIR)/lib
XCOMM i386Architecture
#define OptimizedCDebugFlags DefaultGcc2i386Opt
#define GNUMachineDefines -D__i386__
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
#define HasPlugin YES
#define VendorHasX11R6_3libXext YES
#ifndef StandardDefines
#define StandardDefines GNUMachineDefines GNUSourceDefines
#endif
#define DlLibrary -rdynamic -ldl
#define ServerExtraSysLibs /**/
#define ConnectionFlags -DUNIXCONN -DTCPCONN
/* Some of these man page defaults are overriden in the above OS sections */
#ifndef ManSuffix
# define ManSuffix 1x
#endif
#ifndef ManDir
# define ManDir $(MANSOURCEPATH)1
#endif
#ifndef LibManSuffix
# define LibManSuffix 3x
#endif
#ifndef LibmanDir
# define LibmanDir $(MANSOURCEPATH)3
#endif
#ifndef FileManSuffix
# define FileManSuffix 5x
#endif
#ifndef FileManDir
# define FileManDir $(MANSOURCEPATH)5
#endif
#ifndef StaticLibrary
#define StaticLibrary(libpath,libname) -Wl,-Bstatic Concat(-L,libpath) Concat(-l,libname) -Wl,-Bdynamic
#endif
#define HasGnuMake YES
#define MakeNamedTargetSubdir(dir,flags,subname)\
$(MAKE) -C dir $(MFLAGS) $(PARALLELMFLAGS) flags subname
#define ArchitectureDefines -DGNU_ARCHITECTURE
#define XserverNeedsSetUID YES
#include <gnuLib.rules>
XCOMM XXX Might need this if they are not careful with slashes.
XCOMM #define DirFailPrefix -
#include <xorg.cf>
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment