head	1.2;
access;
symbols
	netbsd-7-2-RELEASE:1.1.1.6
	netbsd-7-1-2-RELEASE:1.1.1.6
	netbsd-7-1-1-RELEASE:1.1.1.6
	netbsd-7-1:1.1.1.6.0.40
	netbsd-7-1-RELEASE:1.1.1.6
	netbsd-7-1-RC2:1.1.1.6
	netbsd-7-1-RC1:1.1.1.6
	netbsd-7-0-2-RELEASE:1.1.1.6
	netbsd-7-0-1-RELEASE:1.1.1.6
	netbsd-7-0:1.1.1.6.0.38
	netbsd-7-0-RELEASE:1.1.1.6
	netbsd-7-0-RC3:1.1.1.6
	netbsd-7-0-RC2:1.1.1.6
	netbsd-7-0-RC1:1.1.1.6
	netbsd-5-2-3-RELEASE:1.1.1.6
	netbsd-5-1-5-RELEASE:1.1.1.6
	netbsd-6-0-6-RELEASE:1.1.1.6
	netbsd-6-1-5-RELEASE:1.1.1.6
	netbsd-7:1.1.1.6.0.36
	netbsd-7-base:1.1.1.6
	netbsd-6-1-4-RELEASE:1.1.1.6
	netbsd-6-0-5-RELEASE:1.1.1.6
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.6
	riastradh-drm2:1.1.1.6.0.34
	riastradh-drm2-base:1.1.1.6
	netbsd-6-1-3-RELEASE:1.1.1.6
	netbsd-6-0-4-RELEASE:1.1.1.6
	netbsd-5-2-2-RELEASE:1.1.1.6
	netbsd-5-1-4-RELEASE:1.1.1.6
	netbsd-6-1-2-RELEASE:1.1.1.6
	netbsd-6-0-3-RELEASE:1.1.1.6
	netbsd-5-2-1-RELEASE:1.1.1.6
	netbsd-5-1-3-RELEASE:1.1.1.6
	netbsd-6-1-1-RELEASE:1.1.1.6
	netbsd-6-1:1.1.1.6.0.32
	netbsd-6-0-2-RELEASE:1.1.1.6
	netbsd-6-1-RELEASE:1.1.1.6
	netbsd-6-1-RC4:1.1.1.6
	netbsd-6-1-RC3:1.1.1.6
	netbsd-6-1-RC2:1.1.1.6
	netbsd-6-1-RC1:1.1.1.6
	netbsd-5-2:1.1.1.6.0.30
	netbsd-6-0-1-RELEASE:1.1.1.6
	netbsd-5-2-RELEASE:1.1.1.6
	netbsd-5-2-RC1:1.1.1.6
	netbsd-6-0:1.1.1.6.0.28
	netbsd-6-0-RELEASE:1.1.1.6
	netbsd-6-0-RC2:1.1.1.6
	netbsd-6-0-RC1:1.1.1.6
	netbsd-6:1.1.1.6.0.26
	netbsd-6-base:1.1.1.6
	netbsd-5-1-2-RELEASE:1.1.1.6
	netbsd-5-1-1-RELEASE:1.1.1.6
	netbsd-5-1:1.1.1.6.0.24
	netbsd-5-1-RELEASE:1.1.1.6
	netbsd-5-1-RC4:1.1.1.6
	netbsd-5-1-RC3:1.1.1.6
	netbsd-5-1-RC2:1.1.1.6
	netbsd-5-1-RC1:1.1.1.6
	netbsd-5-0-2-RELEASE:1.1.1.6
	netbsd-5-0-1-RELEASE:1.1.1.6
	netbsd-5-0:1.1.1.6.0.22
	netbsd-5-0-RELEASE:1.1.1.6
	netbsd-5-0-RC4:1.1.1.6
	netbsd-5-0-RC3:1.1.1.6
	netbsd-5-0-RC2:1.1.1.6
	netbsd-5-0-RC1:1.1.1.6
	netbsd-5:1.1.1.6.0.20
	netbsd-5-base:1.1.1.6
	netbsd-4-0-1-RELEASE:1.1.1.6
	netbsd-4-0:1.1.1.6.0.18
	netbsd-4-0-RELEASE:1.1.1.6
	netbsd-4-0-RC5:1.1.1.6
	netbsd-4-0-RC4:1.1.1.6
	netbsd-4-0-RC3:1.1.1.6
	netbsd-4-0-RC2:1.1.1.6
	netbsd-4-0-RC1:1.1.1.6
	netbsd-3-1-1-RELEASE:1.1.1.6
	netbsd-3-0-3-RELEASE:1.1.1.6
	abandoned-netbsd-4-base:1.1.1.6
	abandoned-netbsd-4:1.1.1.6.0.12
	netbsd-3-1:1.1.1.6.0.14
	netbsd-3-1-RELEASE:1.1.1.6
	netbsd-3-0-2-RELEASE:1.1.1.6
	netbsd-3-1-RC4:1.1.1.6
	netbsd-3-1-RC3:1.1.1.6
	netbsd-3-1-RC2:1.1.1.6
	netbsd-3-1-RC1:1.1.1.6
	netbsd-4:1.1.1.6.0.16
	netbsd-4-base:1.1.1.6
	netbsd-3-0-1-RELEASE:1.1.1.6
	netbsd-3-0:1.1.1.6.0.10
	netbsd-3-0-RELEASE:1.1.1.6
	netbsd-3-0-RC6:1.1.1.6
	netbsd-3-0-RC5:1.1.1.6
	netbsd-3-0-RC4:1.1.1.6
	netbsd-3-0-RC3:1.1.1.6
	netbsd-3-0-RC2:1.1.1.6
	netbsd-3-0-RC1:1.1.1.6
	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
	v4-5-0:1.1.1.6
	v4-5-0_beforeimport:1.1.1.6
	netbsd-3:1.1.1.6.0.6
	netbsd-3-base:1.1.1.6
	netbsd-2-0-1-RELEASE:1.1.1.6
	netbsd-2:1.1.1.6.0.4
	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.2
	netbsd-2-0-base:1.1.1.6
	v4-4-0:1.1.1.6
	v4-4-0_beforeimport:1.1.1.5
	netbsd-1-6-PATCH002-RELEASE:1.1.1.5
	netbsd-1-6-PATCH002:1.1.1.5
	netbsd-1-6-PATCH002-RC4:1.1.1.5
	v4-3-0-2003-12-19:1.1.1.5
	netbsd-1-6-PATCH002-RC3:1.1.1.5
	netbsd-1-6-PATCH002-RC2:1.1.1.5
	netbsd-1-6-PATCH002-RC1:1.1.1.5
	netbsd-1-6:1.1.1.5.0.2
	netbsd-1-6-base:1.1.1.5
	v4-3-0:1.1.1.5
	v4-3-0_beforeimport:1.1.1.4
	netbsd-1-6-PATCH001:1.1.1.4
	netbsd-1-6-RELEASE:1.1.1.4
	v4-2-1:1.1.1.4
	v4-2-1_beforeimport:1.1.1.4
	netbsd-1-5-PATCH003:1.1.1.4
	v4-2-0:1.1.1.4
	netbsd-1-5-PATCH002:1.1.1.3
	netbsd-1-5-PATCH001:1.1.1.2
	v4-1-0:1.1.1.3
	v4-0-3:1.1.1.2
	v4-0-2:1.1.1.1
	XF86:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2015.07.23.08.12.32;	author mrg;	state dead;
