diff --git a/util/ego/bo/Makefile b/util/ego/bo/Makefile index 043cb3824..3d52fbbcc 100644 --- a/util/ego/bo/Makefile +++ b/util/ego/bo/Makefile @@ -1,6 +1,13 @@ -EMH=../../../h -EMLIB=../../../lib -SHR=../share + +EMHOME=../../.. +EMH=$(EMHOME)/h +EMLIB=$(EMHOME)/lib +SHARE=../share + +LDFLAGS=-i +CPPFLAGS=-DVERBOSE -DNOTCOMPACT +CFLAGS=$(CPPFLAGS) -O +LINTFLAGS=-phbac CFILES=\ bo.c @@ -23,6 +30,8 @@ $(SHR)/get.m $(SHR)/put.m $(SHR)/alloc.m $(SHR)/global.m $(SHR)/debug.m \ $(SHR)/files.m $(SHR)/map.m $(SHR)/lset.m $(SHR)/cset.m $(SHR)/aux.m \ $(SHR)/stack_chg.m $(SHR)/go.m +all: bo + bo: $(OFILES) $(CC) -o bo $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a @@ -30,12 +39,27 @@ bo_ack: $(CFILES) $(SHARE_MFILES) $(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES) $(CC) -o bo -.c $(LDFLAGS) bo.o $(EMLIB)/em_data.a +install: all + ../install bo + +cmp: all + -../compare bo + +pr: + @pr $(PRFILES) + +opr: + make pr | opr + +clean: + rm -f bo *.o Out out nohup.out + lint: lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES) -pr: $(PRFILES) +print: $(PRFILES) @pr $? - @touch pr + @touch print depend: $(SHR)/makedepend diff --git a/util/ego/ca/Makefile b/util/ego/ca/Makefile index 9677363a9..093b5bbb0 100644 --- a/util/ego/ca/Makefile +++ b/util/ego/ca/Makefile @@ -1,6 +1,13 @@ -EMH=../../../h -EMLIB=../../../lib -SHR=../share + +EMHOME=../../.. +EMH=$(EMHOME)/h +EMLIB=$(EMHOME)/lib +SHARE=../share + +LDFLAGS=-i +CPPFLAGS=-DVERBOSE -DNOTCOMPACT +CFLAGS=$(CPPFLAGS) -O +LINTFLAGS=-phbac CFILES=\ ca.c ca_put.c @@ -22,6 +29,8 @@ SHARE_MFILES=\ $(SHR)/get.m $(SHR)/alloc.m $(SHR)/global.m $(SHR)/aux.m $(SHR)/debug.m \ $(SHR)/lset.m $(SHR)/cset.m $(SHR)/files.m $(SHR)/map.m +all: ca + ca: $(OFILES) $(CC) -o ca $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a @@ -29,12 +38,27 @@ ca_ack: $(CFILES) $(SHARE_MFILES) $(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES) $(CC) -o ca -.c $(LDFLAGS) ca.o $(EMLIB)/em_data.a +install: all + ../install ca + +cmp: all + -../compare ca + +pr: + @pr $(PRFILES) + +opr: + make pr | opr + +clean: + rm -f ca *.o Out out nohup.out + lint: lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES) -pr: $(PRFILES) +print: $(PRFILES) @pr $? - @touch pr + @touch print depend: $(SHR)/makedepend diff --git a/util/ego/cj/Makefile b/util/ego/cj/Makefile index 15f400c7e..e5b3c461b 100644 --- a/util/ego/cj/Makefile +++ b/util/ego/cj/Makefile @@ -1,6 +1,13 @@ -EMH=../../../h -EMLIB=../../../lib -SHR=../share + +EMHOME=../../.. +EMH=$(EMHOME)/h +EMLIB=$(EMHOME)/lib +SHARE=../share + +LDFLAGS=-i +CPPFLAGS=-DVERBOSE -DNOTCOMPACT +CFLAGS=$(CPPFLAGS) -O +LINTFLAGS=-phbac CFILES=\ cj.c @@ -22,6 +29,8 @@ SHARE_MFILES=\ $(SHR)/get.m $(SHR)/put.m $(SHR)/alloc.m $(SHR)/global.m $(SHR)/debug.m \ $(SHR)/files.m $(SHR)/map.m $(SHR)/lset.m $(SHR)/cset.m $(SHR)/aux.m $(SHR)/stack_chg.m $(SHR)/go.m +all: cj + cj: $(OFILES) $(CC) -o \ cj $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a @@ -30,12 +39,27 @@ cj_ack: $(CFILES) $(SHARE_MFILES) $(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES) $(CC) -o cj -.c $(LDFLAGS) cj.o $(EMLIB)/em_data.a +install: all + ../install cj + +cmp: all + -../compare cj + +pr: + @pr $(PRFILES) + +opr: + make pr | opr + +clean: + rm -f cj *.o Out out nohup.out + lint: lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES) -pr: $(PRFILES) +print: $(PRFILES) @pr $? - @touch pr + @touch print depend: $(SHR)/makedepend diff --git a/util/ego/cs/Makefile b/util/ego/cs/Makefile index 36b841ecf..054e12114 100644 --- a/util/ego/cs/Makefile +++ b/util/ego/cs/Makefile @@ -1,6 +1,13 @@ -EMH=../../../h -EMLIB=../../../lib -SHR=../share + +EMHOME=../../.. +EMH=$(EMHOME)/h +EMLIB=$(EMHOME)/lib +SHARE=../share + +LDFLAGS=-i +CPPFLAGS=-DVERBOSE -DNOTCOMPACT +CFLAGS=$(CPPFLAGS) -O +LINTFLAGS=-phbac CFILES=\ cs.c cs_alloc.c cs_aux.c cs_avail.c cs_debug.c cs_elim.c \ @@ -30,6 +37,8 @@ $(SHR)/get.m $(SHR)/put.m $(SHR)/alloc.m $(SHR)/global.m $(SHR)/debug.m\ $(SHR)/files.m $(SHR)/map.m $(SHR)/lset.m $(SHR)/cset.m $(SHR)/aux.m\ $(SHR)/go.m +all: cs + cs: $(OFILES) $(CC) -o cs $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a @@ -37,12 +46,27 @@ cs_ack: $(CFILES) $(SHARE_MFILES) $(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES) $(CC) -o cs -.c $(LDFLAGS) cs.o $(EMLIB)/em_data.a +install: all + ../install cs + +cmp: all + -../compare cs + +pr: + @pr $(PRFILES) + +opr: + make pr | opr + +clean: + rm -f cs *.o Out out nohup.out + lint: lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES) -pr: $(PRFILES) +print: $(PRFILES) @pr $? - @touch pr + @touch print depend: $(SHR)/makedepend diff --git a/util/ego/il/Makefile b/util/ego/il/Makefile index 5504f5023..448b55da0 100644 --- a/util/ego/il/Makefile +++ b/util/ego/il/Makefile @@ -1,6 +1,13 @@ -EMH=../../../h -EMLIB=../../../lib -SHR=../share + +EMHOME=../../.. +EMH=$(EMHOME)/h +EMLIB=$(EMHOME)/lib +SHARE=../share + +LDFLAGS=-i +CPPFLAGS=-DVERBOSE -DNOTCOMPACT +CFLAGS=$(CPPFLAGS) -O +LINTFLAGS=-phbac CFILES=\ il.c il1_anal.c il1_cal.c il1_formal.c il1_aux.c il2_aux.c \ @@ -27,6 +34,8 @@ $(SHR)/get.m $(SHR)/put.m $(SHR)/alloc.m $(SHR)/global.m $(SHR)/debug.m \ $(SHR)/files.m $(SHR)/map.m $(SHR)/lset.m $(SHR)/cset.m $(SHR)/parser.m \ $(SHR)/aux.m $(SHR)/go.m +all: il + il: $(OFILES) $(CC) -o il $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a @@ -34,12 +43,27 @@ il_ack: $(CFILES) $(SHARE_MFILES) $(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES) $(CC) -o il -.c $(LDFLAGS) il.o $(EMLIB)/em_data.a +install: all + ../install il + +cmp: all + -../compare il + +pr: + @pr $(PRFILES) + +opr: + make pr | opr + +clean: + rm -f il *.o Out out nohup.out + lint: lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES) -pr: $(PRFILES) +print: $(PRFILES) @pr $? - @touch pr + @touch print depend: $(SHR)/makedepend diff --git a/util/ego/lv/Makefile b/util/ego/lv/Makefile index 32298550d..608b0d5f9 100644 --- a/util/ego/lv/Makefile +++ b/util/ego/lv/Makefile @@ -1,6 +1,13 @@ -EMH=../../../h -EMLIB=../../../lib -SHR=../share + +EMHOME=../../.. +EMH=$(EMHOME)/h +EMLIB=$(EMHOME)/lib +SHARE=../share + +LDFLAGS=-i +CPPFLAGS=-DVERBOSE -DNOTCOMPACT +CFLAGS=$(CPPFLAGS) -O +LINTFLAGS=-phbac CFILES=\ lv.c @@ -24,6 +31,8 @@ $(SHR)/get.m $(SHR)/aux.m $(SHR)/put.m $(SHR)/map.m $(SHR)/alloc.m \ $(SHR)/global.m $(SHR)/debug.m $(SHR)/lset.m $(SHR)/cset.m $(SHR)/parser.m \ $(SHR)/files.m $(SHR)/locals.m $(SHR)/init_glob.m $(SHR)/go.m +all: lv + lv: $(OFILES) $(CC) -o lv $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a @@ -31,12 +40,27 @@ lv_ack: $(CFILES) $(SHARE_MFILES) $(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES) $(CC) -o lv -.c $(LDFLAGS) lv.o $(EMLIB)/em_data.a +install: all + ../install lv + +cmp: all + -../compare lv + +pr: + @pr $(PRFILES) + +opr: + make pr | opr + +clean: + rm -f lv *.o Out out nohup.out + lint: lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES) -pr: $(PRFILES) +print: $(PRFILES) @pr $? - @touch pr + @touch print depend: $(SHR)/makedepend diff --git a/util/ego/ra/Makefile b/util/ego/ra/Makefile index 0922f804b..c2f95ae08 100644 --- a/util/ego/ra/Makefile +++ b/util/ego/ra/Makefile @@ -1,6 +1,13 @@ -EMH=../../../h -EMLIB=../../../lib -SHR=../share + +EMHOME=../../.. +EMH=$(EMHOME)/h +EMLIB=$(EMHOME)/lib +SHARE=../share + +LDFLAGS=-i +CPPFLAGS=-DVERBOSE -DNOTCOMPACT +CFLAGS=$(CPPFLAGS) -O +LINTFLAGS=-phbac CFILES=\ ra.c ra_items.c ra_lifet.c ra_allocl.c ra_profits.c \ @@ -27,6 +34,8 @@ $(SHR)/aux.m $(SHR)/get.m $(SHR)/put.m $(SHR)/alloc.m $(SHR)/global.m \ $(SHR)/debug.m $(SHR)/files.m $(SHR)/map.m $(SHR)/lset.m $(SHR)/cset.m \ $(SHR)/go.m +all: ra + ra: $(OFILES) $(CC) -o ra $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a @@ -40,12 +49,27 @@ itemtab.h: itemtab.src makeitems $(EMH)/em_mnem.h makeitems: makeitems.c $(CC) -o makeitems makeitems.c +install: all + ../install ra + +cmp: all + -../compare ra + +pr: + @pr $(PRFILES) + +opr: + make pr | opr + +clean: + rm -f ra makeitems itemtab.h *.o Out out nohup.out + lint: lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES) -pr: $(PRFILES) +print: $(PRFILES) @pr $? - @touch pr + @touch print depend: $(SHR)/makedepend diff --git a/util/ego/sp/Makefile b/util/ego/sp/Makefile index dcdac73f0..37d5358d6 100644 --- a/util/ego/sp/Makefile +++ b/util/ego/sp/Makefile @@ -1,6 +1,13 @@ -EMH=../../../h -EMLIB=../../../lib -SHR=../share + +EMHOME=../../.. +EMH=$(EMHOME)/h +EMLIB=$(EMHOME)/lib +SHARE=../share + +LDFLAGS=-i +CPPFLAGS=-DVERBOSE -DNOTCOMPACT +CFLAGS=$(CPPFLAGS) -O +LINTFLAGS=-phbac CFILES=\ sp.c @@ -23,6 +30,8 @@ $(SHR)/get.m $(SHR)/put.m $(SHR)/alloc.m $(SHR)/global.m $(SHR)/debug.m \ $(SHR)/files.m $(SHR)/map.m $(SHR)/lset.m $(SHR)/cset.m $(SHR)/aux.m \ $(SHR)/stack_chg.m $(SHR)/go.m +all: sp + sp: $(OFILES) $(CC) -o sp $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a @@ -30,12 +39,27 @@ sp_ack: $(CFILES) $(SHARE_MFILES) $(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES) $(CC) -o sp -.c $(LDFLAGS) sp.o $(EMLIB)/em_data.a +install: all + ../install sp + +cmp: all + -../compare sp + +pr: + @pr $(PRFILES) + +opr: + make pr | opr + +clean: + rm -f sp *.o Out out nohup.out + lint: lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES) -pr: $(PRFILES) +print: $(PRFILES) @pr $? - @touch pr + @touch print depend: $(SHR)/makedepend diff --git a/util/ego/sr/Makefile b/util/ego/sr/Makefile index cabdd7d8e..2a8153559 100644 --- a/util/ego/sr/Makefile +++ b/util/ego/sr/Makefile @@ -1,6 +1,13 @@ -EMH=../../../h -EMLIB=../../../lib -SHR=../share + +EMHOME=../../.. +EMH=$(EMHOME)/h +EMLIB=$(EMHOME)/lib +SHARE=../share + +LDFLAGS=-i +CPPFLAGS=-DVERBOSE -DNOTCOMPACT +CFLAGS=$(CPPFLAGS) -O +LINTFLAGS=-phbac CFILES=\ sr.c sr_iv.c sr_reduce.c sr_cand.c sr_xform.c sr_expr.c sr_aux.c @@ -24,6 +31,8 @@ $(SHR)/get.m $(SHR)/put.m $(SHR)/alloc.m $(SHR)/global.m $(SHR)/debug.m \ $(SHR)/files.m $(SHR)/map.m $(SHR)/lset.m $(SHR)/cset.m $(SHR)/aux.m \ $(SHR)/go.m +all: sr + sr: $(OFILES) $(CC) -o sr $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a @@ -31,12 +40,27 @@ sr_ack: $(CFILES) $(SHARE_MFILES) $(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES) $(CC) -o sr -.c $(LDFLAGS) sr.o $(EMLIB)/em_data.a +install: all + ../install sr + +cmp: all + -../compare sr + +pr: + @pr $(PRFILES) + +opr: + make pr | opr + +clean: + rm -f sr *.o Out out nohup.out + lint: lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES) -pr: $(PRFILES) +print: $(PRFILES) @pr $? - @touch pr + @touch print depend: $(SHR)/makedepend diff --git a/util/ego/ud/Makefile b/util/ego/ud/Makefile index 54fdbf1d9..e2b7f46e7 100644 --- a/util/ego/ud/Makefile +++ b/util/ego/ud/Makefile @@ -1,6 +1,13 @@ -EMH=../../../h -EMLIB=../../../lib -SHR=../share + +EMHOME=../../.. +EMH=$(EMHOME)/h +EMLIB=$(EMHOME)/lib +SHARE=../share + +LDFLAGS=-i +CPPFLAGS=-DVERBOSE -DNOTCOMPACT +CFLAGS=$(CPPFLAGS) -O +LINTFLAGS=-phbac CFILES=\ ud.c ud_defs.c ud_const.c ud_copy.c ud_aux.c @@ -24,6 +31,8 @@ $(SHR)/get.m $(SHR)/put.m $(SHR)/map.m $(SHR)/alloc.m $(SHR)/global.m \ $(SHR)/debug.m $(SHR)/lset.m $(SHR)/cset.m $(SHR)/files.m $(SHR)/aux.m \ $(SHR)/locals.m $(SHR)/init_glob.m $(SHR)/go.m +all: ud + ud: $(OFILES) $(CC) -o ud $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a @@ -31,12 +40,27 @@ ud_ack: $(CFILES) $(SHARE_MFILES) $(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES) $(CC) -o ud -.c $(LDFLAGS) ud.o $(EMLIB)/em_data.a +install: all + ../install ud + +cmp: all + -../compare ud + +pr: + @pr $(PRFILES) + +opr: + make pr | opr + +clean: + rm -f ud *.o Out out nohup.out + lint: lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES) -pr: $(PRFILES) +print: $(PRFILES) @pr $? - @touch pr + @touch print depend: $(SHR)/makedepend