head	1.2;
access;
symbols
	netbsd-5-2-3-RELEASE:1.2
	netbsd-5-1-5-RELEASE:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base:1.2
	netbsd-5-2-2-RELEASE:1.2
	netbsd-5-1-4-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.2
	netbsd-5-1-3-RELEASE:1.2
	netbsd-5-2:1.2.0.8
	netbsd-5-2-RELEASE:1.2
	netbsd-5-2-RC1:1.2
	netbsd-5-1-2-RELEASE:1.2
	netbsd-5-1-1-RELEASE:1.2
	netbsd-5-1:1.2.0.6
	netbsd-5-1-RELEASE:1.2
	netbsd-5-1-RC4:1.2
	netbsd-5-1-RC3:1.2
	netbsd-5-1-RC2:1.2
	netbsd-5-1-RC1:1.2
	netbsd-5-0-2-RELEASE:1.2
	netbsd-5-0-1-RELEASE:1.2
	netbsd-5-0:1.2.0.4
	netbsd-5-0-RELEASE:1.2
	netbsd-5-0-RC4:1.2
	netbsd-5-0-RC3:1.2
	netbsd-5-0-RC2:1.2
	netbsd-5-0-RC1:1.2
	netbsd-5:1.2.0.2
	netbsd-5-base:1.2
	netbsd-2-0-3-RELEASE:1.1.1.6
	netbsd-2-1:1.1.1.6.0.8
	netbsd-2-1-RELEASE:1.1.1.6
	netbsd-2-1-RC6:1.1.1.6
	netbsd-2-1-RC5:1.1.1.6
	netbsd-2-1-RC4:1.1.1.6
	netbsd-2-1-RC3:1.1.1.6
	netbsd-2-1-RC2:1.1.1.6
	netbsd-2-1-RC1:1.1.1.6
	netbsd-2-0-2-RELEASE:1.1.1.6
	netbsd-2-0-1-RELEASE:1.1.1.6
	netbsd-2:1.1.1.6.0.6
	netbsd-2-base:1.1.1.6
	netbsd-2-0-RELEASE:1.1.1.6
	netbsd-2-0-RC5:1.1.1.6
	netbsd-2-0-RC4:1.1.1.6
	netbsd-2-0-RC3:1.1.1.6
	netbsd-2-0-RC2:1.1.1.6
	netbsd-2-0-RC1:1.1.1.6
	netbsd-2-0:1.1.1.6.0.4
	netbsd-2-0-base:1.1.1.6
	netbsd-1-6-PATCH002-RELEASE:1.1.1.6
	netbsd-1-6-PATCH002:1.1.1.6
	netbsd-1-6-PATCH002-RC4:1.1.1.6
	netbsd-1-6-PATCH002-RC3:1.1.1.6
	netbsd-1-6-PATCH002-RC2:1.1.1.6
	netbsd-1-6-PATCH002-RC1:1.1.1.6
	netbsd-1-6:1.1.1.6.0.2
	netbsd-1-6-base:1.1.1.6
	netbsd-1-6-PATCH001:1.1.1.6
	netbsd-1-6-RELEASE:1.1.1.6
	netbsd-1-5-PATCH003:1.1.1.6
	netbsd-1-5-PATCH002:1.1.1.6
	netbsd-1-5-PATCH001:1.1.1.6
	xf-3_3-branch-2001-03-05:1.1.1.6
	netbsd-1-5-RELEASE:1.1.1.6
	netbsd-1-4-PATCH003:1.1.1.6
	netbsd-1-4-PATCH002:1.1.1.6
	v3-3-6:1.1.1.6
	comdex-fall-1999:1.1.1.6
	v3-3-5:1.1.1.6
	v3-3-4:1.1.1.6
	netbsd-1-4-PATCH001:1.1.1.5
	netbsd-1-4-RELEASE:1.1.1.5
	v3-3-3-1:1.1.1.5
	netbsd-1-3-PATCH003:1.1.1.5
	v3-3-3:1.1.1.5
	pre-xf86-3-3-3-import:1.1.1.4
	netbsd-1-3-PATCH002:1.1.1.4
	v3-3-2:1.1.1.4
	netbsd-1-3-RELEASE:1.1.1.3
	v3-3-1:1.1.1.3
	v3-3:1.1.1.3
	v3-2:1.1.1.1
	XF86:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2005.01.07.18.51.35;	author tron;	state dead;
branches;
next	1.1;

1.1
date	97.03.15.06.08.21;	author scottr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.03.15.06.08.21;	author scottr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	97.06.30.12.31.50;	author mrg;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	97.07.01.05.45.19;	author mrg;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	98.03.08.09.04.22;	author veego;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	98.11.23.15.32.56;	author veego;	state Exp;
branches;
next	1.1.1.6;

1.1.1.6
date	99.07.20.17.41.54;	author veego;	state Exp;
branches;
next	;