branches;
next	1.1;
commitid	3Fk7MoycOv7VSnuy;

1.1
date	2001.01.01.12.43.50;	author veego;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.01.01.12.43.50;	author veego;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.03.18.16.55.37;	author veego;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2001.06.09.14.52.45;	author tron;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2002.01.19.14.53.05;	author tron;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	2003.02.28.13.18.41;	author tron;	state Exp;
branches;
next	1.1.1.6;

1.1.1.6
date	2004.03.05.14.23.50;	author tron;	state Exp;
branches;
next	;


desc
@@


1.2
log
@remove obsolete XFree86 sources.
@
text
@# $TOG: Makefile /main/37 1998/02/17 14:30:04 kaleb $
# $XFree86: xc/Makefile,v 3.16 2000/03/22 21:23:30 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) -DBootStrap

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) $@@
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Initial import of XFree86 4.x
@
text
@@


1.1.1.2
log
@Import of XFree86 4.0.3
@
text
@d2 1
a2 1
# $XFree86: xc/Makefile,v 3.15 1999/08/14 10:48:56 dawes Exp $
@


1.1.1.3
log
@Import of XFree86 4.1.0.
@
text
@d1 2
a2 5
# $Xorg: Makefile,v 1.5 2000/08/17 19:41:44 cpqbld Exp $



