head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	96.05.06.23.30.19;	author jbevier;	state Exp;
branches;
next	;


desc
@DRTX initial port
@


1.1
log
@Initial revision
@
text
@# ident "Makefile for com_source directory	$Revision$"
# make everything in this directory

all: doco
	make -f make.autost
	make -f make.beep
	make -f make.cdisk
	make -f make.chkdsk
	make -f make.clrscr
	make -f make.cnvbbt
	make -f make.cnvbtb
	make -f make.comjcl
	make -f make.common
	make -f make.dirfix
	make -f make.displ
	make -f make.dmsint
	make -f make.dmsutl
	make -f make.dq
	make -f make.edit
	make -f make.killit
	make -f make.lason
	make -f make.pfhc
	make -f make.pfx
	make -f make.pwd
	make -f make.savit
	make -f make.sdutl
	make -f make.sed
	make -f make.snsclr
	make -f make.sout
	make -f make.statman
	make -f make.tdump
	make -f make.writevsn
	make -f make.zerop
	echo com_source: all object builds complete

doco:
	if [ ! -f make.autost ]; then co -q make.autost; fi
	if [ ! -f make.beep ]; then co -q make.beep; fi
	if [ ! -f make.cdisk ]; then co -q make.cdisk; fi
	if [ ! -f make.chkdsk ]; then co -q make.chkdsk; fi
	if [ ! -f make.clrscr ]; then co -q make.clrscr; fi
	if [ ! -f make.cnvbbt ]; then co -q make.cnvbbt; fi
	if [ ! -f make.cnvbtb ]; then co -q make.cnvbtb; fi
	if [ ! -f make.comjcl ]; then co -q make.comjcl; fi
	if [ ! -f make.common ]; then co -q make.common; fi
	if [ ! -f make.dirfix ]; then co -q make.dirfix; fi
	if [ ! -f make.displ ]; then co -q make.displ; fi
	if [ ! -f make.dmsint ]; then co -q make.dmsint; fi
	if [ ! -f make.dmsutl ]; then co -q make.dmsutl; fi
	if [ ! -f make.dq ]; then co -q make.dq; fi
	if [ ! -f make.edit ]; then co -q make.edit; fi
	if [ ! -f make.killit ]; then co -q make.killit; fi
	if [ ! -f make.lason ]; then co -q make.lason; fi
	if [ ! -f make.pfhc ]; then co -q make.pfhc; fi
	if [ ! -f make.pfx ]; then co -q make.pfx; fi
	if [ ! -f make.pwd ]; then co -q make.pwd; fi
	if [ ! -f make.savit ]; then co -q make.savit; fi
	if [ ! -f make.sdutl ]; then co -q make.sdutl; fi
	if [ ! -f make.sed ]; then co -q make.sed; fi
	if [ ! -f make.snsclr ]; then co -q make.snsclr; fi
	if [ ! -f make.sout ]; then co -q make.sout; fi
	if [ ! -f make.statman ]; then co -q make.statman; fi
	if [ ! -f make.tdump ]; then co -q make.tdump; fi
	if [ ! -f make.writevsn ]; then co -q make.writevsn; fi
	if [ ! -f make.zerop ]; then co -q make.zerop; fi

clean: doco
	make -f make.autost clean
	make -f make.beep clean
	make -f make.cdisk clean
	make -f make.chkdsk clean
	make -f make.clrscr clean
	make -f make.cnvbbt clean
	make -f make.cnvbtb clean
	make -f make.comjcl clean
	make -f make.common clean
	make -f make.dirfix clean
	make -f make.displ clean
	make -f make.dmsint clean
	make -f make.dmsutl clean
	make -f make.dq clean
	make -f make.edit clean
	make -f make.killit clean
	make -f make.lason clean
	make -f make.pfhc clean
	make -f make.pfx clean
	make -f make.pwd clean
	make -f make.savit clean
	make -f make.sdutl clean
	make -f make.sed clean
	make -f make.snsclr clean
	make -f make.sout clean
	make -f make.statman clean
	make -f make.tdump clean
	make -f make.writevsn clean
	make -f make.zerop clean

depend: doco
	make -f make.autost depend
	make -f make.beep depend
	make -f make.cdisk depend
	make -f make.chkdsk depend
	make -f make.clrscr depend
	make -f make.cnvbbt depend
	make -f make.cnvbtb depend
	make -f make.comjcl depend
	make -f make.common depend
	make -f make.dirfix depend
	make -f make.displ depend
	make -f make.dmsint depend
	make -f make.dmsutl depend
	make -f make.dq depend
	make -f make.edit depend
	make -f make.killit depend
	make -f make.lason depend
	make -f make.pfhc depend
	make -f make.pfx depend
	make -f make.pwd depend
	make -f make.savit depend
	make -f make.sdutl depend
	make -f make.sed depend
	make -f make.snsclr depend
	make -f make.sout depend
	make -f make.statman depend
	make -f make.tdump depend
	make -f make.writevsn depend
	make -f make.zerop depend

