1988-09-15 09:49:22 +00:00
|
|
|
EMHOME=../../..
|
|
|
|
BACK=$(EMHOME)/lib/ceg/ce_back
|
1989-02-02 11:45:50 +00:00
|
|
|
CEG = $(EMHOME)/lib/ceg/util
|
1989-02-07 11:12:13 +00:00
|
|
|
AR = ar
|
1988-09-15 09:49:22 +00:00
|
|
|
|
1989-02-02 11:45:50 +00:00
|
|
|
all: back.a
|
|
|
|
make -f $(CEG)/make_own
|
1988-11-08 13:47:18 +00:00
|
|
|
|
1989-02-02 11:45:50 +00:00
|
|
|
install: back.a
|
|
|
|
make -f $(CEG)/make_own install
|
1988-09-15 09:49:22 +00:00
|
|
|
|
1989-02-02 11:45:50 +00:00
|
|
|
cmp: back.a
|
|
|
|
-make -f $(CEG)/make_own cmp
|
|
|
|
|
|
|
|
pr:
|
|
|
|
@pr Makefile EM_table mach.h mach.c as_table as.h as.c \
|
|
|
|
Make.back do_close.c do_open.c end_back.c misc.c output.c relocation.c
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|
|
|
|
|
|
|
|
# total cleanup
|
1988-09-15 09:49:22 +00:00
|
|
|
clean:
|
1989-02-02 11:45:50 +00:00
|
|
|
make -f $(CEG)/make_own clean
|
|
|
|
rm -rf back back.a
|
|
|
|
|
|
|
|
# only remove ce, ceg, and back directories
|
|
|
|
dclean:
|
|
|
|
make -f $(CEG)/make_own dclean
|
|
|
|
rm -rf back
|
1988-09-15 09:49:22 +00:00
|
|
|
|
1989-02-07 11:12:13 +00:00
|
|
|
back.a: do_close.c do_open.c end_back.c output.c relocation.c
|
1988-09-15 09:49:22 +00:00
|
|
|
-mkdir back
|
|
|
|
cp $(BACK)/obj_back/*h back
|
|
|
|
cp Make.back back/Makefile
|
1989-02-02 11:45:50 +00:00
|
|
|
cd back; make ; cd ..
|
1989-02-07 11:12:13 +00:00
|
|
|
$(AR) r back.a back/*o;
|
1989-02-02 11:45:50 +00:00
|
|
|
-sh -c 'ranlib back.a'
|