diff --git a/mach/sun3/ce/Makefile b/mach/sun3/ce/Makefile index 831217e01..a74d18ef1 100644 --- a/mach/sun3/ce/Makefile +++ b/mach/sun3/ce/Makefile @@ -1,19 +1,37 @@ EMHOME=../../.. BACK=$(EMHOME)/lib/ceg/ce_back +CEG = $(EMHOME)/lib/ceg/util -all : back.a - make -f ce_makefile +all: back.a + make -f $(CEG)/make_own -install: all - make -f ce_makefile install +install: back.a + make -f $(CEG)/make_own install +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 clean: - rm -rf back.a back + 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 back.a : -mkdir back cp $(BACK)/obj_back/*h back cp Make.back back/Makefile - ( cd back; make) + cd back; make ; cd .. ar r back.a back/*o; - -ranlib back.a + -sh -c 'ranlib back.a' diff --git a/mach/sun3/ce/mach.c b/mach/sun3/ce/mach.c index 302307127..59e763628 100644 --- a/mach/sun3/ce/mach.c +++ b/mach/sun3/ce/mach.c @@ -1,3 +1,4 @@ +#define CODE_EXPANDER #include "mach.h" #include #include