From: ceriel Date: Wed, 1 Apr 1987 08:54:00 +0000 (+0000) Subject: Added EMHOME X-Git-Tag: release-5-5~4253 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=11db9b8fdcad9a1b96dc1efb500594cb11422a87;p=ack.git Added EMHOME --- 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