/* (C) Copyright International Business Machines Corporation 23 January */
/* 1990.  All Rights Reserved. */
/*  */
/* See the file USERAGREEMENT distributed with this software for full */
/* terms and conditions of use. */
/* File: bsmake*/
/* Author: David F. Bacon*/
/* SCCS Info: @(#)bsmake	1.6 2/8/92*/

/* rules for making bootstrapped sources.  these contain partial type marks.*/
/* when they are compiled with the CPP flag "FullChecking" undefined, they*/
/* generate the bootstrap versions that are incomplete but are fully type*/
/* marked.  when compiled with "FullChecking" defined, they are compelete but*/
/* lack type marks, and must be compiled with the bootstrapping version of the*/
/* type checker.  used by type/bootstrap/Makefile and type/checker/Makefile.*/

stmtchecker.p: $(TCCOMDIR)/stmtchecker.bs
	$(CPP) $(HCPPFLAGS) $(TCCOMDIR)/stmtchecker.bs > stmtchecker.p

interfacecheck.p: $(TCCOMDIR)/interfacecheck.bs
	$(CPP) $(HCPPFLAGS) $(TCCOMDIR)/interfacecheck.bs > interfacecheck.p

recheckinfer.p: $(TCCOMDIR)/recheckinfer.bs
	$(CPP) $(HCPPFLAGS) $(TCCOMDIR)/recheckinfer.bs > recheckinfer.p

type.p: $(TCCOMDIR)/type.bs
	$(CPP) $(HCPPFLAGS) $(TCCOMDIR)/type.bs \
		| sed 's/@TYPEMARK@/#/g' > type.p

qualchecker.p: $(TCCOMDIR)/qualchecker.bs
	$(CPP) $(HCPPFLAGS) $(TCCOMDIR)/qualchecker.bs \
		| sed 's/@TYPEMARK@/#/g' > qualchecker.p


/* common dependencies due to linking lists on modules that will appear in the */
/* build directory (as opposed to those coming from common)*/
type.po: qualchecker.po stmtchecker.po recheckinfer.po interfacecheck.po