desc
@@


1.2
log
@EOL of XFree86 3.3.6, approved by core@@NetBSD.org
@
text
@# $XConsortium: Makefile /main/33 1996/02/02 19:03:18 gildea $
# $XFree86: xc/Makefile,v 3.5 1996/03/04 04:19:16 dawes Exp $

# Luna users will need to either run make as "make MAKE=make"
# or add "MAKE = make" to this file.

RELEASE = "Release 6.1"
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)"

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 ""
	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.proto $(DEPENDSRC)/Makefile.proto depend.bootstrap $(IMAKESRC)/Makefile.proto imake.bootstrap

imake.proto:
	cd $(IMAKESRC) && $(MAKE) $(FLAGS)
	$(RM) $(DEPENDSRC)/Makefile.proto

$(DEPENDSRC)/Makefile.proto:
	$(IMAKE_CMD) -s $(DEPENDSRC)/Makefile.proto -f $(DEPENDSRC)/Imakefile -DTOPDIR=$(DEPENDTOP) -DCURDIR=$(DEPENDSRC)

depend.bootstrap:
	cd $(DEPENDSRC) && $(RM) -r Makefile Makefile.dep makedepend *.o bootstrap
	cd $(DEPENDSRC) && $(MAKE) -f Makefile.proto bootstrap

$(IMAKESRC)/Makefile.proto:
	$(IMAKE_CMD) -s $(IMAKESRC)/Makefile.proto -f $(IMAKESRC)/Imakefile -DTOPDIR=$(IMAKETOP) -DCURDIR=$(IMAKESRC)

imake.bootstrap:
	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 :
	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
	$(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 :
	\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.linkkit:
	    $(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) $@@
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@XFree86 3.2 sources
@
text
@@


1.1.1.2
log
@XFree86 3.3 sources.
@
text
@d1 177
@


1.1.1.3
log
@re-import XFree86 3.3 xc/Makefile.
@
text
@a0 185
# $XConsortium: Makefile /main/36 1996/11/13 14:42:50 lehors $
# $XFree86: xc/Makefile,v 3.6.2.1 1997/05/03 04:53:19 dawes Exp $

# Luna users will need to either run make as "make MAKE=make"
# or add "MAKE = make" to this file.

RELEASE = "Release 6.3"
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)"

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 \
		echo "" > $(IRULESRC)/host.def; \
	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.proto $(DEPENDSRC)/Makefile.proto depend.bootstrap $(IMAKESRC)/Makefile.proto imake.bootstrap

imake.proto:
	cd $(IMAKESRC) && $(MAKE) $(FLAGS)
	$(RM) $(DEPENDSRC)/Makefile.proto

$(DEPENDSRC)/Makefile.proto:
	$(IMAKE_CMD) -s $(DEPENDSRC)/Makefile.proto -f $(DEPENDSRC)/Imakefile -DTOPDIR=$(DEPENDTOP) -DCURDIR=$(DEPENDSRC)

depend.bootstrap:
	cd $(DEPENDSRC) && $(RM) -r Makefile Makefile.dep makedepend *.o bootstrap
	cd $(DEPENDSRC) && $(MAKE) -f Makefile.proto bootstrap

$(IMAKESRC)/Makefile.proto:
	$(IMAKE_CMD) -s $(IMAKESRC)/Makefile.proto -f $(IMAKESRC)/Imakefile -DTOPDIR=$(IMAKETOP) -DCURDIR=$(IMAKESRC)

imake.bootstrap:
	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.linkkit:
	    $(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) $@@
@


1.1.1.4
log
@XFree86 3.3.2 sources
@
text
@d2 1
a2 1
# $XFree86: xc/Makefile,v 3.6.2.2 1998/02/07 00:44:32 dawes Exp $
d50 1
a50 9
	    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 \
@


1.1.1.5
log
@XFree86 3.3.3 sources
@
text
@d2 1
a2 1
# $XFree86: xc/Makefile,v 3.6.2.3 1998/10/19 20:29:30 hohndel Exp $
d57 2
a58 2
		fi; \
	    fi; \
@


1.1.1.6
log
@XFree86 3.3.4 sources
@
text
@d2 1
a2 1
# $XFree86: xc/Makefile,v 3.6.2.4 1999/06/21 09:44:57 hohndel Exp $
d79 1
a79 2

Makefile.boot: imake.bootstrap
d85 1
a85 1
$(DEPENDSRC)/Makefile.proto: imake.proto
d88 1
a88 1
depend.bootstrap: $(DEPENDSRC)/Makefile.proto
d92 1
a92 1
$(IMAKESRC)/Makefile.proto: depend.bootstrap
d95 1
a95 1
imake.bootstrap: $(IMAKESRC)/Makefile.proto
d98 1
a98 1
	cd $(IMAKESRC) && $(MAKE) -f Makefile.proto all
@


