lay-out enhanced; flags (CFLAGS etc.) inherited from central Makefile;

entry for compiling this phase with ack -O created.
This commit is contained in:
bal 1984-12-21 14:41:47 +00:00
parent 6860747f3e
commit ffb167e8b2
12 changed files with 475 additions and 160 deletions

View file

@ -1,19 +1,48 @@
EMH=../../../h
EML=../../../lib
SHARE=../share
CFLAGS=-DVERBOSE
OBJECTS=bo.o
SHOBJECTS=$(SHARE)/get.o $(SHARE)/put.o $(SHARE)/alloc.o $(SHARE)/global.o $(SHARE)/debug.o $(SHARE)/files.o $(SHARE)/map.o $(SHARE)/lset.o $(SHARE)/cset.o $(SHARE)/aux.o $(SHARE)/stack_chg.o $(SHARE)/go.o
SRC=bo.c
EMLIB=../../../lib
SHR=../share
CFILES=\
bo.c
OFILES=\
bo.o
HFILES=
PRFILES=\
$(CFILES) $(HFILES) Makefile
SHARE_OFILES=\
$(SHR)/get.o $(SHR)/put.o $(SHR)/alloc.o $(SHR)/global.o $(SHR)/debug.o \
$(SHR)/files.o $(SHR)/map.o $(SHR)/lset.o $(SHR)/cset.o $(SHR)/aux.o \
$(SHR)/stack_chg.o $(SHR)/go.o
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
bo: $(OFILES)
$(CC) -o bo $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
bo_ack: $(CFILES) $(SHARE_MFILES)
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
$(CC) -o bo -.c $(LDFLAGS) bo.o $(EMLIB)/em_data.a
lint:
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
pr: $(PRFILES)
@pr $?
@touch pr
depend:
$(SHR)/makedepend
all: $(OBJECTS)
bo: \
$(OBJECTS) $(SHOBJECTS)
$(CC) -o bo -i $(OBJECTS) $(SHOBJECTS) $(EML)/em_data.a
lpr:
pr $(SRC) | lpr
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
bo.o: ../share/alloc.h
bo.o: ../share/aux.h
bo.o: ../share/debug.h

View file

@ -1,20 +1,47 @@
EMH=../../../h
EML=../../../lib
CFLAGS=
SHARE=../share
CA=.
OBJECTS=ca.o ca_put.o
SHOBJECTS=$(SHARE)/get.o $(SHARE)/alloc.o $(SHARE)/global.o $(SHARE)/aux.o $(SHARE)/debug.o $(SHARE)/lset.o $(SHARE)/cset.o $(SHARE)/files.o $(SHARE)/map.o
SRC=ca.h ca_put.h ca.c ca_put.c
EMLIB=../../../lib
SHR=../share
CFILES=\
ca.c ca_put.c
OFILES=\
ca.o ca_put.o
HFILES=\
ca.h ca_put.h
PRFILES=\
$(CFILES) $(HFILES) Makefile
SHARE_OFILES=\
$(SHR)/get.o $(SHR)/alloc.o $(SHR)/global.o $(SHR)/aux.o $(SHR)/debug.o \
$(SHR)/lset.o $(SHR)/cset.o $(SHR)/files.o $(SHR)/map.o
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
ca: $(OFILES)
$(CC) -o ca $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
ca_ack: $(CFILES) $(SHARE_MFILES)
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
$(CC) -o ca -.c $(LDFLAGS) ca.o $(EMLIB)/em_data.a
lint:
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
pr: $(PRFILES)
@pr $?
@touch pr
depend:
$(SHR)/makedepend
all: $(OBJECTS)
ca: \
$(OBJECTS) $(SHOBJECTS)
$(CC) -o ca -i $(OBJECTS) $(SHOBJECTS) $(EML)/em_data.a
lpr:
pr $(SRC) | lpr
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
ca.o: ../share/alloc.h
ca.o: ../share/debug.h
ca.o: ../share/files.h

View file

