Commit 504880db authored by daryll's avatar daryll
Browse files

Initial revision

parents
This diff is collapsed.
XCOMM $TOG: Imakefile /main/138 1997/12/29 16:37:30 kaleb $
XCOMM $XFree86: xc/Imakefile,v 3.17 1998/10/06 09:55:46 dawes Exp $
#define IHaveSubdirs
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)"
RELEASE = "Release 6.4"
#ifndef OSName
#define OSName Unknown Operating System!
#endif
#if !BuildServersOnly
#if BuildFonts
FONTSDIR = fonts
#endif
#ifndef Win32Architecture
DOCSDIR = doc
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
#ifndef Win32Architecture
#ifndef OS2Architecture
VerifyOS::
@echo ""
@echo Building on OSName "("OSMajorVersion"."OSMinorVersion"."OSTeenyVersion")."
@echo ""
#ifdef LinuxArchitecture
@echo Linux Distribution: LinuxDistName
@echo libc version: LinuxCLibMajorVersion"."LinuxCLibMinorVersion"."LinuxCLibTeenyVersion
@echo binutils version: `expr LinuxBinUtilsMajorVersion / 10`.`expr LinuxBinUtilsMajorVersion % 10`
@echo ""
#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 clean
find . -type l -exec rm {} \;
find . \( \! \( -type d -o -name Makefile \) \) -print
#else /* OS2Architecture */
VerifyOS::
@echo :
@echo Building on OSName.
@echo :
includes::
MakeDir($(subst /,\,$(BUILDINCDIR)))
XCOMM
XCOMM Watch out!!! Make sure you do make includes after removing X11....
XCOMM
clean::
$(RM) -r $(BUILDINCDIR)
$(RM) -r $(BUILDLIBDIR)
Everything::
@echo :
@echo Building $(RELEASE) of the X Window System on OS/2
@echo :
@echo :
\indir $(IMAKESRC) $(MAKE) $(MFLAGS) SHELL= -f Makefile.ini BOOTSTRAPCFLAGS=-Zexe
if exist Makefile.bak del Makefile.bak
if exist MAkefile ren Makefile Makefile.bak
$(MAKE) $(MFLAGS) -f Makefile.bak Makefile
$(MAKE) $(MFLAGS) SHELL= VerifyOS
$(MAKE) $(MFLAGS) SHELL= Makefiles
$(MAKE) $(MFLAGS) SHELL= clean
$(MAKE) $(MFLAGS) SHELL= includes
$(MAKE) $(MFLAGS) SHELL= depend
$(MAKE) $(MFLAGS)
@echo :
@echo :
@echo Rebuild of $(RELEASE) of the X Window System complete.
@echo :
#ifdef ProjectRoot
install::
MakeDir($(subst /,\,$(PROJECTROOT)))
#endif
install::
MakeDir($(subst /,\,$(INCROOT)))
MakeDir($(subst /,\,$(USRLIBDIR)))
MakeDir($(subst /,\,$(LIBDIR)))
#endif
#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
#undef BootstrapCleanSubdirs
#define BootstrapCleanSubdirs BOOTSTRAPSUBDIRS="$(BOOTSTRAPSUBDIRS)"
BOOTSTRAPSUBDIRS = imake makedepend
X Window System, Version 11
Release 6.4
Portions Copyright by:
The Open Group
and
Mark Adler
Adobe Systems Incorporated
AGE Logic, Inc.
Gerrit Jan Akkerman
Corin Anderson
Doug Anson
Apollo Computer Inc.
Ares Software Corp.
ATI
AT&T, Inc.
Robert V. Baron
David Bateman
Bigelow & Holmes
Bitstream, Inc.
Jon Block
Adam de Boor
Manfred Brands
Richard Burdick
Cognition Corp.
Simon P. Cooper
Rgis Cridlig
Robin Cutshaw
Daniver Limited
Daewoo Electronics Co.,Ltd.
Data General Corporation
David Dawes
Jorge Delgado
Digital Equipment Corporation
Evans & Sutherland Computer Corporation
Rickard E. Faith
Erik Fortune
Free Software Foundation, Inc.
Joseph Friedman
Fuji Xerox Co., Ltd.
Fujitsu Limited
Fujitsu Open Systems Solutions, Inc.
Jean-loup Gailly
Tiago Gons
Pascal Haible
Harm Hanemaayer
Randy Hendry
Matthieu Herrb
Hewlett-Packard Company
Hitachi, Ltd.
Dirk Hohndel
David Holland
Philip Homburg
Alan Hourihane
IBM Corporation
The Institute of Software, Academia Sinica
INTERACTIVE Systems Corporation
Kaleb S. Keithley
Jeff Kirk
Harald Koenig
Marc Aurele La France
Glenn G. Lai
Scott Laird
Thomas G. Lane
Steven Lang
Harry Langenbacher
Patrick Lecoanet
Sam Leffler
Frederic Lepied
Lexmark International, Inc.
Sebastien Marineau
Michael P. Marking
Kevin E. Martin
Davor Matic
David McCullough
David J. McKay
MIPS Computer Systems, Inc.
Joseph V. Moss
Thomas Mueller
Rich Murphey
NCR Corporation, Inc.
Netscape Communications
Network Computing Devices, Inc.
Novell, Inc.
NTT Software Corporation
Number Nine Computer Corp.
NVIDIA Corp.
Erik Nygren
Hans Oey
Kazuyuki (ikko-) Okamoto
Oki Technosystems Laboratory, Inc.
OMRON Corporation
Open Software Foundation
Panacea Inc.
Prentice Hall
Quarterdeck Office Systems
Regents of the University of California
Bill Reynolds
Thomas Roell
The Santa Cruz Operation, Inc.
Dale Schumacher
Paolo Severini
ShoGraphics, Inc.
Silicon Graphics Computer Systems, Inc.
Sony Corporation
SRI
Craig Struble
Sun Microsystems, Inc.
SunSoft, Inc.
Tektronix, Inc.
Finn Thoegersen
Gerry Toll
Jon Tombs
Linus Torvalds
TOSHIBA Corp.
Peter Trattler
James Tsillas
UniSoft Group Limited
UNIX System Laboratories, Inc.
Holger Veit
Vrije Universiteit
Larry Wall
David E. Wexelblat
Thomas Wolfram
Henry A. Worth
Wyse Technology, Inc.
The XFree86 Project, Inc.
Ming Yu
Orest Zborowski
# $TOG: Makefile /main/37 1998/02/17 14:30:04 kaleb $
# $XFree86: xc/Makefile,v 3.15 1999/08/14 10:48:56 dawes Exp $
# Luna users will need to either run make as "make MAKE=make"
# or add "MAKE = make" to this file.
RELEASE = "Release 6.4"
SHELL = /bin/sh
RM = rm -f
MV = mv
WORLDOPTS = -k
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)"
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:
@echo ""
@echo Building $(RELEASE) of the X Window System.
@echo ""
@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 $(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
cd $(IMAKESRC) && $(MAKE) $(FLAGS) clean
$(MAKE) $(MFLAGS) Makefile.boot
$(MAKE_CMD) $(MFLAGS) VerifyOS
$(MAKE_CMD) $(MFLAGS) Makefiles
$(MAKE_CMD) $(MFLAGS) clean BOOTSTRAPSUBDIRS=
$(MAKE_CMD) $(MFLAGS) includes
$(MAKE_CMD) $(MFLAGS) depend
$(MAKE_CMD) $(MFLAGS) $(WORLDOPTS) World
@echo ""
@date
@echo ""
@echo Full build of $(RELEASE) of the X Window System complete.
@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
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)
imake.bootstrap: $(IMAKESRC)/Makefile.proto
cd $(IMAKESRC) && $(MAKE) -f Makefile.proto bootstrapdepend
cd $(IMAKESRC) && $(MAKE) $(FLAGS) bootstrap
cd $(IMAKESRC) && $(MAKE) -f Makefile.proto all
-@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
$(IMAKE_CMD) -s xmakefile -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
World.Win32:
@echo :
@echo Building $(RELEASE) of the X Window System.
@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) of the X Window System complete.
@echo :
World.OS2:
@echo :
@echo Building $(RELEASE) of the X Window System 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) of the X Window System 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) $@
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) $@
This diff is collapsed.
[PLEASE make your Subject: line as descriptive as possible.
Subjects like "xterm bug" or "bug report" are not helpful!]
[Remove all the explanatory text in brackets before mailing.]
[Send to xbugs@opengroup.org, as shown in the sample message
header below]
To: xbugs@opengroup.org
Subject: [area]: [synopsis] [replace with actual area and short description]
VERSION:
R6.4, public-patch-3
[X Project Team public patches edit this line to indicate the patch level]
CLIENT MACHINE and OPERATING SYSTEM:
[e.g. Sparc/SunOS 5.6, S.u.S.E. Linux 5.0 kernel 2.0.30, etc.]
DISPLAY TYPE:
[e.g. Xsun, Xhp, Xdec, XF86_*, /usr/openwin/bin/Xsun, etc. ]
WINDOW MANAGER:
[e.g. twm, mwm, fvwm95, enlightenment, etc.]
COMPILER:
[e.g. native ANSI cc, native cc, ecgs 1.0, etc.]
AREA:
[Area of the source tree affected,
e.g., Xserver, Xlib, Xt, Xaw, PEX, twm, xterm, xmh, config, ....
Please only one area per bug report.]
SYNOPSIS:
[Brief description of the problem and where it is located]
DESCRIPTION:
[Detailed description of problem. Don't presume that the bug
is self evident. If possible cite specification references (X,
ANSI/POSIX/ISO, X/Open, etc.) to support why it is a bug. For
program crashes a little bit of analysis about why a NULL pointer
was dereferenced or why a buffer overflowed goes a long way.
If this is a request for an enhancement, justify it.]
REPEAT BY:
[What you did to get the error; include test program or session
transcript if at all possible. Be specific -- if we can't reproduce
it, we can't fix it. Don't just say "run this program and it will
be obvious," tell us exactly what we should see when the program
is run. Bug reports without a clear, deterministic way of reproducing
them will be fixed only after all bug reports that do.]
SAMPLE FIX:
[Please send context diffs (`diff -c original-file fixed-file`).
Be sure to include the "XConsortium" or "TOG" ident line in any
diffs -- the best way to do this is to add your own versioning
line immediately after ours.]
XCOMM $XConsortium: Imakefile /main/6 1996/09/28 16:04:42 rws $
#define IHaveSubdirs
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)"
#undef BootstrapCleanSubdirs
#define BootstrapCleanSubdirs BOOTSTRAPSUBDIRS="$(BOOTSTRAPSUBDIRS)"
BOOTSTRAPSUBDIRS = imake makedepend
SUBDIRS = cf $(BOOTSTRAPSUBDIRS) util
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
XCOMM platform: $XConsortium: Amoeba.cf /main/12 1996/09/28 16:04:48 rws $
XCOMM platform: $XFree86: xc/config/cf/Amoeba.cf,v 3.9 1996/12/23 05:50:00 dawes Exp $
/* The presence of this configuration file in the X distribution
* does not imply full support for the system it describes.
* Additional patches from The XFree86 Project, Inc. will be required to
* compile the X distribution on Amoeba. According to them, these patches
* will also be made available at the regular Amoeba ftp site
* ftp.am.cs.vu.nl.
*/
/*
* Configuration file for Amoeba 5.2
*/
#ifndef OSName
#define OSName Amoeba 5.2
#endif
XCOMM operating system: OSName
#ifndef OSMajorVersion
#define OSMajorVersion 5
#endif
#ifndef OSMinorVersion
#define OSMinorVersion 2
#endif
#ifndef OSTeenyVersion
#define OSTeenyVersion 0
#endif
#ifndef OSVendor
#define OSVendor Vrije Universiteit
#endif
#define AmoebaArchitecture YES
/* Configuration defaults */
#ifndef AmoebaTop
#define AmoebaTop __AM_TOP__
#endif
#ifndef AmoebaBin
#define AmoebaBin $(ATOP)/bin.sun4
#endif
#ifndef AmoebaConf
#define AmoebaConf __AM_CONF__
#endif
#define HasNdbm YES