GENH= errout.h\
idfsize.h numsize.h strsize.h target_sizes.h \
- inputtype.h density.h squeeze.h \
+ inputtype.h density.h squeeze.h nocross.h \
def.h debugcst.h type.h Lpars.h node.h desig.h strict3rd.h
HFILES= LLlex.h\
chk_expr.h class.h const.h debug.h f_info.h idf.h\
tab:
$(CC) tab.c -o tab
-depend:
+depend: Cfiles
sed '/^#AUTOAUTO/,$$d' Makefile > Makefile.new
echo '#AUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTO' >> Makefile.new
$(MKDEP) $(SRC) |\
LLlex.o: idfsize.h
LLlex.o: input.h
LLlex.o: inputtype.h
+LLlex.o: nocross.h
LLlex.o: numsize.h
LLlex.o: strsize.h
+LLlex.o: target_sizes.h
LLlex.o: type.h
LLlex.o: warning.h
LLmessage.o: LLlex.h
error.o: inputtype.h
error.o: main.h
error.o: node.h
+error.o: squeeze.h
error.o: strict3rd.h
error.o: warning.h
main.o: LLlex.h
main.o: idf.h
main.o: input.h
main.o: inputtype.h
+main.o: nocross.h
main.o: node.h
main.o: scope.h
main.o: standards.h
main.o: strict3rd.h
+main.o: target_sizes.h
main.o: tokenname.h
main.o: type.h
main.o: warning.h
type.o: debugcst.h
type.o: def.h
type.o: idf.h
+type.o: nocross.h
type.o: node.h
type.o: scope.h
type.o: squeeze.h
def.o: def.h
def.o: idf.h
def.o: main.h
+def.o: nocross.h
def.o: node.h
def.o: scope.h
+def.o: target_sizes.h
def.o: type.h
misc.o: LLlex.h
misc.o: f_info.h
enter.o: idf.h
enter.o: main.h
enter.o: misc.h
+enter.o: nocross.h
enter.o: node.h
enter.o: scope.h
+enter.o: target_sizes.h
enter.o: type.h
defmodule.o: LLlex.h
defmodule.o: Lpars.h
defmodule.o: inputtype.h
defmodule.o: main.h
defmodule.o: misc.h
+defmodule.o: nocross.h
defmodule.o: node.h
defmodule.o: scope.h
+defmodule.o: target_sizes.h
defmodule.o: type.h
typequiv.o: LLlex.h
typequiv.o: debug.h
typequiv.o: def.h
typequiv.o: idf.h
typequiv.o: main.h
+typequiv.o: nocross.h
typequiv.o: node.h
typequiv.o: strict3rd.h
+typequiv.o: target_sizes.h
typequiv.o: type.h
typequiv.o: warning.h
node.o: LLlex.h
node.o: debug.h
node.o: debugcst.h
node.o: def.h
+node.o: nocross.h
node.o: node.h
+node.o: target_sizes.h
node.o: type.h
cstoper.o: LLlex.h
cstoper.o: Lpars.h
cstoper.o: debug.h
cstoper.o: debugcst.h
cstoper.o: idf.h
+cstoper.o: nocross.h
cstoper.o: node.h
cstoper.o: standards.h
cstoper.o: target_sizes.h
chk_expr.o: idf.h
chk_expr.o: main.h
chk_expr.o: misc.h
+chk_expr.o: nocross.h
chk_expr.o: node.h
chk_expr.o: scope.h
+chk_expr.o: squeeze.h
chk_expr.o: standards.h
chk_expr.o: strict3rd.h
+chk_expr.o: target_sizes.h
chk_expr.o: type.h
chk_expr.o: warning.h
options.o: idfsize.h
options.o: main.h
+options.o: nocross.h
+options.o: squeeze.h
options.o: strict3rd.h
+options.o: target_sizes.h
options.o: type.h
options.o: warning.h
walk.o: LLlex.h
walk.o: idf.h
walk.o: main.h
walk.o: misc.h
+walk.o: nocross.h
walk.o: node.h
walk.o: scope.h
walk.o: squeeze.h
walk.o: strict3rd.h
+walk.o: target_sizes.h
walk.o: type.h
walk.o: walk.h
walk.o: warning.h
desig.o: debugcst.h
desig.o: def.h
desig.o: desig.h
+desig.o: nocross.h
desig.o: node.h
desig.o: scope.h
desig.o: squeeze.h
+desig.o: target_sizes.h
desig.o: type.h
desig.o: walk.h
desig.o: warning.h
code.o: debugcst.h
code.o: def.h
code.o: desig.h
+code.o: nocross.h
code.o: node.h
code.o: scope.h
code.o: squeeze.h
code.o: standards.h
+code.o: target_sizes.h
code.o: type.h
code.o: walk.h
lookup.o: LLlex.h
lookup.o: def.h
lookup.o: idf.h
lookup.o: misc.h
+lookup.o: nocross.h
lookup.o: node.h
lookup.o: scope.h
+lookup.o: target_sizes.h
lookup.o: type.h
tokenfile.o: Lpars.h
program.o: LLlex.h
program.o: f_info.h
program.o: idf.h
program.o: main.h
+program.o: nocross.h
program.o: node.h
program.o: scope.h
program.o: strict3rd.h
+program.o: target_sizes.h
program.o: type.h
program.o: warning.h
declar.o: LLlex.h
declar.o: idf.h
declar.o: main.h
declar.o: misc.h
+declar.o: nocross.h
declar.o: node.h
declar.o: scope.h
+declar.o: squeeze.h
declar.o: strict3rd.h
+declar.o: target_sizes.h
declar.o: type.h
declar.o: warning.h
expression.o: LLlex.h
expression.o: debugcst.h
expression.o: def.h
expression.o: idf.h
+expression.o: nocross.h
expression.o: node.h
+expression.o: target_sizes.h
expression.o: type.h
expression.o: warning.h
statement.o: LLlex.h
statement.o: Lpars.h
statement.o: def.h
statement.o: idf.h
+statement.o: nocross.h
statement.o: node.h
statement.o: scope.h
+statement.o: target_sizes.h
statement.o: type.h
symbol2str.o: Lpars.h
char.o: class.h
casestat.o: def.h
casestat.o: density.h
casestat.o: desig.h
+casestat.o: nocross.h
casestat.o: node.h
casestat.o: squeeze.h
+casestat.o: target_sizes.h
casestat.o: type.h
casestat.o: walk.h
tmpvar.o: LLlex.h
tmpvar.o: debugcst.h
tmpvar.o: def.h
tmpvar.o: main.h
+tmpvar.o: nocross.h
tmpvar.o: scope.h
+tmpvar.o: target_sizes.h
tmpvar.o: type.h
scope.o: LLlex.h
scope.o: debug.h
scope.o: debugcst.h
scope.o: def.h
scope.o: idf.h
+scope.o: nocross.h
scope.o: node.h
scope.o: scope.h
+scope.o: target_sizes.h
scope.o: type.h
next.o: debug.h
next.o: debugcst.h
!File: density.h
-#define DENSITY 3 /* see casestat.C for an explanation */
+#define DENSITY 3 /* see casestat.C for an explanation */
!File: squeeze.h
-#undef SQUEEZE 1 /* define on "small" machines */
+#undef SQUEEZE 1 /* define on "small" machines */
!File: strict3rd.h
-#undef STRICT_3RD_ED 1 /* define on "small" machines, and if you want
+#undef STRICT_3RD_ED 1 /* define on "small" machines, and if you want
a compiler that only implements "3rd edition"
Modula-2
*/
+!File: nocross.h
+#undef NOCROSS 1 /* define when cross-compiler not needed */
+
+
#include "main.h"
#include "warning.h"
#include "squeeze.h"
+#include "nocross.h"
#define MINIDFSIZE 14
break;
case 'V' : /* set object sizes and alignment requirements */
+#ifndef NOCROSS
{
register int size;
register int align;
break;
}
}
- break;
}
+#endif NOCROSS
+ break;
}
}
*std_type,
*error_type; /* All from type.c */
+#include "nocross.h"
+#ifdef NOCROSS
+#include "target_sizes.h"
+#define word_align (AL_WORD)
+#define short_align (AL_SHORT)
+#define int_align (AL_INT)
+#define long_align (AL_LONG)
+#define float_align (AL_FLOAT)
+#define double_align (AL_DOUBLE)
+#define pointer_align (AL_POINTER)
+#define struct_align (AL_STRUCT)
+
+#define word_size (SZ_WORD)
+#define dword_size (2 * SZ_WORD)
+#define int_size (SZ_INT)
+#define short_size (SZ_SHORT)
+#define long_size (SZ_LONG)
+#define float_size (SZ_FLOAT)
+#define double_size (SZ_DOUBLE)
+#define pointer_size (SZ_POINTER)
+#else NOCROSS
+
extern int
word_align,
short_align,
float_size,
double_size,
pointer_size; /* All from type.c */
+#endif NOCROSS
extern arith
align(); /* type.c */
/* $Header$ */
-#include "target_sizes.h"
#include "debug.h"
#include <assert.h>
#include "chk_expr.h"
#include "warning.h"
+#ifndef NOCROSS
+#include "target_sizes.h"
int
word_align = AL_WORD,
short_align = AL_SHORT,
float_size = SZ_FLOAT,
double_size = SZ_DOUBLE,
pointer_size = SZ_POINTER;
+#endif
t_type
*bool_type,