@ -1,17 +1,46 @@
EMH=../../../h
EML=../../../lib
CFLAGS=
SHARE=../share
CF=.
OBJECTS=cf.o cf_idom.o cf_loop.o cf_succ.o
SHOBJECTS=$(SHARE)/get.o $(SHARE)/put.o $(SHARE)/alloc.o $(SHARE)/global.o $(SHARE)/debug.o $(SHARE)/files.o $(SHARE)/map.o $(SHARE)/lset.o $(SHARE)/cset.o $(SHARE)/aux.o
SRC=cf.h cf_succ.h cf_idom.h cf_loop.h cf.c cf_succ.c cf_idom.c cf_loop.c
all: $(OBJECTS)
cf: \
$(OBJECTS) $(SHOBJECTS)
$(CC) -o cf -i $(OBJECTS) $(SHOBJECTS) $(EML)/em_data.a
lpr:
pr $(SRC) | lpr
EMLIB=../../../lib
SHR=../share
CFILES=\
cf.c cf_succ.c cf_idom.c cf_loop.c
OFILES=\
cf.o cf_idom.o cf_loop.o cf_succ.o
HFILES=\
cf.h cf_succ.h cf_idom.h cf_loop.h
PRFILES=\
$(CFILES) $(HFILES) Makefile
SHARE_OFILES=\
$(SHR)/get.o $(SHR)/put.o $(SHR)/alloc.o $(SHR)/global.o \
$(SHR)/debug.o $(SHR)/files.o $(SHR)/map.o $(SHR)/lset.o \
$(SHR)/cset.o $(SHR)/aux.o
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
cf: $(OFILES)
$(CC) -o cf $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
cf_ack: $(CFILES) $(SHARE_MFILES)
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
$(CC) -o cf -.c $(LDFLAGS) cf.o $(EMLIB)/em_data.a
lint:
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
pr: $(PRFILES)
@pr $?
@touch pr
depend:
$(SHR)/makedepend
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
cf.o: ../../../h/em_mnem.h

View file

@ -1,19 +1,48 @@
EMH=../../../h
EML=../../../lib
SHARE=../share
OBJECTS=cj.o
SHOBJECTS=$(SHARE)/get.o $(SHARE)/put.o $(SHARE)/alloc.o $(SHARE)/global.o $(SHARE)/debug.o $(SHARE)/files.o $(SHARE)/map.o $(SHARE)/lset.o $(SHARE)/cset.o $(SHARE)/aux.o $(SHARE)/stack_chg.o $(SHARE)/go.o
SRC=cj.c
EMLIB=../../../lib
SHR=../share
CFILES=\
cj.c
OFILES=\
cj.o
HFILES=
PRFILES=\
$(CFILES) $(HFILES) Makefile
SHARE_OFILES=\
$(SHR)/get.o $(SHR)/put.o $(SHR)/alloc.o $(SHR)/global.o $(SHR)/debug.o \
$(SHR)/files.o $(SHR)/map.o $(SHR)/lset.o $(SHR)/cset.o $(SHR)/aux.o \
$(SHR)/stack_chg.o $(SHR)/go.o
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
cj: $(OFILES)
$(CC) -o \
cj $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
cj_ack: $(CFILES) $(SHARE_MFILES)
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
$(CC) -o cj -.c $(LDFLAGS) cj.o $(EMLIB)/em_data.a
lint:
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
pr: $(PRFILES)
@pr $?
@touch pr
depend:
$(SHR)/makedepend
all: $(OBJECTS)
cj: \
$(OBJECTS) $(SHOBJECTS)
$(CC) -o cj -i $(OBJECTS) $(SHOBJECTS) $(EML)/em_data.a
lpr:
pr $(SRC) | lpr
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
cj.o: ../../../h/em_mnem.h
cj.o: ../../../h/em_spec.h
cj.o: ../share/alloc.h

View file

@ -1,9 +1,3 @@
# CPPFLAGS=-DVERBOSE -DTRACE
CPPFLAGS=-DVERBOSE
CFLAGS=$(CPPFLAGS)
LDFLAGS=-i
LINTFLAGS=-phbac $(CPPFLAGS)
EMH=../../../h
EMLIB=../../../lib
SHR=../share
@ -31,11 +25,20 @@ $(SHR)/get.o $(SHR)/put.o $(SHR)/alloc.o $(SHR)/global.o $(SHR)/debug.o\
$(SHR)/files.o $(SHR)/map.o $(SHR)/lset.o $(SHR)/cset.o $(SHR)/aux.o\
$(SHR)/go.o
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)/go.m
cs: $(OFILES)
$(CC) -o cs $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
cs_ack: $(CFILES) $(SHARE_MFILES)
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
$(CC) -o cs -.c $(LDFLAGS) cs.o $(EMLIB)/em_data.a
lint:
lint $(LINTFLAGS) $(CFILES)
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
pr: $(PRFILES)
@pr $?

