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.2
	netbsd-2-1:1.1.1.2.0.8
	netbsd-2-1-RELEASE:1.1.1.2
	netbsd-2-1-RC6:1.1.1.2
	netbsd-2-1-RC5:1.1.1.2
	netbsd-2-1-RC4:1.1.1.2
	netbsd-2-1-RC3:1.1.1.2
	netbsd-2-1-RC2:1.1.1.2
	netbsd-2-1-RC1:1.1.1.2
	netbsd-2-0-2-RELEASE:1.1.1.2
	netbsd-2-0-1-RELEASE:1.1.1.2
	netbsd-2:1.1.1.2.0.6
	netbsd-2-base:1.1.1.2
	netbsd-2-0-RELEASE:1.1.1.2
	netbsd-2-0-RC5:1.1.1.2
	netbsd-2-0-RC4:1.1.1.2
	netbsd-2-0-RC3:1.1.1.2
	netbsd-2-0-RC2:1.1.1.2
	netbsd-2-0-RC1:1.1.1.2
	netbsd-2-0:1.1.1.2.0.4
	netbsd-2-0-base:1.1.1.2
	netbsd-1-6-PATCH002-RELEASE:1.1.1.2
	netbsd-1-6-PATCH002:1.1.1.2
	netbsd-1-6-PATCH002-RC4:1.1.1.2
	netbsd-1-6-PATCH002-RC3:1.1.1.2
	netbsd-1-6-PATCH002-RC2:1.1.1.2
	netbsd-1-6-PATCH002-RC1:1.1.1.2
	netbsd-1-6:1.1.1.2.0.2
	netbsd-1-6-base:1.1.1.2
	netbsd-1-6-PATCH001:1.1.1.2
	netbsd-1-6-RELEASE:1.1.1.2
	netbsd-1-5-PATCH003:1.1.1.2
	netbsd-1-5-PATCH002:1.1.1.2
	netbsd-1-5-PATCH001:1.1.1.2
	xf-3_3-branch-2001-03-05:1.1.1.2
	netbsd-1-5-RELEASE:1.1.1.2
	netbsd-1-4-PATCH003:1.1.1.2
	netbsd-1-4-PATCH002:1.1.1.2
	v3-3-6:1.1.1.2
	comdex-fall-1999:1.1.1.2
	v3-3-5:1.1.1.2
	v3-3-4:1.1.1.2
	netbsd-1-4-PATCH001:1.1.1.2
	netbsd-1-4-RELEASE:1.1.1.2
	v3-3-3-1:1.1.1.2
	netbsd-1-3-PATCH003:1.1.1.2
	v3-3-3:1.1.1.2
	pre-xf86-3-3-3-import:1.1.1.2
	netbsd-1-3-PATCH002:1.1.1.2
	v3-3-2:1.1.1.2
	netbsd-1-3-RELEASE:1.1.1.2
	v3-3-1:1.1.1.2
	v3-3:1.1.1.2
	v3-2:1.1.1.1
	XF86:1.1.1;
locks; strict;
comment	@:: @;


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

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

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

1.1.1.2
date	97.06.30.12.33.33;	author mrg;	state Exp;
branches;
next	;


desc
@@


1.2
log
@EOL of XFree86 3.3.6, approved by core@@NetBSD.org
@
text
@/* REXX */
/* $XFree86: xc/config/util/buildos2.cmd,v 3.4 1996/03/10 11:50:46 dawes Exp $
 * this file is supposed to run from the xc/ dir.
 * you must copy it manually to there before using. It is just here
 * in order not to be in the root dir.
 *
 * copy some essential files to a location where we find them again
 */
'@@echo off'
env = 'OS2ENVIRONMENT'
'copy config\util\indir.cmd \ > nul 2>&1'
'copy config\util\mkdirhier.cmd \ > nul 2>&1'
'copy config\imake\imakesvc.cmd \ > nul 2>&1'

IF \(exists('Makefile.os2')) THEN 'COPY Makefile Makefile.os2 >nul 2>&1'

CALL VALUE 'GCCOPT','-pipe',env
CALL VALUE 'EMXLOAD',5,env
CALL VALUE 'MAKEFLAGS','--no-print-directory',env
'emxload x11make.exe gcc.exe rm.exe mv.exe'

'x11make MAKE=x11make SHELL= MFLAGS="MAKE=x11make CC=gcc BOOTSTRAPCFLAGS=-DBSD43 SHELL= " World.OS2 2>&1 | tee buildxc.log'
/* cleanup the mess */
/* del \indir.cmd 
 * del \mkdirhier.cmd
 * del \imakesvc.cmd
 * del \imake.exe
 * del \makedepend.exe
 */

EXIT