clobber: clean
	make -f make.autost clobber
	make -f make.beep clobber
	make -f make.cdisk clobber
	make -f make.chkdsk clobber
	make -f make.clrscr clobber
	make -f make.cnvbbt clobber
	make -f make.cnvbtb clobber
	make -f make.comjcl clobber
	make -f make.common clobber
	make -f make.dirfix clobber
	make -f make.displ clobber
	make -f make.dmsint clobber
	make -f make.dmsutl clobber
	make -f make.dq clobber
	make -f make.edit clobber
	make -f make.killit clobber
	make -f make.lason clobber
	make -f make.pfhc clobber
	make -f make.pfx clobber
	make -f make.pwd clobber
	make -f make.savit clobber
	make -f make.sdutl clobber
	make -f make.sed clobber
	make -f make.snsclr clobber
	make -f make.sout clobber
	make -f make.statman clobber
	make -f make.tdump clobber
	make -f make.writevsn clobber
	make -f make.zerop clobber
# only delete makefile if not writable
	if [ ! -w make.autost ]; then rm -f make.autost; fi
	if [ ! -w make.beep ]; then rm -f make.beep; fi
	if [ ! -w make.cdisk ]; then rm -f make.cdisk; fi
	if [ ! -w make.chkdsk ]; then rm -f make.chkdsk; fi
	if [ ! -w make.clrscr ]; then rm -f make.clrscr; fi
	if [ ! -w make.cnvbbt ]; then rm -f make.cnvbbt; fi
	if [ ! -w make.cnvbtb ]; then rm -f make.cnvbtb; fi
	if [ ! -w make.comjcl ]; then rm -f make.comjcl; fi
	if [ ! -w make.common ]; then rm -f make.common; fi
	if [ ! -w make.dirfix ]; then rm -f make.dirfix; fi
	if [ ! -w make.displ ]; then rm -f make.displ; fi
	if [ ! -w make.dmsint ]; then rm -f make.dmsint; fi
	if [ ! -w make.dmsutl ]; then rm -f make.dmsutl; fi
	if [ ! -w make.dq ]; then rm -f make.dq; fi
	if [ ! -w make.edit ]; then rm -f make.edit; fi
	if [ ! -w make.killit ]; then rm -f make.killit; fi
	if [ ! -w make.lason ]; then rm -f make.lason; fi
	if [ ! -w make.pfhc ]; then rm -f make.pfhc; fi
	if [ ! -w make.pfx ]; then rm -f make.pfx; fi
	if [ ! -w make.pwd ]; then rm -f make.pwd; fi
	if [ ! -w make.savit ]; then rm -f make.savit; fi
	if [ ! -w make.sdutl ]; then rm -f make.sdutl; fi
	if [ ! -w make.sed ]; then rm -f make.sed; fi
	if [ ! -w make.snsclr ]; then rm -f make.snsclr; fi
	if [ ! -w make.sout ]; then rm -f make.sout; fi
	if [ ! -w make.statman ]; then rm -f make.statman; fi
	if [ ! -w make.tdump ]; then rm -f make.tdump; fi
	if [ ! -w make.writevsn ]; then rm -f make.writevsn; fi
	if [ ! -w make.zerop ]; then rm -f make.zerop; fi

install: all
	make -f make.autost install
	make -f make.beep install
	make -f make.cdisk install
	make -f make.chkdsk install
	make -f make.clrscr install
	make -f make.cnvbbt install
	make -f make.cnvbtb install
	make -f make.comjcl install
	make -f make.common install
	make -f make.dirfix install
	make -f make.displ install
	make -f make.dmsint install
	make -f make.dmsutl install
	make -f make.dq install
	make -f make.edit install
	make -f make.killit install
	make -f make.lason install
	make -f make.pfhc install
	make -f make.pfx install
	make -f make.pwd install
	make -f make.savit install
	make -f make.sdutl install
	make -f make.sed install
	make -f make.snsclr install
	make -f make.sout install
	make -f make.statman install
	make -f make.tdump install
	make -f make.writevsn install
	make -f make.zerop install
	echo com_source: all modules installed on rsx machine

@