View file

@ -1,20 +1,43 @@
EMH=../../../h
EML=../../../lib
CFLAGS=
DEBUG=../share
SHARE=../share
MALLOC=
IC=.
OBJECTS=ic.o ic_aux.o ic_lookup.o ic_io.o ic_lib.o
SHOBJECTS=$(SHARE)/put.o $(SHARE)/alloc.o $(SHARE)/global.o $(SHARE)/debug.o $(SHARE)/files.o $(SHARE)/map.o $(SHARE)/lset.o $(SHARE)/cset.o $(SHARE)/aux.o
SRC=ic.h ic_aux.h ic_lib.h ic_lookup.h ic_io.h ic.c ic_aux.c ic_lib.c ic_lookup.c ic_io.c
all: $(OBJECTS)
ic: \
$(OBJECTS) $(SHOBJECTS)
$(CC) -i -o ic $(OBJECTS) $(SHOBJECTS) $(EML)/em_data.a $(MALLOC)
lpr:
pr $(SRC) | lpr
EMLIB=../../../lib
SHR=../share
CFILES=\
ic.c ic_aux.c ic_lib.c ic_lookup.c ic_io.c
OFILES=\
ic.o ic_aux.o ic_lookup.o ic_io.o ic_lib.o
HFILES=\
ic.h ic_aux.h ic_lib.h ic_lookup.h ic_io.h
PRFILES=\
$(CFILES) $(HFILES) Makefile
SHARE_OFILES=\
$(SHR)/put.o $(SHR)/alloc.o $(SHR)/global.o $(SHR)/debug.o \
$(SHR)/files.o $(SHR)/map.o $(SHR)/lset.o $(SHR)/cset.o $(SHR)/aux.o
SHARE_MFILES=\
$(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
ic: $(OFILES)
$(CC) -o ic $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
ic_ack: $(CFILES) $(SHARE_MFILES)
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
$(CC) -o ic -.c $(LDFLAGS) ic.o $(EMLIB)/em_data.a
lint:
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
pr: $(PRFILES)
@pr $?
@touch pr
depend:
$(SHR)/makedepend
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO

View file

@ -1,21 +1,52 @@
EMH=../../../h
EML=../../../lib
CFLAGS=-DVERBOSE
SHARE=../share
IL=.
OBJECTS=il.o il1_anal.o il1_cal.o il1_formal.o il1_aux.o il2_aux.o \
EMLIB=../../../lib
SHR=../share
CFILES=\
il.c il1_anal.c il1_cal.c il1_formal.c il1_aux.c il2_aux.c \
il3_subst.c il3_change.c il3_aux.c il_aux.c
OFILES=\
il.o il1_anal.o il1_cal.o il1_formal.o il1_aux.o il2_aux.o \
il3_change.o il3_subst.o il3_aux.o il_aux.o
SHOBJECTS=$(SHARE)/get.o $(SHARE)/put.o $(SHARE)/alloc.o $(SHARE)/global.o $(SHARE)/debug.o $(SHARE)/files.o $(SHARE)/map.o $(SHARE)/lset.o $(SHARE)/cset.o $(SHARE)/parser.o $(SHARE)/aux.o $(SHARE)/go.o
SRC=il.h il1_anal.h il1_cal.h il1_formal.h il1_aux.h il2_aux.h il3_subst.h il3_change.h il3_aux.h il_aux.h \
il.c il1_anal.c il1_cal.c il1_formal.c il1_aux.c il2_aux.c il3_subst.c il3_change.c il3_aux.c il_aux.c
all: $(OBJECTS)
il: \
$(OBJECTS) $(SHOBJECTS)
$(CC) -o il -i $(OBJECTS) $(SHOBJECTS) $(EML)/em_data.a
lpr:
pr $(SRC) | lpr
HFILES=\
il.h il1_anal.h il1_cal.h il1_formal.h il1_aux.h il2_aux.h \
il3_subst.h il3_change.h il3_aux.h il_aux.h
PRFILES=\
$(CFILES) $(HFILES) Makefile
SHARE_OFILES=\
$(SHR)/get.o $(SHR)/put.o $(SHR)/alloc.o $(SHR)/global.o $(SHR)/debug.o \
$(SHR)/files.o $(SHR)/map.o $(SHR)/lset.o $(SHR)/cset.o $(SHR)/parser.o \
$(SHR)/aux.o $(SHR)/go.o
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)/parser.m \
$(SHR)/aux.m $(SHR)/go.m
il: $(OFILES)
$(CC) -o il $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
il_ack: $(CFILES) $(SHARE_MFILES)
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
$(CC) -o il -.c $(LDFLAGS) il.o $(EMLIB)/em_data.a
lint:
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
pr: $(PRFILES)
@pr $?
@touch pr
depend:
$(SHR)/makedepend
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
il.o: ../../../h/em_mnem.h
il.o: ../../../h/em_pseu.h
il.o: ../share/alloc.h

