-
EMHOME=../../..
EMH=$(EMHOME)/h
EMLIB=$(EMHOME)/lib
SHR=../share
LDFLAGS=
-CPPFLAGS=-DVERBOSE -DNOTCOMPACT
+CPPFLAGS=-DVERBOSE -DNOTCOMPACT -I$(EMH)
CFLAGS=$(CPPFLAGS) -O
LINTFLAGS=-hbu
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
-
-il.o: ../../../h/em_mnem.h
-il.o: ../../../h/em_pseu.h
il.o: ../share/alloc.h
il.o: ../share/debug.h
il.o: ../share/files.h
il.o: ../share/get.h
il.o: ../share/global.h
+il.o: ../share/go.h
il.o: ../share/lset.h
il.o: ../share/map.h
il.o: ../share/put.h
il.o: il1_anal.h
il.o: il2_aux.h
il.o: il3_subst.h
-il1_anal.o: ../../../h/em_mnem.h
-il1_anal.o: ../../../h/em_pseu.h
+il.o: il_aux.h
il1_anal.o: ../share/alloc.h
+il1_anal.o: ../share/aux.h
il1_anal.o: ../share/debug.h
il1_anal.o: ../share/global.h
il1_anal.o: ../share/lset.h
il1_anal.o: il1_cal.h
il1_anal.o: il1_formal.h
il1_anal.o: il_aux.h
-il1_aux.o: ../../../h/em_spec.h
il1_aux.o: ../share/alloc.h
il1_aux.o: ../share/debug.h
il1_aux.o: ../share/global.h
il1_aux.o: il.h
il1_aux.o: il1_aux.h
il1_aux.o: il_aux.h
-il1_cal.o: ../../../h/em_mnem.h
-il1_cal.o: ../../../h/em_spec.h
il1_cal.o: ../share/alloc.h
il1_cal.o: ../share/debug.h
il1_cal.o: ../share/global.h
il1_formal.o: il.h
il1_formal.o: il1_aux.h
il1_formal.o: il1_formal.h
-il2_aux.o: ../../../h/em_mnem.h
-il2_aux.o: ../../../h/em_spec.h
il2_aux.o: ../share/alloc.h
+il2_aux.o: ../share/aux.h
il2_aux.o: ../share/debug.h
il2_aux.o: ../share/get.h
il2_aux.o: ../share/global.h
il3_aux.o: il.h
il3_aux.o: il3_aux.h
il3_aux.o: il_aux.h
-il3_change.o: ../../../h/em_mes.h
-il3_change.o: ../../../h/em_mnem.h
-il3_change.o: ../../../h/em_pseu.h
-il3_change.o: ../../../h/em_spec.h
il3_change.o: ../share/alloc.h
+il3_change.o: ../share/aux.h
il3_change.o: ../share/debug.h
il3_change.o: ../share/def.h
il3_change.o: ../share/get.h
il3_change.o: il3_aux.h
il3_change.o: il3_change.h
il3_change.o: il_aux.h
-il3_subst.o: ../../../h/em_mnem.h
il3_subst.o: ../share/alloc.h
il3_subst.o: ../share/debug.h
il3_subst.o: ../share/get.h
il3_subst.o: il3_aux.h
il3_subst.o: il3_change.h
il3_subst.o: il3_subst.h
-il_aux.o: ../../../h/em_spec.h
+il3_subst.o: il_aux.h
il_aux.o: ../share/alloc.h
il_aux.o: ../share/debug.h
+il_aux.o: ../share/get.h
il_aux.o: ../share/global.h
il_aux.o: ../share/lset.h
il_aux.o: ../share/map.h
+il_aux.o: ../share/put.h
il_aux.o: ../share/types.h
il_aux.o: il.h
il_aux.o: il_aux.h
*/
/* I N L I N E S U B S T I T U T I O N */
#include <stdio.h>
+#include <em_path.h>
+#include <em_mnem.h>
+#include <em_pseu.h>
#include "../share/types.h"
#include "il.h"
#include "../share/debug.h"
#include "../share/global.h"
#include "../share/lset.h"
#include "../share/files.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_pseu.h"
#include "../share/map.h"
#include "il_aux.h"
#include "il1_anal.h"
STATIC long space = 0;
STATIC long total_size = 0;
-STATIC char cname[] = "/usr/tmp/ego.i1.XXXXXX";
-STATIC char ccname[] = "/usr/tmp/ego.i2.XXXXXX";
+STATIC char cname[128] = TMP_DIR;
+STATIC char ccname[128] = TMP_DIR;
/* For debugging only */
-STATIC char sname[] = "/usr/tmp/ego.i3.XXXXXX";
+STATIC char sname[128] = TMP_DIR;
+STATIC int kp_temps = 0;
int Ssubst;
#ifdef VERBOSE
-STATIC char cname2[] = "/usr/tmp/ego.i4.XXXXXX";
+STATIC char cname2[128] = TMP_DIR;
pass2(cnam,space)
char *cnam;
}
}
select_calls(fproc,ccf,space);
- fclose(cf); unlink(cnam);
+ fclose(cf); if (! kp_temps) unlink(cnam);
fclose(cf2);
- fclose(ccf); unlink(ccname);
+ fclose(ccf); if (! kp_temps) unlink(ccname);
cf2 = openfile(cname2,"r");
add_actuals(fproc,cf2);
cleancals(fproc); /* remove calls that were not selected */
/* add actual parameters to each selected call */
- fclose(cf2); unlink(cname2);
+ fclose(cf2); if (! kp_temps) unlink(cname2);
}
fclose(lfile2);
if (verbose) {
fclose(sfile);
- unlink(sname);
+ if (! kp_temps) unlink(sname);
}
}
case 'a':
complete_program = 1;
break;
+ case 't':
+ strcpy(cname, ".");
+ strcpy(ccname, ".");
+ strcpy(sname, ".");
+ strcpy(cname2, ".");
+ kp_temps = 1;
+ break;
}
}
go(argc,argv,no_action,no_action,no_action,il_flags);
il_extptab(fproc); /* add extended data structures */
+ strcat(cname, "/ego.i1.XXXXXX");
+ strcat(ccname, "/ego.i2.XXXXXX");
+ strcat(sname, "/ego.i3.XXXXXX");
+ strcat(cname2, "/ego.i4.XXXXXX");
mktemp(cname);
mktemp(ccname);
mktemp(sname);
*/
#include <stdio.h>
+#include <em_mnem.h>
+#include <em_pseu.h>
#include "../share/types.h"
#include "il.h"
#include "../share/debug.h"
#include "../share/global.h"
#include "../share/lset.h"
#include "../share/aux.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_pseu.h"
#include "il1_aux.h"
#include "il1_formal.h"
#include "il1_cal.h"
* I L 1 _ A U X . C
*/
+#include <em_spec.h>
#include "../share/types.h"
#include "il.h"
#include "../share/debug.h"
#include "../share/alloc.h"
#include "../share/global.h"
#include "../share/lset.h"
-#include "../../../h/em_spec.h"
#include "il_aux.h"
#include "il1_aux.h"
*/
#include <stdio.h>
+#include <em_spec.h>
+#include <em_mnem.h>
#include "../share/types.h"
#include "il.h"
#include "il1_cal.h"
#include "../share/alloc.h"
#include "../share/global.h"
#include "../share/lset.h"
-#include "../../../h/em_spec.h"
-#include "../../../h/em_mnem.h"
#include "il1_aux.h"
#include "../share/parser.h"
*/
#include <stdio.h>
+#include <em_spec.h>
+#include <em_mnem.h>
#include "../share/types.h"
#include "il.h"
#include "../share/debug.h"
#include "../share/alloc.h"
#include "../share/global.h"
#include "../share/lset.h"
-#include "../../../h/em_spec.h"
-#include "../../../h/em_mnem.h"
#include "il_aux.h"
#include "il2_aux.h"
#include "../share/get.h"
#include <stdio.h>
+#include <em_mnem.h>
+#include <em_pseu.h>
+#include <em_spec.h>
+#include <em_mes.h>
#include "../share/types.h"
#include "il.h"
#include "../share/debug.h"
#include "../share/def.h"
#include "../share/lset.h"
#include "../share/aux.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_spec.h"
-#include "../../../h/em_mes.h"
#include "../share/get.h"
#include "../share/put.h"
#include "il_aux.h"
*/
#include <stdio.h>
+#include <em_mnem.h>
#include "../share/types.h"
#include "il.h"
#include "../share/debug.h"
#include "../share/global.h"
#include "../share/lset.h"
#include "../share/get.h"
-#include "../../../h/em_mnem.h"
#include "il_aux.h"
#include "il3_aux.h"
#include "il3_change.h"
*/
#include <stdio.h>
+#include <em_spec.h>
+#include <em_mnem.h>
+#include <em_pseu.h>
#include "../share/types.h"
#include "il.h"
#include "../share/debug.h"
#include "../share/global.h"
#include "../share/lset.h"
#include "../share/map.h"
-#include "../../../h/em_spec.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_pseu.h"
#include "il_aux.h"
-
EMHOME=../../..
EMH=$(EMHOME)/h
EMLIB=$(EMHOME)/lib
SHR=../share
LDFLAGS=
-CPPFLAGS=-DVERBOSE -DNOTCOMPACT
+CPPFLAGS=-DVERBOSE -DNOTCOMPACT -I$(EMH)
CFLAGS=$(CPPFLAGS) -O
LINTFLAGS=-hbu
# 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
lv.o: ../share/alloc.h
lv.o: ../share/aux.h
lv.o: ../share/cset.h
/* L I V E V A R I A B L E S A N A L Y S I S */
#include <stdio.h>
+#include <em_mnem.h>
+#include <em_pseu.h>
+#include <em_spec.h>
+#include <em_mes.h>
+#include <em_ego.h>
#include "../share/types.h"
#include "lv.h"
#include "../share/debug.h"
#include "../share/init_glob.h"
#include "../share/locals.h"
#include "../share/go.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_spec.h"
-#include "../../../h/em_mes.h"
-#include "../../../h/em_ego.h"
#include "../share/parser.h"
#define newlvbx() (bext_p) newstruct(bext_lv)
-
EMHOME=../../..
EMH=$(EMHOME)/h
EMLIB=$(EMHOME)/lib
SHR=../share
LDFLAGS=
-CPPFLAGS=-DVERBOSE -DNOTCOMPACT
+CPPFLAGS=-DVERBOSE -DNOTCOMPACT -I$(EMH)
CFLAGS=$(CPPFLAGS) -O
LINTFLAGS=-hbu
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
-
-ra.o: ../../../h/em_reg.h
ra.o: ../share/alloc.h
ra.o: ../share/debug.h
ra.o: ../share/files.h
ra.o: ra_pack.h
ra.o: ra_profits.h
ra.o: ra_xform.h
-ra_allocl.o: ../../../h/em_mnem.h
-ra_allocl.o: ../../../h/em_pseu.h
-ra_allocl.o: ../../../h/em_reg.h
-ra_allocl.o: ../../../h/em_spec.h
ra_allocl.o: ../share/alloc.h
ra_allocl.o: ../share/aux.h
ra_allocl.o: ../share/cset.h
ra_allocl.o: ra_aux.h
ra_allocl.o: ra_interv.h
ra_allocl.o: ra_items.h
-ra_aux.o: ../../../h/em_mnem.h
-ra_aux.o: ../../../h/em_pseu.h
-ra_aux.o: ../../../h/em_reg.h
-ra_aux.o: ../../../h/em_spec.h
ra_aux.o: ../share/alloc.h
ra_aux.o: ../share/debug.h
ra_aux.o: ../share/def.h
ra_interv.o: ../share/global.h
ra_interv.o: ../share/lset.h
ra_interv.o: ../share/types.h
-ra_interv.o: ../../../h/em_reg.h
ra_interv.o: ra.h
ra_interv.o: ra_interv.h
-ra_items.o: ../../../h/em_mnem.h
-ra_items.o: ../../../h/em_pseu.h
-ra_items.o: ../../../h/em_reg.h
-ra_items.o: ../../../h/em_spec.h
ra_items.o: ../share/alloc.h
ra_items.o: ../share/aux.h
ra_items.o: ../share/debug.h
ra_items.o: ra.h
ra_items.o: ra_aux.h
ra_items.o: ra_items.h
-ra_lifet.o: ../../../h/em_mnem.h
-ra_lifet.o: ../../../h/em_pseu.h
-ra_lifet.o: ../../../h/em_reg.h
-ra_lifet.o: ../../../h/em_spec.h
ra_lifet.o: ../share/alloc.h
ra_lifet.o: ../share/aux.h
ra_lifet.o: ../share/debug.h
ra_lifet.o: ra_aux.h
ra_lifet.o: ra_items.h
ra_lifet.o: ra_lifet.h
-ra_pack.o: ../../../h/em_reg.h
ra_pack.o: ../share/alloc.h
ra_pack.o: ../share/aux.h
ra_pack.o: ../share/cset.h
ra_pack.o: ra.h
ra_pack.o: ra_aux.h
ra_pack.o: ra_interv.h
-ra_profits.o: ../../../h/em_reg.h
ra_profits.o: ../share/debug.h
ra_profits.o: ../share/global.h
ra_profits.o: ../share/lset.h
ra_profits.o: ra.h
ra_profits.o: ra_aux.h
ra_profits.o: ra_profits.h
-ra_xform.o: ../../../h/em_mes.h
-ra_xform.o: ../../../h/em_mnem.h
-ra_xform.o: ../../../h/em_pseu.h
-ra_xform.o: ../../../h/em_reg.h
-ra_xform.o: ../../../h/em_spec.h
ra_xform.o: ../share/alloc.h
ra_xform.o: ../share/aux.h
ra_xform.o: ../share/debug.h
*/
#include <stdio.h>
+#include <em_reg.h>
#include "../share/types.h"
#include "../share/debug.h"
#include "../share/global.h"
#include "../share/map.h"
#include "../share/alloc.h"
#include "../share/go.h"
-#include "../../../h/em_reg.h"
#include "ra.h"
#include "ra_items.h"
#include "ra_allocl.h"
* R A _ A L L O C L I S T . C
*/
+#include <em_mnem.h>
+#include <em_spec.h>
+#include <em_pseu.h>
+#include <em_reg.h>
#include "../share/types.h"
#include "../share/debug.h"
#include "../share/def.h"
#include "../share/aux.h"
#include "../share/alloc.h"
#include "../share/map.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_spec.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_reg.h"
#include "ra.h"
#include "ra_aux.h"
#include "ra_items.h"
* A U X I L I A R Y R O U T I N E S
*/
+#include <em_mnem.h>
+#include <em_spec.h>
+#include <em_pseu.h>
+#include <em_reg.h>
#include "../share/types.h"
#include "../share/debug.h"
#include "../share/def.h"
#include "../share/global.h"
#include "../share/lset.h"
#include "../share/alloc.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_spec.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_reg.h"
#include "ra.h"
#include "ra_aux.h"
*/
+#include <em_reg.h>
#include "../share/types.h"
#include "../share/debug.h"
#include "../share/global.h"
#include "../share/alloc.h"
#include "../share/lset.h"
-#include "../../../h/em_reg.h"
#include "ra.h"
#include "ra_interv.h"
* R A _ I T E M S . C
*/
+#include <em_mnem.h>
+#include <em_spec.h>
+#include <em_pseu.h>
+#include <em_reg.h>
#include "../share/types.h"
#include "../share/debug.h"
#include "../share/def.h"
#include "../share/lset.h"
#include "../share/aux.h"
#include "../share/alloc.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_spec.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_reg.h"
#include "ra.h"
#include "ra_aux.h"
#include "ra_items.h"
* R A _ L I F E T I M E . C
*/
+#include <em_mnem.h>
+#include <em_spec.h>
+#include <em_pseu.h>
+#include <em_reg.h>
+#include <em_mes.h>
+#include <em_ego.h>
#include "../share/types.h"
#include "../share/debug.h"
#include "../share/def.h"
#include "../share/lset.h"
#include "../share/aux.h"
#include "../share/alloc.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_spec.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_reg.h"
-#include "../../../h/em_mes.h"
-#include "../../../h/em_ego.h"
#include "ra.h"
#include "ra_aux.h"
#include "ra_items.h"
* R A _ P A C K . C
*/
+#include <em_reg.h>
#include "../share/types.h"
#include "../share/debug.h"
#include "../share/def.h"
#include "../share/cset.h"
#include "../share/alloc.h"
#include "../share/aux.h"
-#include "../../../h/em_reg.h"
#include "ra.h"
#include "ra_aux.h"
#include "ra_interv.h"
*/
#include <stdio.h>
+#include <em_reg.h>
#include "../share/types.h"
#include "../share/debug.h"
#include "../share/lset.h"
#include "../share/global.h"
-#include "../../../h/em_reg.h"
#include "ra.h"
#include "ra_aux.h"
#include "ra_profits.h"
* R A _ X F O R M . C
*/
+#include <em_mnem.h>
+#include <em_spec.h>
+#include <em_pseu.h>
+#include <em_mes.h>
+#include <em_ego.h>
+#include <em_reg.h>
#include "../share/types.h"
#include "../share/debug.h"
#include "../share/def.h"
#include "../share/lset.h"
#include "../share/aux.h"
#include "../share/alloc.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_spec.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_mes.h"
-#include "../../../h/em_ego.h"
-#include "../../../h/em_reg.h"
#include "ra.h"
#include "ra_interv.h"
#include "ra_xform.h"
EMHOME=../../..
EMH=$(EMHOME)/h
EMLIB=$(EMHOME)/lib
-SHARE=../share
+SHR=../share
LDFLAGS=
-CPPFLAGS=-DVERBOSE -DNOTCOMPACT
+CPPFLAGS=-DVERBOSE -DNOTCOMPACT -I$(EMH)
CFLAGS=$(CPPFLAGS) -O
LINTFLAGS=-hbu
alloc.o: alloc.h
alloc.o: debug.h
alloc.o: types.h
-aux.o: ../../../h/em_mes.h
-aux.o: ../../../h/em_pseu.h
-aux.o: ../share/alloc.h
-aux.o: ../share/aux.h
-aux.o: ../share/debug.h
-aux.o: ../share/global.h
-aux.o: ../share/map.h
-aux.o: ../share/types.h
+aux.o: alloc.h
+aux.o: aux.h
+aux.o: debug.h
+aux.o: global.h
+aux.o: lset.h
+aux.o: map.h
+aux.o: types.h
cset.o: alloc.h
cset.o: cset.h
cset.o: debug.h
cset.o: global.h
cset.o: types.h
-debug.o: ../../../h/em_spec.h
debug.o: debug.h
debug.o: def.h
debug.o: global.h
debug.o: types.h
-get.o: ../../../h/em_flag.h
-get.o: ../../../h/em_mes.h
-get.o: ../../../h/em_mnem.h
-get.o: ../../../h/em_pseu.h
-get.o: ../../../h/em_spec.h
get.o: alloc.h
get.o: aux.h
get.o: cset.h
get.o: map.h
get.o: types.h
global.o: types.h
-go.o: ../share/alloc.h
-go.o: ../share/debug.h
-go.o: ../share/files.h
-go.o: ../share/get.h
-go.o: ../share/global.h
-go.o: ../share/lset.h
-go.o: ../share/map.h
-go.o: ../share/put.h
-go.o: ../share/types.h
-init_glob.o: ../share/alloc.h
-init_glob.o: ../share/debug.h
-init_glob.o: ../share/global.h
-init_glob.o: ../share/map.h
-init_glob.o: ../share/types.h
-locals.o: ../../../h/em_mes.h
-locals.o: ../../../h/em_mnem.h
-locals.o: ../../../h/em_pseu.h
-locals.o: ../../../h/em_spec.h
+go.o: alloc.h
+go.o: debug.h
+go.o: files.h
+go.o: get.h
+go.o: global.h
+go.o: go.h
+go.o: lset.h
+go.o: map.h
+go.o: put.h
+go.o: types.h
+init_glob.o: alloc.h
+init_glob.o: debug.h
+init_glob.o: global.h
+init_glob.o: map.h
+init_glob.o: types.h
locals.o: alloc.h
locals.o: aux.h
locals.o: cset.h
lset.o: types.h
map.o: map.h
map.o: types.h
-parser.o: ../../../h/em_mnem.h
-parser.o: ../../../h/em_spec.h
parser.o: alloc.h
parser.o: aux.h
parser.o: classdefs.h
parser.o: global.h
parser.o: lset.h
parser.o: types.h
-put.o: ../../../h/em_pseu.h
-put.o: ../../../h/em_spec.h
put.o: alloc.h
put.o: debug.h
put.o: def.h
put.o: map.h
put.o: put.h
put.o: types.h
-show.o: ../../../h/em_flag.h
-show.o: ../../../h/em_pseu.h
-show.o: ../../../h/em_spec.h
-show.o: ../share/def.h
-show.o: ../share/global.h
-show.o: ../share/types.h
-stack_chg.o: ../share/debug.h
-stack_chg.o: ../share/global.h
-stack_chg.o: ../share/types.h
-stack_chg.o: ../../../h/em_mnem.h
-stack_chg.o: ../../../h/em_spec.h
+show.o: def.h
+show.o: global.h
+show.o: types.h
+stack_chg.o: debug.h
+stack_chg.o: global.h
stack_chg.o: pop_push.h
-
-alloc.m: alloc.h
-alloc.m: debug.h
-alloc.m: types.h
-aux.m: ../../../h/em_mes.h
-aux.m: ../../../h/em_pseu.h
-aux.m: ../share/alloc.h
-aux.m: ../share/aux.h
-aux.m: ../share/debug.h
-aux.m: ../share/global.h
-aux.m: ../share/map.h
-aux.m: ../share/types.h
-cset.m: alloc.h
-cset.m: cset.h
-cset.m: debug.h
-cset.m: global.h
-cset.m: types.h
-debug.m: ../../../h/em_spec.h
-debug.m: debug.h
-debug.m: def.h
-debug.m: global.h
-debug.m: types.h
-get.m: ../../../h/em_flag.h
-get.m: ../../../h/em_mes.h
-get.m: ../../../h/em_mnem.h
-get.m: ../../../h/em_pseu.h
-get.m: ../../../h/em_spec.h
-get.m: alloc.h
-get.m: aux.h
-get.m: cset.h
-get.m: debug.h
-get.m: def.h
-get.m: get.h
-get.m: global.h
-get.m: lset.h
-get.m: map.h
-get.m: types.h
-global.m: types.h
-go.m: ../share/alloc.h
-go.m: ../share/debug.h
-go.m: ../share/files.h
-go.m: ../share/get.h
-go.m: ../share/global.h
-go.m: ../share/lset.h
-go.m: ../share/map.h
-go.m: ../share/put.h
-go.m: ../share/types.h
-init_glob.m: ../share/alloc.h
-init_glob.m: ../share/debug.h
-init_glob.m: ../share/global.h
-init_glob.m: ../share/map.h
-init_glob.m: ../share/types.h
-locals.m: ../../../h/em_mes.h
-locals.m: ../../../h/em_mnem.h
-locals.m: ../../../h/em_pseu.h
-locals.m: ../../../h/em_spec.h
-locals.m: alloc.h
-locals.m: aux.h
-locals.m: cset.h
-locals.m: debug.h
-locals.m: def.h
-locals.m: get.h
-locals.m: global.h
-locals.m: locals.h
-locals.m: lset.h
-locals.m: types.h
-lset.m: alloc.h
-lset.m: debug.h
-lset.m: lset.h
-lset.m: types.h
-map.m: map.h
-map.m: types.h
-parser.m: ../../../h/em_mnem.h
-parser.m: ../../../h/em_spec.h
-parser.m: alloc.h
-parser.m: aux.h
-parser.m: classdefs.h
-parser.m: debug.h
-parser.m: global.h
-parser.m: lset.h
-parser.m: types.h
-put.m: ../../../h/em_pseu.h
-put.m: ../../../h/em_spec.h
-put.m: alloc.h
-put.m: debug.h
-put.m: def.h
-put.m: global.h
-put.m: lset.h
-put.m: map.h
-put.m: put.h
-put.m: types.h
-show.m: ../../../h/em_flag.h
-show.m: ../../../h/em_pseu.h
-show.m: ../../../h/em_spec.h
-show.m: ../share/def.h
-show.m: ../share/global.h
-show.m: ../share/types.h
-stack_chg.m: ../share/debug.h
-stack_chg.m: ../share/global.h
-stack_chg.m: ../share/types.h
-stack_chg.m: ../../../h/em_mnem.h
-stack_chg.m: ../../../h/em_spec.h
-stack_chg.m: pop_push.h
+stack_chg.o: types.h
*
*/
-#include "../share/types.h"
-#include "../share/debug.h"
-#include "../share/global.h"
-#include "../share/alloc.h"
-#include "../share/aux.h"
-#include "../share/map.h"
-#include "../share/lset.h"
-#include "../../../h/em_mes.h"
-#include "../../../h/em_pseu.h"
+#include <em_mes.h>
+#include <em_pseu.h>
+#include "types.h"
+#include "debug.h"
+#include "global.h"
+#include "alloc.h"
+#include "aux.h"
+#include "map.h"
+#include "lset.h"
offset off_set(lnp)
line_p lnp;
#include <stdio.h>
+#include <em_spec.h>
#include "types.h"
#include "def.h"
#include "debug.h"
-#include "../../../h/em_spec.h"
#include "global.h"
*/
#include <stdio.h>
+#include <em_spec.h>
+#include <em_mnem.h>
+#include <em_pseu.h>
+#include <em_mes.h>
#include "types.h"
#include "def.h"
#include "debug.h"
#include "alloc.h"
#include "map.h"
#include "aux.h"
-#include "../../../h/em_spec.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_mes.h"
FILE *curinp;
block_id lastbid; /* block identifying number */
*
*/
-#include "../share/types.h"
-#include "../share/debug.h"
-#include "../share/global.h"
-#include "../share/alloc.h"
-#include "../share/map.h"
+#include "types.h"
+#include "debug.h"
+#include "global.h"
+#include "alloc.h"
+#include "map.h"
extern short nrglobals;
*/
#include <stdio.h>
+#include <em_mnem.h>
+#include <em_spec.h>
+#include <em_pseu.h>
+#include <em_mes.h>
#include "types.h"
#include "debug.h"
#include "global.h"
#include "get.h"
#include "aux.h"
#include "alloc.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_spec.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_mes.h"
#include "locals.h"
*/
#include <stdio.h>
+#include <em_spec.h>
+#include <em_mnem.h>
#include "types.h"
#include "debug.h"
#include "alloc.h"
#include "global.h"
#include "lset.h"
#include "aux.h"
-#include "../../../h/em_spec.h"
-#include "../../../h/em_mnem.h"
struct class {
byte src_class;
/* P U T . C */
#include <stdio.h>
+#include <em_pseu.h>
+#include <em_spec.h>
#include "types.h"
#include "global.h"
#include "debug.h"
#include "def.h"
#include "map.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_spec.h"
#include "lset.h"
#include "alloc.h"
#include "put.h"
#include <stdio.h>
-#include "../../../h/em_spec.h"
-#include "../../../h/em_flag.h"
-#include "../../../h/em_pseu.h"
-#include "../share/types.h"
-#include "../share/def.h"
-#include "../share/global.h"
+#include <em_spec.h>
+#include <em_flag.h>
+#include <em_pseu.h>
+#include "types.h"
+#include "def.h"
+#include "global.h"
#define BMASK 0377
#include <stdio.h>
-#include "../share/types.h"
-#include "../share/debug.h"
-#include "../share/global.h"
-#include "../../../h/em_spec.h"
-#include "../../../h/em_mnem.h"
+#include <em_spec.h>
+#include <em_mnem.h>
+#include "types.h"
+#include "debug.h"
+#include "global.h"
#include "pop_push.h"
-
EMHOME=../../..
EMH=$(EMHOME)/h
EMLIB=$(EMHOME)/lib
SHR=../share
LDFLAGS=
-CPPFLAGS=-DVERBOSE -DNOTCOMPACT
+CPPFLAGS=-DVERBOSE -DNOTCOMPACT -I$(EMH)
CFLAGS=$(CPPFLAGS) -O
LINTFLAGS=-hbu
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
-
sp.o: ../share/alloc.h
sp.o: ../share/aux.h
sp.o: ../share/debug.h
sp.o: ../share/put.h
sp.o: ../share/stack_chg.h
sp.o: ../share/types.h
-sp.o: ../../../h/em_mnem.h
-sp.o: ../../../h/em_spec.h
-stack_chg.o: ../share/debug.h
-stack_chg.o: ../share/global.h
-stack_chg.o: ../share/types.h
-stack_chg.o: ../../../h/em_mnem.h
-stack_chg.o: ../../../h/em_spec.h
-stack_chg.o: pop_push.h
#include <stdio.h>
+#include <em_mnem.h>
+#include <em_spec.h>
#include "../share/types.h"
#include "../share/debug.h"
#include "../share/global.h"
#include "../share/aux.h"
#include "../share/go.h"
#include "../share/stack_chg.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_spec.h"
/* Stack pollution throws away the ASP instructions after a procedure call.
-
EMHOME=../../..
EMH=$(EMHOME)/h
EMLIB=$(EMHOME)/lib
SHR=../share
LDFLAGS=
-CPPFLAGS=-DVERBOSE -DNOTCOMPACT
+CPPFLAGS=-DVERBOSE -DNOTCOMPACT -I$(EMH)
CFLAGS=$(CPPFLAGS) -O
LINTFLAGS=-hbu
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
-
sr.o: ../share/alloc.h
+sr.o: ../share/aux.h
sr.o: ../share/debug.h
sr.o: ../share/files.h
sr.o: ../share/get.h
sr.o: ../share/global.h
+sr.o: ../share/go.h
sr.o: ../share/lset.h
sr.o: ../share/map.h
sr.o: ../share/put.h
sr.o: sr.h
sr.o: sr_aux.h
sr.o: sr_iv.h
-sr_aux.o: ../../../h/em_mnem.h
-sr_aux.o: ../../../h/em_pseu.h
sr_aux.o: ../share/aux.h
sr_aux.o: ../share/debug.h
sr_aux.o: ../share/global.h
sr_aux.o: sr.h
sr_aux.o: sr_aux.h
sr_aux.o: sr_xform.h
-sr_cand.o: ../../../h/em_mnem.h
-sr_cand.o: ../../../h/em_pseu.h
sr_cand.o: ../share/aux.h
sr_cand.o: ../share/cset.h
sr_cand.o: ../share/debug.h
sr_cand.o: sr.h
sr_cand.o: sr_aux.h
sr_cand.o: sr_cand.h
-sr_expr.o: ../../../h/em_mnem.h
sr_expr.o: ../share/aux.h
sr_expr.o: ../share/debug.h
sr_expr.o: ../share/global.h
sr_expr.o: sr.h
sr_expr.o: sr_aux.h
sr_expr.o: sr_iv.h
-sr_iv.o: ../../../h/em_mnem.h
-sr_iv.o: ../../../h/em_pseu.h
sr_iv.o: ../share/alloc.h
sr_iv.o: ../share/aux.h
sr_iv.o: ../share/cset.h
sr_iv.o: sr_aux.h
sr_iv.o: sr_cand.h
sr_iv.o: sr_iv.h
-sr_reduce.o: ../../../h/em_mes.h
-sr_reduce.o: ../../../h/em_mnem.h
-sr_reduce.o: ../../../h/em_pseu.h
-sr_reduce.o: ../../../h/em_reg.h
sr_reduce.o: ../share/alloc.h
sr_reduce.o: ../share/aux.h
sr_reduce.o: ../share/debug.h
+sr_reduce.o: ../share/def.h
sr_reduce.o: ../share/global.h
sr_reduce.o: ../share/lset.h
sr_reduce.o: ../share/types.h
sr_reduce.o: sr_expr.h
sr_reduce.o: sr_reduce.h
sr_reduce.o: sr_xform.h
-sr_xform.o: ../../../h/em_mnem.h
-sr_xform.o: ../../../h/em_pseu.h
-sr_xform.o: ../../../h/em_spec.h
sr_xform.o: ../share/alloc.h
sr_xform.o: ../share/aux.h
sr_xform.o: ../share/debug.h
*/
+#include <em_mnem.h>
+#include <em_pseu.h>
#include "../share/types.h"
#include "sr.h"
#include "../share/debug.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_pseu.h"
#include "../share/global.h"
#include "../share/lset.h"
#include "../share/aux.h"
*/
+#include <em_mnem.h>
+#include <em_pseu.h>
#include "../share/types.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_pseu.h"
#include "../share/lset.h"
#include "../share/cset.h"
#include "../share/debug.h"
#include <stdio.h>
+#include <em_mnem.h>
#include "../share/types.h"
#include "sr.h"
#include "../share/debug.h"
#include "sr_aux.h"
#include "../share/lset.h"
#include "sr_iv.h"
-#include "../../../h/em_mnem.h"
*/
+#include <em_mnem.h>
+#include <em_pseu.h>
#include "../share/types.h"
#include "sr.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_pseu.h"
#include "../share/lset.h"
#include "../share/cset.h"
#include "../share/debug.h"
*/
+#include <em_pseu.h>
+#include <em_reg.h>
+#include <em_mes.h>
+#include <em_mnem.h>
+#include <em_spec.h>
#include "../share/types.h"
#include "sr.h"
-#include "../../../h/em_mnem.h"
#include "../share/debug.h"
#include "../share/alloc.h"
#include "../share/def.h"
#include "sr_xform.h"
#include "sr_reduce.h"
#include "sr_expr.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_reg.h"
-#include "../../../h/em_mes.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_spec.h"
#include <stdio.h>
+#include <em_mnem.h>
+#include <em_pseu.h>
+#include <em_spec.h>
#include "../share/types.h"
#include "sr.h"
#include "../share/debug.h"
#include "sr_aux.h"
#include "../share/lset.h"
#include "../share/aux.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_spec.h"
#include "sr_xform.h"
/* Transformations on EM texts */
-
EMHOME=../../..
EMH=$(EMHOME)/h
EMLIB=$(EMHOME)/lib
SHR=../share
LDFLAGS=
-CPPFLAGS=-DVERBOSE -DNOTCOMPACT
+CPPFLAGS=-DVERBOSE -DNOTCOMPACT -I$(EMH)
CFLAGS=$(CPPFLAGS) -O
LINTFLAGS=-hbu
# the next lines are generated automatically
# AUTOAUTOAUTOAUTOAUTOAUTO
-
-ud.o: ../../../h/em_pseu.h
-ud.o: ../../../h/em_spec.h
ud.o: ../share/alloc.h
ud.o: ../share/aux.h
ud.o: ../share/cset.h
ud.o: ../share/files.h
ud.o: ../share/get.h
ud.o: ../share/global.h
+ud.o: ../share/go.h
+ud.o: ../share/init_glob.h
ud.o: ../share/locals.h
ud.o: ../share/lset.h
ud.o: ../share/map.h
ud.o: ud_const.h
ud.o: ud_copy.h
ud.o: ud_defs.h
-ud_aux.o: ../../../h/em_mnem.h
-ud_aux.o: ../../../h/em_pseu.h
-ud_aux.o: ../../../h/em_spec.h
ud_aux.o: ../share/alloc.h
+ud_aux.o: ../share/aux.h
ud_aux.o: ../share/cset.h
ud_aux.o: ../share/debug.h
ud_aux.o: ../share/def.h
ud_aux.o: ../share/locals.h
ud_aux.o: ../share/lset.h
ud_aux.o: ../share/types.h
-ud_aux.o: ../ud/ud.h
-ud_aux.o: ../ud/ud_defs.h
-ud_const.o: ../../../h/em_mnem.h
-ud_const.o: ../../../h/em_pseu.h
-ud_const.o: ../../../h/em_spec.h
+ud_aux.o: ud.h
+ud_aux.o: ud_defs.h
ud_const.o: ../share/alloc.h
ud_const.o: ../share/aux.h
ud_const.o: ../share/cset.h
ud_const.o: ../share/locals.h
ud_const.o: ../share/lset.h
ud_const.o: ../share/types.h
-ud_const.o: ../ud/ud.h
-ud_const.o: ../ud/ud_defs.h
+ud_const.o: ud.h
ud_const.o: ud_aux.h
ud_const.o: ud_const.h
-ud_copy.o: ../../../h/em_mnem.h
-ud_copy.o: ../../../h/em_pseu.h
-ud_copy.o: ../../../h/em_spec.h
+ud_const.o: ud_defs.h
ud_copy.o: ../share/alloc.h
ud_copy.o: ../share/aux.h
ud_copy.o: ../share/cset.h
ud_copy.o: ../share/locals.h
ud_copy.o: ../share/lset.h
ud_copy.o: ../share/types.h
-ud_copy.o: ../ud/ud.h
ud_copy.o: ../ud/ud_defs.h
+ud_copy.o: ud.h
ud_copy.o: ud_aux.h
+ud_copy.o: ud_const.h
ud_copy.o: ud_copy.h
-ud_defs.o: ../../../h/em_mnem.h
ud_defs.o: ../share/alloc.h
ud_defs.o: ../share/aux.h
ud_defs.o: ../share/cset.h
/* U S E - D E F I N I T I O N A N A L Y S I S */
#include <stdio.h>
+#include <em_spec.h>
#include "../share/types.h"
#include "ud.h"
#include "../share/debug.h"
#include "../share/init_glob.h"
#include "../share/locals.h"
#include "../share/go.h"
-#include "../../../h/em_spec.h"
#include "ud_defs.h"
#include "ud_const.h"
#include "ud_copy.h"
*/
+#include <em_mnem.h>
+#include <em_pseu.h>
+#include <em_spec.h>
#include "../share/types.h"
-#include "../ud/ud.h"
+#include "ud.h"
#include "../share/debug.h"
#include "../share/global.h"
#include "../share/alloc.h"
#include "../share/def.h"
#include "../share/locals.h"
#include "../share/aux.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_spec.h"
-#include "../ud/ud_defs.h"
+#include "ud_defs.h"
repl_line(old,new,b)
line_p old,new;
*/
/* C O N S T A N T P R O P A G A T I O N */
+#include <em_mnem.h>
+#include <em_pseu.h>
+#include <em_spec.h>
#include "../share/types.h"
#include "ud.h"
#include "../share/debug.h"
#include "../share/def.h"
#include "../share/aux.h"
#include "../share/locals.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_spec.h"
#include "ud_defs.h"
#include "ud_const.h"
#include "ud_aux.h"
*/
/* C O P Y P R O P A G A T I O N */
+#include <em_mnem.h>
+#include <em_pseu.h>
+#include <em_spec.h>
#include "../share/types.h"
-#include "../ud/ud.h"
+#include "ud.h"
#include "../share/debug.h"
#include "../share/global.h"
#include "../share/alloc.h"
#include "../share/def.h"
#include "../share/aux.h"
#include "../share/locals.h"
-#include "../../../h/em_mnem.h"
-#include "../../../h/em_pseu.h"
-#include "../../../h/em_spec.h"
#include "../ud/ud_defs.h"
#include "ud_copy.h"
#include "ud_const.h"
* U D _ D E F S . C
*/
+#include <em_mnem.h>
#include "../share/types.h"
#include "ud.h"
#include "../share/debug.h"
#include "../share/cset.h"
#include "../share/map.h"
#include "../share/locals.h"
-#include "../../../h/em_mnem.h"
#include "ud_defs.h"
#include "../share/alloc.h"
#include "../share/aux.h"