/* returns 1, if file exists */
exists:
'DIR "'arg(1)'" >nul 2>&1'
IF rc = 0 THEN return 1
RETURN 0
@


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
@d2 1
a2 1
/* $XFree86: xc/config/util/buildos2.cmd,v 3.7.2.1 1997/05/12 12:52:09 hohndel Exp $
d15 1
a15 4
IF \ exists('config\cf\host.def') THEN
    CALL LINEOUT 'config\cf\host.def',' '

CALL create_makefile
d20 1
a20 2
'emxload -e x11make.exe rm.exe mv.exe'
'emxload -e -gcc -omf'
d23 7
d35 3
a37 79
	IF STREAM(arg(1), 'C', 'QUERY EXISTS') = '' THEN
		RETURN 0
	ELSE
		RETURN 1

create_makefile:
IF exists(Makefile) THEN del Makefile
CALL LINEOUT 'Makefile','RELEASE = "Release 6.3"',1
CALL LINEOUT 'Makefile','SHELL = /bin/sh'
CALL LINEOUT 'Makefile','RM = rm -f'
CALL LINEOUT 'Makefile','MV = mv'
CALL LINEOUT 'Makefile','WORLDOPTS = -k'
CALL LINEOUT 'Makefile','TOP = .'
CALL LINEOUT 'Makefile','CURRENT_DIR = .'
CALL LINEOUT 'Makefile','CONFIGSRC = $(TOP)/config'
CALL LINEOUT 'Makefile','IMAKESRC = $(CONFIGSRC)/imake'
CALL LINEOUT 'Makefile','DEPENDSRC = $(CONFIGSRC)/makedepend'
CALL LINEOUT 'Makefile','DEPENDTOP = ../..'
CALL LINEOUT 'Makefile','IMAKETOP = ../..'
CALL LINEOUT 'Makefile','IRULESRC = $(CONFIGSRC)/cf'
CALL LINEOUT 'Makefile','IMAKE = $(IMAKESRC)/imake'
CALL LINEOUT 'Makefile','IMAKE_CMD = $(IMAKE) -I$(IRULESRC) $(IMAKE_DEFINES)'
CALL LINEOUT 'Makefile','MAKE_OPTS = '
CALL LINEOUT 'Makefile','MAKE_CMD = $(MAKE) $(MAKE_OPTS)'
CALL LINEOUT 'Makefile','FLAGS = $(MFLAGS) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"'
CALL LINEOUT 'Makefile',' '
CALL LINEOUT 'Makefile','World.OS2:'
CALL LINEOUT 'Makefile','	@@echo :'
CALL LINEOUT 'Makefile','	@@echo Building $(RELEASE) of the X Window System on OS/2.'
CALL LINEOUT 'Makefile','	@@echo :'
CALL LINEOUT 'Makefile','	@@echo :'
CALL LINEOUT 'Makefile','	\indir $(IMAKESRC) $(MAKE) SHELL= -f Makefile.ini clean.os2'
CALL LINEOUT 'Makefile','	\indir $(IMAKESRC) $(MAKE) SHELL= CC=gcc -f Makefile.ini imake.os2'
CALL LINEOUT 'Makefile','	-if exist Makefile.bak del Makefile.bak'
CALL LINEOUT 'Makefile','	-if exist Makefile ren Makefile Makefile.bak'
CALL LINEOUT 'Makefile','	$(subst /,\,$(IMAKE)) -I$(IRULESRC) $(IMAKE_DEFINES) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)'
CALL LINEOUT 'Makefile','	$(MAKE) $(MFLAGS) VerifyOS'
CALL LINEOUT 'Makefile','	$(MAKE) $(MFLAGS) Makefiles'
CALL LINEOUT 'Makefile','	$(MAKE) $(MFLAGS) clean'
CALL LINEOUT 'Makefile','	$(MAKE) $(MFLAGS) includes'
CALL LINEOUT 'Makefile','	$(MAKE) $(MFLAGS) depend'
CALL LINEOUT 'Makefile','	$(MAKE) $(MFLAGS)  '
CALL LINEOUT 'Makefile','	@@echo :'
CALL LINEOUT 'Makefile','	@@echo :'
CALL LINEOUT 'Makefile','	@@echo Full build of $(RELEASE) of the X Window System complete.'
CALL LINEOUT 'Makefile','	@@echo :'
CALL LINEOUT 'Makefile',' '
CALL LINEOUT 'Makefile','# dont allow any default rules in this Makefile'
CALL LINEOUT 'Makefile','.SUFFIXES:'
CALL LINEOUT 'Makefile','# quiet "make" programs that display a message if suffix list empty'
CALL LINEOUT 'Makefile','.SUFFIXES: .Dummy'
CALL LINEOUT 'Makefile',' '
CALL LINEOUT 'Makefile','# a copy of every rule that might be invoked at top level'
CALL LINEOUT 'Makefile',' '
CALL LINEOUT 'Makefile','clean:'
CALL LINEOUT 'Makefile','	    $(MAKE_CMD) $@@'
CALL LINEOUT 'Makefile','dangerous_strip_clean:'
CALL LINEOUT 'Makefile','	    $(MAKE_CMD) $@@'
CALL LINEOUT 'Makefile','depend:'
CALL LINEOUT 'Makefile','	    $(MAKE_CMD) $@@'
CALL LINEOUT 'Makefile','Everything:'
CALL LINEOUT 'Makefile','	    $(MAKE_CMD) $@@'
CALL LINEOUT 'Makefile','includes:'
CALL LINEOUT 'Makefile','	    $(MAKE_CMD) $@@'
CALL LINEOUT 'Makefile','install.man:'
CALL LINEOUT 'Makefile','	    $(MAKE_CMD) $@@'
CALL LINEOUT 'Makefile','install:'
CALL LINEOUT 'Makefile','	    $(MAKE_CMD) $@@'
CALL LINEOUT 'Makefile','Makefiles:'
CALL LINEOUT 'Makefile','	    $(MAKE_CMD) $@@'
CALL LINEOUT 'Makefile','man_keywords:'
CALL LINEOUT 'Makefile','	    $(MAKE_CMD) $@@'
CALL LINEOUT 'Makefile','tags:'
CALL LINEOUT 'Makefile','	    $(MAKE_CMD) $@@'
CALL LINEOUT 'Makefile','VerifyOS:'
CALL LINEOUT 'Makefile','	    $(MAKE_CMD) $@@'
CALL LINEOUT 'Makefile',' '
CALL STREAM 'Makefile','c','close'
RETURN
@