# $XFree86: xc/Makefile,v 3.21 2001/03/03 22:03:43 tsi Exp $
d7 1
a7 1
RELEASE = "Release 6.5"
a48 5
	@@if [ -f xmakefile ]; then \
	    $(MAKE_CMD) -k distclean || \
	    $(MAKE_CMD) -k clean || \
	    $(RM) xmakefile; \
	fi
a59 3
	@@if [ ! -f $(IRULESRC)/version.def ]; then \
	    echo "" > $(IRULESRC)/version.def; \
	fi
a62 1
	$(MAKE_CMD) $(MFLAGS) version.def
d64 1
a64 1
	$(MAKE_CMD) $(MFLAGS) BOOTSTRAPSUBDIRS= clean
a80 1
	$(RM) $(IMAKESRC)/Makefile.proto
a108 1
	$(RM) xmakefile
a170 3
distclean:
	    $(MAKE_CMD) $@@
	    $(RM) xmakefile $(IRULESRC)/version.def
@


1.1.1.4
log
@Import of XFree86 4.2.0.
@
text
@d5 1
a5 1
# $XFree86: xc/Makefile,v 3.22 2001/12/19 21:37:26 dawes Exp $
d10 1
a10 1
RELEASE = "Release 6.6"
@


1.1.1.5
log
@Import of XFree86 4.3.0.
@
text
@d5 1
a5 1
# $XFree86: xc/Makefile,v 3.27 2003/02/26 09:21:31 dawes Exp $
a28 3
VERSINC = -Iprograms/Xserver/hw/xfree86
VERSSRC = $(CONFIGSRC)/util/printver.c
VERSPROG = $(CONFIGSRC)/util/printver.exe
a41 2
	@@$(RM) $(VERSPROG)
	@@$(CC) $(VERSINC) -o $(VERSPROG) $(VERSSRC)
d43 1
a43 1
	@@echo Building XFree86`$(VERSPROG)`.
a44 1
	@@$(RM) $(VERSPROG)
a70 3
	@@if [ ! -f $(IRULESRC)/date.def ]; then \
	    echo "" > $(IRULESRC)/date.def; \
	fi
d73 1
a74 2
	$(MAKE) $(MFLAGS) Makefile.boot
	$(MAKE_CMD) $(MFLAGS) VerifyOS
d83 1
a83 4
	@@$(RM) $(VERSPROG)
	@@$(CC) $(VERSINC) -o $(VERSPROG) $(VERSSRC)
	@@echo Full build of XFree86`$(VERSPROG)` complete.
	@@$(RM) $(VERSPROG)
d127 1
a127 1
	@@echo Building XFree86.
d149 1
a149 1
	@@echo Full build of XFree86 complete.
d154 1
a154 1
	@@echo Building XFree86 on OS/2.
d171 1
a171 1
	@@echo Full build of XFree86 on OS/2 complete.
d187 1
a187 1
	    $(RM) xmakefile $(IRULESRC)/version.def $(IRULESRC)/date.def
@


1.1.1.6
log
@Import of XFree86 4.4.0.
@
text
@d5 1
a5 1
# $XFree86: xc/Makefile,v 3.29 2003/10/21 17:41:43 tsi Exp $
d14 1
a14 1
WORLDOPTS =
d125 1
a125 1
	cd $(IMAKESRC) && $(MAKE) -f Makefile.proto imakeonly
d181 1
a181 1
	$(MAKE) $(MFLAGS)
@