View file

@ -1,19 +1,49 @@
EMH=../../../h
EML=../../../lib
CFLAGS=
SHARE=../share
LV=.
OBJECTS=lv.o
SHOBJECTS=$(SHARE)/get.o $(SHARE)/aux.o $(SHARE)/put.o $(SHARE)/map.o $(SHARE)/alloc.o $(SHARE)/global.o $(SHARE)/debug.o $(SHARE)/lset.o $(SHARE)/cset.o $(SHARE)/parser.o $(SHARE)/files.o $(SHARE)/locals.o $(SHARE)/init_glob.o $(SHARE)/go.o
SRC=lv.h lv.c
all: $(OBJECTS)
lv: \
$(OBJECTS) $(SHOBJECTS)
$(CC) -o lv -i $(OBJECTS) $(SHOBJECTS) $(EML)/em_data.a
lpr:
pr $(SRC) | lpr
EMLIB=../../../lib
SHR=../share
CFILES=\
lv.c
OFILES=\
lv.o
HFILES=\
lv.h
PRFILES=\
$(CFILES) $(HFILES) Makefile
SHARE_OFILES=\
$(SHR)/get.o $(SHR)/aux.o $(SHR)/put.o $(SHR)/map.o $(SHR)/alloc.o \
$(SHR)/global.o $(SHR)/debug.o $(SHR)/lset.o $(SHR)/cset.o $(SHR)/parser.o \
$(SHR)/files.o $(SHR)/locals.o $(SHR)/init_glob.o $(SHR)/go.o
SHARE_MFILES=\
$(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
lv: $(OFILES)
$(CC) -o lv $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
lv_ack: $(CFILES) $(SHARE_MFILES)
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
$(CC) -o lv -.c $(LDFLAGS) lv.o $(EMLIB)/em_data.a
lint:
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
pr: $(PRFILES)
@pr $?
@touch pr
depend:
$(SHR)/makedepend
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
lv.o: ../../../h/em_mnem.h
lv.o: ../../../h/em_pseu.h
lv.o: ../../../h/em_spec.h

View file

@ -1,28 +1,52 @@
EMH=../../../h
EML=../../../lib
CFLAGS=-DVERBOSE
SHARE=../share
RA=.
OBJECTS=ra.o ra_items.o ra_lifet.o ra_allocl.o ra_profits.o ra_interv.o ra_pack.o ra_xform.o ra_aux.o
SHOBJECTS=$(SHARE)/aux.o $(SHARE)/get.o $(SHARE)/put.o $(SHARE)/alloc.o $(SHARE)/global.o $(SHARE)/debug.o $(SHARE)/files.o $(SHARE)/map.o $(SHARE)/lset.o $(SHARE)/cset.o $(SHARE)/go.o
SRC=ra.h ra_items.h ra_lifet.h ra_allocl.h ra_profits.h ra_interv.h ra_pack.h ra_xform.h ra_aux.h ra.c ra_items.c ra_lifet.c ra_allocl.c ra_profits.c ra_interv.c ra_pack.c ra_xform.c ra_aux.c
all: $(OBJECTS)
itemtab.h: \
makeitems \
itemtab.src
makeitems $(EMH)/em_mnem.h itemtab.src > itemtab.h
makeitems: \
makeitems.c
$(CC) -o makeitems makeitems.c
ra: \
$(OBJECTS) $(SHOBJECTS)
$(CC) -o ra -i $(OBJECTS) $(SHOBJECTS) $(EML)/em_data.a
opr:
pr $(SRC) | opr
lpr:
pr $(SRC) | lpr
EMLIB=../../../lib
SHR=../share
CFILES=\
ra.c ra_items.c ra_lifet.c ra_allocl.c ra_profits.c \
ra_interv.c ra_pack.c ra_xform.c ra_aux.c
OFILES=\
ra.o ra_items.o ra_lifet.o ra_allocl.o ra_profits.o \
ra_interv.o ra_pack.o ra_xform.o ra_aux.o
HFILES=\
ra.h ra_items.h ra_lifet.h ra_allocl.h ra_profits.h \
ra_interv.h ra_pack.h ra_xform.h ra_aux.h
PRFILES=\
$(CFILES) $(HFILES) Makefile
SHARE_OFILES=\
$(SHR)/aux.o $(SHR)/get.o $(SHR)/put.o $(SHR)/alloc.o $(SHR)/global.o \
$(SHR)/debug.o $(SHR)/files.o $(SHR)/map.o $(SHR)/lset.o $(SHR)/cset.o \
$(SHR)/go.o
SHARE_MFILES=\
$(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
ra: $(OFILES)
$(CC) -o ra $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
ra_ack: $(CFILES) $(SHARE_MFILES)
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
$(CC) -o ra -.c $(LDFLAGS) ra.o $(EMLIB)/em_data.a
lint:
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
pr: $(PRFILES)
@pr $?
@touch pr
depend:
$(SHR)/makedepend
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
ra.o: ../../../h/em_reg.h
ra.o: ../share/alloc.h
ra.o: ../share/debug.h

View file

@ -1,18 +1,48 @@
EMH=../../../h
EML=../../../lib
SHARE=../share
OBJECTS=sp.o
SHOBJECTS=$(SHARE)/get.o $(SHARE)/put.o $(SHARE)/alloc.o $(SHARE)/global.o $(SHARE)/debug.o $(SHARE)/files.o $(SHARE)/map.o $(SHARE)/lset.o $(SHARE)/cset.o $(SHARE)/aux.o $(SHARE)/stack_chg.o $(SHARE)/go.o
SRC=sp.c
all: $(OBJECTS)
sp: \
$(OBJECTS) $(SHOBJECTS)
$(CC) -o sp -i $(OBJECTS) $(SHOBJECTS) $(EML)/em_data.a
lpr:
pr $(SRC) | lpr
EMLIB=../../../lib
SHR=../share
CFILES=\
sp.c
OFILES=\
sp.o
HFILES=
PRFILES=\
$(CFILES) $(HFILES) Makefile
SHARE_OFILES=\
$(SHR)/get.o $(SHR)/put.o $(SHR)/alloc.o $(SHR)/global.o $(SHR)/debug.o \
$(SHR)/files.o $(SHR)/map.o $(SHR)/lset.o $(SHR)/cset.o $(SHR)/aux.o \
$(SHR)/stack_chg.o $(SHR)/go.o
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
sp: $(OFILES)
$(CC) -o sp $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
sp_ack: $(CFILES) $(SHARE_MFILES)
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
$(CC) -o sp -.c $(LDFLAGS) sp.o $(EMLIB)/em_data.a
lint:
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
pr: $(PRFILES)
@pr $?
@touch pr
depend:
$(SHR)/makedepend
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
sp.o: ../share/alloc.h
sp.o: ../share/aux.h
sp.o: ../share/debug.h

View file

@ -1,19 +1,49 @@
EMH=../../../h
EML=../../../lib
CFLAGS=-DVERBOSE
SHARE=../share
SR=.
OBJECTS=sr.o sr_expr.o sr_reduce.o sr_iv.o sr_cand.o sr_xform.o sr_aux.o
SHOBJECTS=$(SHARE)/get.o $(SHARE)/put.o $(SHARE)/alloc.o $(SHARE)/global.o $(SHARE)/debug.o $(SHARE)/files.o $(SHARE)/map.o $(SHARE)/lset.o $(SHARE)/cset.o $(SHARE)/aux.o $(SHARE)/go.o
SRC=sr.h sr_iv.h sr_reduce.h sr_cand.h sr_xform.h sr_expr.h sr_aux.h sr.c sr_iv.c sr_reduce.c sr_cand.c sr_xform.c sr_expr.c sr_aux.c
all: $(OBJECTS)
sr: \
$(OBJECTS) $(SHOBJECTS)
$(CC) -o sr -i $(OBJECTS) $(SHOBJECTS) $(EML)/em_data.a
lpr:
pr $(SRC) | lpr
EMLIB=../../../lib
SHR=../share
CFILES=\
sr.c sr_iv.c sr_reduce.c sr_cand.c sr_xform.c sr_expr.c sr_aux.c
OFILES=\
sr.o sr_expr.o sr_reduce.o sr_iv.o sr_cand.o sr_xform.o sr_aux.o
HFILES=\
sr.h sr_iv.h sr_reduce.h sr_cand.h sr_xform.h sr_expr.h sr_aux.h
PRFILES=\
$(CFILES) $(HFILES) Makefile
SHARE_OFILES=\
$(SHR)/get.o $(SHR)/put.o $(SHR)/alloc.o $(SHR)/global.o $(SHR)/debug.o \
$(SHR)/files.o $(SHR)/map.o $(SHR)/lset.o $(SHR)/cset.o $(SHR)/aux.o \
$(SHR)/go.o
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)/go.m
sr: $(OFILES)
$(CC) -o sr $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
sr_ack: $(CFILES) $(SHARE_MFILES)
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
$(CC) -o sr -.c $(LDFLAGS) sr.o $(EMLIB)/em_data.a
lint:
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
pr: $(PRFILES)
@pr $?
@touch pr
depend:
$(SHR)/makedepend
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
sr.o: ../share/alloc.h
sr.o: ../share/debug.h
sr.o: ../share/files.h

View file

@ -1,19 +1,49 @@
EMH=../../../h
EML=../../../lib
CFLAGS=
SHARE=../share
UD=.
OBJECTS=ud.o ud_const.o ud_copy.o ud_aux.o ud_defs.o
SHOBJECTS=$(SHARE)/get.o $(SHARE)/put.o $(SHARE)/map.o $(SHARE)/alloc.o $(SHARE)/global.o $(SHARE)/debug.o $(SHARE)/lset.o $(SHARE)/cset.o $(SHARE)/files.o $(SHARE)/aux.o $(SHARE)/locals.o $(SHARE)/init_glob.o $(SHARE)/go.o
SRC=ud.h ud_defs.h ud_const.h ud_copy.h ud_aux.h ud.c ud_defs.c ud_const.c ud_copy.c ud_aux.c
all: $(OBJECTS)
ud: \
$(OBJECTS) $(SHOBJECTS)
$(CC) -o ud -i $(OBJECTS) $(SHOBJECTS) $(EML)/em_data.a
lpr:
pr $(SRC) | lpr
EMLIB=../../../lib
SHR=../share
CFILES=\
ud.c ud_defs.c ud_const.c ud_copy.c ud_aux.c
OFILES=\
ud.o ud_const.o ud_copy.o ud_aux.o ud_defs.o
HFILES=\
ud.h ud_defs.h ud_const.h ud_copy.h ud_aux.h
PRFILES=\
$(CFILES) $(HFILES) Makefile
SHARE_OFILES=\
$(SHR)/get.o $(SHR)/put.o $(SHR)/map.o $(SHR)/alloc.o $(SHR)/global.o \
$(SHR)/debug.o $(SHR)/lset.o $(SHR)/cset.o $(SHR)/files.o $(SHR)/aux.o \
$(SHR)/locals.o $(SHR)/init_glob.o $(SHR)/go.o
SHARE_MFILES=\
$(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
ud: $(OFILES)
$(CC) -o ud $(LDFLAGS) $(OFILES) $(SHARE_OFILES) $(EMLIB)/em_data.a
ud_ack: $(CFILES) $(SHARE_MFILES)
$(CC) -c.o $(CFLAGS) $(CFILES) $(SHARE_MFILES)
$(CC) -o ud -.c $(LDFLAGS) ud.o $(EMLIB)/em_data.a
lint:
lint $(LINTFLAGS) $(CPPFLAGS) $(CFILES)
pr: $(PRFILES)
@pr $?
@touch pr
depend:
$(SHR)/makedepend
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
ud.o: ../../../h/em_pseu.h
ud.o: ../../../h/em_spec.h
ud.o: ../share/alloc.h