From 11db9b8fdcad9a1b96dc1efb500594cb11422a87 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 1 Apr 1987 08:54:00 +0000 Subject: [PATCH] Added EMHOME --- mach/6500/cg/Makefile | 9 +++++---- mach/pdp/cg/Makefile | 9 +++++---- mach/proto/cg/Makefile | 9 +++++---- mach/vax4/cg/Makefile | 9 +++++---- mach/z80/cg/Makefile | 9 +++++---- mach/z8000/cg/Makefile | 9 +++++---- 6 files changed, 30 insertions(+), 24 deletions(-) diff --git a/mach/6500/cg/Makefile b/mach/6500/cg/Makefile index 546469083..17fcf475b 100644 --- a/mach/6500/cg/Makefile +++ b/mach/6500/cg/Makefile @@ -1,12 +1,13 @@ # $Header$ -PREFLAGS=-I../../../h -I. -DNDEBUG +EMHOME=../../.. +PREFLAGS=-I$(EMHOME)/h -I. -DNDEBUG PFLAGS= CFLAGS=$(PREFLAGS) $(PFLAGS) -O LDFLAGS=-i $(PFLAGS) LINTOPTS=-hbxac -LIBS=../../../lib/em_data.a -CDIR=../../proto/cg +LIBS=$(EMHOME)/lib/em_data.a +CDIR=$(EMHOME)/mach/proto/cg CFILES=$(CDIR)/codegen.c $(CDIR)/compute.c $(CDIR)/equiv.c $(CDIR)/fillem.c \ $(CDIR)/gencode.c $(CDIR)/glosym.c $(CDIR)/main.c $(CDIR)/move.c \ $(CDIR)/nextem.c $(CDIR)/reg.c $(CDIR)/regvar.c $(CDIR)/salloc.c \ @@ -71,7 +72,7 @@ distr: tables.c: table -mv tables.h tables.h.save - ../../../lib/cpp -P table | ../../../lib/cgg > debug.out + $(EMHOME)/lib/cpp -P table | $(EMHOME)/lib/cgg > debug.out -if cmp -s tables.h.save tables.h; then mv tables.h.save tables.h; else exit 0; fi -if cmp -s /dev/null tables.h; then mv tables.h.save tables.h; else exit 0; fi diff --git a/mach/pdp/cg/Makefile b/mach/pdp/cg/Makefile index 546469083..17fcf475b 100644 --- a/mach/pdp/cg/Makefile +++ b/mach/pdp/cg/Makefile @@ -1,12 +1,13 @@ # $Header$ -PREFLAGS=-I../../../h -I. -DNDEBUG +EMHOME=../../.. +PREFLAGS=-I$(EMHOME)/h -I. -DNDEBUG PFLAGS= CFLAGS=$(PREFLAGS) $(PFLAGS) -O LDFLAGS=-i $(PFLAGS) LINTOPTS=-hbxac -LIBS=../../../lib/em_data.a -CDIR=../../proto/cg +LIBS=$(EMHOME)/lib/em_data.a +CDIR=$(EMHOME)/mach/proto/cg CFILES=$(CDIR)/codegen.c $(CDIR)/compute.c $(CDIR)/equiv.c $(CDIR)/fillem.c \ $(CDIR)/gencode.c $(CDIR)/glosym.c $(CDIR)/main.c $(CDIR)/move.c \ $(CDIR)/nextem.c $(CDIR)/reg.c $(CDIR)/regvar.c $(CDIR)/salloc.c \ @@ -71,7 +72,7 @@ distr: tables.c: table -mv tables.h tables.h.save - ../../../lib/cpp -P table | ../../../lib/cgg > debug.out + $(EMHOME)/lib/cpp -P table | $(EMHOME)/lib/cgg > debug.out -if cmp -s tables.h.save tables.h; then mv tables.h.save tables.h; else exit 0; fi -if cmp -s /dev/null tables.h; then mv tables.h.save tables.h; else exit 0; fi diff --git a/mach/proto/cg/Makefile b/mach/proto/cg/Makefile index 546469083..17fcf475b 100644 --- a/mach/proto/cg/Makefile +++ b/mach/proto/cg/Makefile @@ -1,12 +1,13 @@ # $Header$ -PREFLAGS=-I../../../h -I. -DNDEBUG +EMHOME=../../.. +PREFLAGS=-I$(EMHOME)/h -I. -DNDEBUG PFLAGS= CFLAGS=$(PREFLAGS) $(PFLAGS) -O LDFLAGS=-i $(PFLAGS) LINTOPTS=-hbxac -LIBS=../../../lib/em_data.a -CDIR=../../proto/cg +LIBS=$(EMHOME)/lib/em_data.a +CDIR=$(EMHOME)/mach/proto/cg CFILES=$(CDIR)/codegen.c $(CDIR)/compute.c $(CDIR)/equiv.c $(CDIR)/fillem.c \ $(CDIR)/gencode.c $(CDIR)/glosym.c $(CDIR)/main.c $(CDIR)/move.c \ $(CDIR)/nextem.c $(CDIR)/reg.c $(CDIR)/regvar.c $(CDIR)/salloc.c \ @@ -71,7 +72,7 @@ distr: tables.c: table -mv tables.h tables.h.save - ../../../lib/cpp -P table | ../../../lib/cgg > debug.out + $(EMHOME)/lib/cpp -P table | $(EMHOME)/lib/cgg > debug.out -if cmp -s tables.h.save tables.h; then mv tables.h.save tables.h; else exit 0; fi -if cmp -s /dev/null tables.h; then mv tables.h.save tables.h; else exit 0; fi diff --git a/mach/vax4/cg/Makefile b/mach/vax4/cg/Makefile index 546469083..17fcf475b 100644 --- a/mach/vax4/cg/Makefile +++ b/mach/vax4/cg/Makefile @@ -1,12 +1,13 @@ # $Header$ -PREFLAGS=-I../../../h -I. -DNDEBUG +EMHOME=../../.. +PREFLAGS=-I$(EMHOME)/h -I. -DNDEBUG PFLAGS= CFLAGS=$(PREFLAGS) $(PFLAGS) -O LDFLAGS=-i $(PFLAGS) LINTOPTS=-hbxac -LIBS=../../../lib/em_data.a -CDIR=../../proto/cg +LIBS=$(EMHOME)/lib/em_data.a +CDIR=$(EMHOME)/mach/proto/cg CFILES=$(CDIR)/codegen.c $(CDIR)/compute.c $(CDIR)/equiv.c $(CDIR)/fillem.c \ $(CDIR)/gencode.c $(CDIR)/glosym.c $(CDIR)/main.c $(CDIR)/move.c \ $(CDIR)/nextem.c $(CDIR)/reg.c $(CDIR)/regvar.c $(CDIR)/salloc.c \ @@ -71,7 +72,7 @@ distr: tables.c: table -mv tables.h tables.h.save - ../../../lib/cpp -P table | ../../../lib/cgg > debug.out + $(EMHOME)/lib/cpp -P table | $(EMHOME)/lib/cgg > debug.out -if cmp -s tables.h.save tables.h; then mv tables.h.save tables.h; else exit 0; fi -if cmp -s /dev/null tables.h; then mv tables.h.save tables.h; else exit 0; fi diff --git a/mach/z80/cg/Makefile b/mach/z80/cg/Makefile index 546469083..17fcf475b 100644 --- a/mach/z80/cg/Makefile +++ b/mach/z80/cg/Makefile @@ -1,12 +1,13 @@ # $Header$ -PREFLAGS=-I../../../h -I. -DNDEBUG +EMHOME=../../.. +PREFLAGS=-I$(EMHOME)/h -I. -DNDEBUG PFLAGS= CFLAGS=$(PREFLAGS) $(PFLAGS) -O LDFLAGS=-i $(PFLAGS) LINTOPTS=-hbxac -LIBS=../../../lib/em_data.a -CDIR=../../proto/cg +LIBS=$(EMHOME)/lib/em_data.a +CDIR=$(EMHOME)/mach/proto/cg CFILES=$(CDIR)/codegen.c $(CDIR)/compute.c $(CDIR)/equiv.c $(CDIR)/fillem.c \ $(CDIR)/gencode.c $(CDIR)/glosym.c $(CDIR)/main.c $(CDIR)/move.c \ $(CDIR)/nextem.c $(CDIR)/reg.c $(CDIR)/regvar.c $(CDIR)/salloc.c \ @@ -71,7 +72,7 @@ distr: tables.c: table -mv tables.h tables.h.save - ../../../lib/cpp -P table | ../../../lib/cgg > debug.out + $(EMHOME)/lib/cpp -P table | $(EMHOME)/lib/cgg > debug.out -if cmp -s tables.h.save tables.h; then mv tables.h.save tables.h; else exit 0; fi -if cmp -s /dev/null tables.h; then mv tables.h.save tables.h; else exit 0; fi diff --git a/mach/z8000/cg/Makefile b/mach/z8000/cg/Makefile index 546469083..17fcf475b 100644 --- a/mach/z8000/cg/Makefile +++ b/mach/z8000/cg/Makefile @@ -1,12 +1,13 @@ # $Header$ -PREFLAGS=-I../../../h -I. -DNDEBUG +EMHOME=../../.. +PREFLAGS=-I$(EMHOME)/h -I. -DNDEBUG PFLAGS= CFLAGS=$(PREFLAGS) $(PFLAGS) -O LDFLAGS=-i $(PFLAGS) LINTOPTS=-hbxac -LIBS=../../../lib/em_data.a -CDIR=../../proto/cg +LIBS=$(EMHOME)/lib/em_data.a +CDIR=$(EMHOME)/mach/proto/cg CFILES=$(CDIR)/codegen.c $(CDIR)/compute.c $(CDIR)/equiv.c $(CDIR)/fillem.c \ $(CDIR)/gencode.c $(CDIR)/glosym.c $(CDIR)/main.c $(CDIR)/move.c \ $(CDIR)/nextem.c $(CDIR)/reg.c $(CDIR)/regvar.c $(CDIR)/salloc.c \ @@ -71,7 +72,7 @@ distr: tables.c: table -mv tables.h tables.h.save - ../../../lib/cpp -P table | ../../../lib/cgg > debug.out + $(EMHOME)/lib/cpp -P table | $(EMHOME)/lib/cgg > debug.out -if cmp -s tables.h.save tables.h; then mv tables.h.save tables.h; else exit 0; fi -if cmp -s /dev/null tables.h; then mv tables.h.save tables.h; else exit 0; fi