'
' Make File Build Program
'	This submit file constructs a make file given a list of source files
'	and the names of the run file and make file.
'
'	Revision History
'	050189	RLN	Created
'	050989	RLN	Replaced scripts with file names where
'				applicable.
'	052489	RLN	Updated SED and Grep command forms
'	053189	RLN	Replace all occurences of y and n with
'				YES and NO respectively.
'	061589	Removed alpha release messages.
'	070589	RLN	Fixed include file problem where first letter
'				begins with a t.  Fixed object file problem
'				where name contains more than one .  Changed
'				Bind to V6Link
'	070689	RLN	Changed V6Link back to Bind
'	081489	RLN	Removed call to FileList.sub and integrated
'				that functionality into this file.  Removed
'				last path command.
'
Path
'[Volume]             '0
'[Directory]          '1
'[Default file prefix]'2
'[Password]           '3
'[Node]               '
'
Copy
'File from      '[kbd]
'File to        '[vid]
'[Overwrite ok?]'
'[Confirm each?]'


          AF Enter source files to be Made.  AA
Files
'[File list]               '*.c
'[Details?]                'NO
'[Print file]              '[scr]<$>Source.fls
'[Suppress sort?]          'YES
'[Max columns]             '1
1'
Copy
'File from      '[kbd]
'File to        '[vid]
'[Overwrite ok?]'
'[Confirm each?]'


          AF Enter the Run File and MakeFile names to be used.  AA
Submit
'File list           '[sys]<sys>Names.sub
'[Parameters]        '<.run Makefile
'[Force Expansion?]  '
'[Show Expansion?]   '
'[Continue on Error?]'
'[Start After]       '
1'
Awk
'Input file(s)         '[scr]<$>Source.fls
'[Command file]        '[sys]<sys>BMobject.awk
'[Commands]            '
'[List file]           '[scr]<$>AwkObject.fls
'[Field separator]     '.
'
Awk
'Input file(s)         '[scr]<$>Source.fls
'[Command file]        '[sys]<sys>BMuseObject.awk
'[Commands]            '
'[List file]           '[scr]<$>UseObject.fls
'[Field separator]     '.
'
Copy
'File from      '[kbd]
'File to        '@[scr]<$>MakeFile.name
'[Overwrite ok?]'YES
'[Confirm each?]'


 This Makefile was generated by the Build Makefile facility
 Birth Date: d|W*w, *o*dyy *h:0m:0s *a|

 Makefile for '
Append
'File from      '[scr]<$>RunFile.name
'File to        '@[scr]<$>MakeFile.name
'[Confirm each?]'
'
Append
'File from      '[kbd]
'File to        '@[scr]<$>MakeFile.name
'[Confirm each?]'


 Link Options
MAPFILE		= 
PUBLICS		= NO
LINENUMS	= NO
STACK		=
MAXARRAY	=
MINARRAY	=
SYSBUILD	= protected
VERSION		= 
LIB			= 
DSALLOC		= NO
SYMFILE		= 
LDFLAGS		= $(MAPFILE)\n$(PUBLICS)\n$(LINENUMS)\n$(STACK)\n$(MAXARRAY)\n\
			$(MINARRAY)\n$(SYSBUILD)\n$(VERSION)\n$(LIB)\n$(DSALLOC)\n\
			$(SYMFILE)\n

 Global Options
F0DIR	= [sys]<edf>
F1DIR	=
CDIR	= [sys]<h>

CMD	= '
Append
'File from      '[scr]<$>RunFile.name
'File to        '@[scr]<$>MakeFile.name
'[Confirm each?]'
'
Append
'File from      '[kbd]
'File to        '@[scr]<$>MakeFile.name
'[Confirm each?]'

HFILES	= '
Append
'File from      '[kbd]
'File to        '@[scr]<$>MakeFile.name
'[Confirm each?]'

OFILES	= '
Append
'File from      '[scr]<$>UseObject.fls
'File to        '@[scr]<$>MakeFile.name
'[Confirm each?]'
'
Append
'File from      '[kbd]
'File to        '@[scr]<$>MakeFile.name
'[Confirm each?]'


default:$(CMD)

clobber:
	Copy\n [kbd]\n [scr]<$$>obj.fls\n yes\g $(OFILES) $(CMD)\f
	del\n@[scr]<$$>obj.fls\g

$(CMD): $(OFILES) $(LIB)
	Copy\n [kbd]\n [scr]<$$>obj.fls\n yes\g $(OFILES)\f
	Bind\n @[scr]<$$>obj.fls\n $(CMD)\n $(LDFLAGS)\g

$(OFILES): $(HFILES)
'
Grep
'Input file(s)           '@[scr]<$>Source.fls TVC15.XXX
'Search pattern(s)       ''[$][ ]*include'
'[Output file]           '[scr]<$>GrepInclude.fls
'[File names only?]      '
'[Relative line number?] '
'[Count of matches only?]'
'[Case sensitive?]       '
'[Exceptions only?]      '
'[Block number?]         '
'[Suppress errors?]      'YES
'
Awk
'Input file(s)         '[scr]<$>GrepInclude.fls
'[Command file]        '[sys]<sys>MakeBuild.awk
'[Commands]            '
'[List file]           '[scr]<$>AwkInclude.fls
'[Field separator]     '
'
Sed
'Input file(s)              '[scr]<$>AwkInclude.fls
'[Output file]              '[scr]<$>SedInclude.fls
'[Script file]              '[sys]<sys>BMinclude.sed
'[Edit commands]            '
'[Global substitution?]     'YES
'[Suppress default output?] '
'
Append
'File from      '[scr]<$>SedInclude.fls
'File to        '@[scr]<$>MakeFile.name
'[Confirm each?]'
'

02@9?@BOILair
ps__ @o P00_p@op$P*o,_	p3_	<o0F_MoOpQ?VPVY?^dh
kO
Pvo?_P_