# $TITLE('MakeFile  VII020AM02 === 01/19/88 ')

#* ***************************** MODULE HEADER **************************** *#
#*									    *#
#*									    *#
#* MACHINE: B20                               OS: BTOS			    *#
#*									    *#
#* DESCRIPTION:								    *#
#*									    *#
#* HISTORY:								    *#
#*									    *#
#* 01/19/88 II020A.02 D. Evans	/* Deleted reference to form.edf in  Editing*#	
#*								/* .obj, InputCmd.obj, and OutputCmd.obj AND*#	
#*								/* added dependency on ce.idf in UserIO.obj *#	
#*								/* as per CTOS 11.2 changes.				*#	
#* 01/06/87 II011A.01 J. Crook	/* Added Forms files needed for build	    *#	
#*									    *#
#* TITLE:  BTOS SYSTEM SOFTWARE						    *#
#*									    *#
#*			PROPRIETARY PROGRAM MATERIAL			    *#
#*									    *#
#* THIS MATERIAL IS PROPRIETARY TO UNISYS CORPORATION AND IS NOT TO BE      *#
#* REPRODUCED, USED OR DISCLOSED EXCEPT IN ACCORDANCE WITH PROGRAM LICENSE  *#
#* OR UPON WRITTEN AUTHORIZATION OF THE PATENT DIVISION OF UNISYS           *#
#* CORPORATION, DETROIT, MICHIGAN 48232, USA.                               *#
#*									    *#
#*									    *#
#* COPYRIGHT (C) 1988 UNISYS CORPORATION                                    *#
#*									    *#
#* UNISYS BELIEVES THAT THE SOFTWARE FURNISHED HEREWITH IS ACCURATE AND     *#
#* RELIABLE, AND MUCH CARE HAS BEEN TAKEN IN ITS PREPARATION.  HOWEVER,     *#
#* NO RESPONSIBILITY, FINANCIAL OR OTHERWISE, CAN BE ACCEPTED FOR ANY       *#
#* CONSEQUENCES ARISING OUT OF THE USE OF THIS MATERIAL, INCLUDING LOSS OF  *#
#* PROFIT, INDIRECT, SPECIAL, OR CONSEQUENTIAL DAMAGES, THERE ARE NO        *#
#* WARRANTIES WHICH EXTEND BEYOND THE PROGRAM SPECIFICATION.                *#
#*									    *#
#* THE CUSTOMER SHOULD EXERCISE CARE TO ASSURE THAT USE OF THE SOFTWARE     *#
#* WILL BE IN FULL COMPLIANCE WITH LAWS, RULES AND REGULATIONS OF THE       *#
#* JURISDICTIONS WITH RESPECT TO WHICH IT IS USED.                          *#
#*									    *#
#*									    *#
#* ************************* END OF MODULE HEADER ************************* *#

# Include  macros used by this makefile.

include [sys]<edf>makefile.inc

# Source file names are stored in variables named xxxFLS where xxx is the
# languages file name suffix.
#	EXAMPLE: OhBoy.plm would be listed under the variable PLMFLS.

PLMFLS=	AddCmd.plm\
	CmdFileEditor.plm\
	DisplayCmds.plm\
	Editing.plm\
	ErcCheck.plm\
	FindCmd.plm\
	GetCmdFile.plm\
	GetCmdNames.plm\
	InitMsg.plm\
	InitScreen.plm\
	InputCmd.plm\
	OutputCmd.plm\
	RemoveCmd.plm\
	SaveFile.plm\
	SoftKey.plm\
	UserIO.plm\
	VerifyFile.plm

ASMFLS= ceCmpCmd.asm\
	ceSamgen.asm\
	ceString.asm

# .SUFFIXES is the list of recognized file suffixes followed by descriptions
# of how to make files with those desciptions.

.SUFFIXES: .obj .plm .asm 

.plm.obj:
	v2.3plm86\n$<\g

.asm.obj:
	assemble\n$<\g

# OBJFLS is the sum of all source files (with the suffix changed to .obj).
# This variable is used by rebuild to force a complete rebuild by deleting all
# the object modules upon which every thing depends.  OBJFLS is used by
# rebuild.

OBJFLS=	$(PLMFLS:.plm=.obj)\
	$(ASMFLS:.asm=.obj)

# RUNFLS is the list of all run files (or other "end products") generated by
# this make file.  RUNFLS is used by update and relink.

RUNFLS=	CmdFileEditor.Run

# LIBFLS if the lists of libraries required for the generation of the various
# "end products."  LIBFLS is used by relib.

LIBFLS= CmdFileEditor.lib

# update "depends" upon on the "end products" generated by this make file.
# Each "end product" must be listed with its dependencies.

update: LEGALIZE $(RUNFLS)

# describe each run files prerequisites and how to build it.

CmdFileEditor.run:[sys]<sys>ctos.lib\
		CmdFileEditor.lib\
		[!sys]<sys>Exec.lib\
		[!sys]<sys>Forms.lib\
		LinkCmdFileEditor.fls\
		CEAddCmd.Form\
		CEEditDisplay.Form\
		CEInput.Form\
		CEOutput.Form
	submit\nLinkCmdFileEditor.sub\n$(version)\g

# create variables which contain the list of needed .obj and .coed files.

CMDFILEEDITORLIB = $(OBJFLS)

# describe each library using the appropriate variables.
# LIBMACRO must be specified after every library definition.

CmdFileEditor.lib: $(CMDFILEEDITORLIB)
	$(LIBMACRO)

# List all object files and there prerequisites.

AddCmd.obj:	AddCmd.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		[sys]<edf>form.edf\
		[sys]<edf>msg.edf\
		ce.idf\
		celit.idf

ceCmpCmd.obj:	ceCmpCmd.asm

ceSamgen.obj:	ceSamgen.asm\
		[sys]<sys>samgen.mdf

ceString.obj:	ceString.asm

CmdFileEditor.obj:	CmdFileEditor.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		ce.idf\
		celit.idf

DisplayCmds.obj:	DisplayCmds.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		[sys]<edf>msg.edf\
		ce.idf\
		celit.idf

Editing.obj:	Editing.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		[sys]<edf>msg.edf\
		ce.idf\
		celit.idf

ErcCheck.obj:	ErcCheck.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		ce.idf\
		celit.idf

FindCmd.obj:	FindCmd.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		ce.idf\
		celit.idf

GetCmdFile.obj:	GetCmdFile.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		ce.idf

GetCmdNames.obj:	GetCmdNames.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		ce.idf\
		celit.idf

InitMsg.obj:	InitMsg.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		[sys]<edf>util.edf\
		[sys]<edf>msg.edf

InitScreen.obj:	InitScreen.plm

InputCmd.obj:	InputCmd.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		[sys]<edf>msg.edf\
		ce.idf\
		celit.idf

OutputCmd.obj:	OutputCmd.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		[sys]<edf>msg.edf\
		ce.idf\
		celit.idf

RemoveCmd.obj:	RemoveCmd.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		ce.idf\
		celit.idf

SaveFile.obj:	SaveFile.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		[sys]<edf>msg.edf\
		ce.idf\
		celit.idf

SoftKey.obj:	SoftKey.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf

UserIO.obj:	UserIO.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		ce.idf\
		celit.idf\
		[sys]<edf>msg.edf

VerifyFile.obj:	VerifyFile.plm\
		[sys]<edf>ctosstructures.edf\
		[sys]<edf>ctostypes.edf\
		[sys]<edf>ctoslib.edf\
		[sys]<edf>msg.edf\
		ce.idf\
		celit.idf

