#----------------------------------------------------------------------------
#	Copyright (c) 1985-2001 Phoenix Technologies Ltd.
#	This program contains proprietary and confidential information.  All 
#	rights reserved except as may be permitted by prior written consent.
#
#	Contents: MAKEFILE from MAKE.MAK (by MAKMAKER version 3.15)
#
#	This is a generated file.  Do not check this file in.
#
#----------------------------------------------------------------------------


MAKEFILEIDSTR=$$Header:   K:/nb/archive/nubios/crisis/std.600/make.mav   1.7   31 Jul 2001 17:00:58   BPBuildGp  $$

LOCAL_BINS=	crisboot.bin phlash.exe makeboot.exe minidos.sys \
		minidos.bat fulldos.bat wincris.exe wincris.hlp PHLASH16.exe


all:

!ifdef OVR_INC
ASMOBJ_I=$(ASMOBJ_I) /I$(NUBIOS)\$(OVR_INC)
!endif

# The allsrc: target to execute when user leaves nmake target blank.


!INCLUDE $(NUBIOS)\script.$(NUCORE)\rules2.mak




# ----------------------------------------------------------------------
# Rule for cleaning out all the non-source files
clean:: goclean

# ----------------------------------------------------------------------
# Rule for source code releases to create SOURCID.LST
# If using VCM, the SOURCID.LST is generated by the tool, GVLSTGEN.EXE
# from a GETVER generated raw file.  This is much faster than using
# release.exe to generate the list.
# If you are creating an OEM release with VCM, the BUILD machine will
# create your REBUILD.LST for you. Do not run this target on your
# workstation.
# 
srcrel:: makefile
    $(MTOOLS)\release /rNUBIOS /l

# ----------------------------------------------------------------------
# Rule for PVCS get -- redefine GFLAGS to change default setting of -U
get::
    get $(GFLAGS) *.??v
!IFDEF DEVDIR
    cd ..
    $(MTOOLS)\makevcs NUBIOS
    get $(GFLAGS) *.??v
    cd dev
!ENDIF


# ----------------------------------------------------------------------
# Rules for GETVER utility -- redefine VFLAGS to change options

getver.set:: 
!IFNDEF GETVORG
    @set LOGDIR=$(MAKEDIR)
    @set RCL_FILE=$(RCL_FILE)
    @set RCL_TAG=$(RCL_TAG)
!ENDIF

getver:: getver.set
	@$(MTOOLS)\makevcs.exe NUBIOS
	@$(MTOOLS)\getver.exe $(VFLAGS)
	@$(MTOOLS)\makmaker.exe 
# Retrieve subdirectories
	$(MTOOLS)\$(NMAKE) /NOLOGO /$(MAKEFLAGS) getver2 VFLAGS="$(VFLAGS)" OFLAGS="$(OFLAGS)"

# ----------------------------------------------------------------------
# Rule for GETVER utility -- redefine VFLAGS to change options
getver2::

allincs: \
  $(NUBIOS)\INCLUDE.600\*.inc $(NUBIOS)\INCLUDE\*.inc

#
# doString Target not included Unless Vendor
#
