New installation mechanism

This commit is contained in:
ceriel 1991-09-05 16:36:59 +00:00
parent 50abc3f33b
commit 1ceac3b8e9
2 changed files with 33 additions and 1 deletions

View file

@ -4,4 +4,4 @@ as.h
as_table as_table
mach.c mach.c
mach.h mach.h
Makefile proto.make

32
mach/i86/ce/proto.make Normal file
View file

@ -0,0 +1,32 @@
# $Header$
#PARAMS do not remove this line!
MACH = i86
OBJ = obj
SRC_DIR = $(SRC_HOME)/mach/$(MACH)/ce
CEG = $(TARGET_HOME)/lib.bin/ceg/util
all:
make -f $(CEG)/make_asobj "OBJ="$(OBJ) "MACH="$(MACH)
install:
make -f $(CEG)/make_asobj "OBJ="$(OBJ) "MACH="$(MACH) install
cmp:
-make -f $(CEG)/make_asobj "OBJ="$(OBJ) "MACH="$(MACH) cmp
pr:
@pr $(SRC_DIR)/proto.make $(SRC_DIR)/EM_table $(SRC_DIR)/mach.h $(SRC_DIR)/mach.c $(SRC_DIR)/as_table $(SRC_DIR)/as.h $(SRC_DIR)/as.c
opr:
make pr | opr
# total cleanup
clean:
make -f $(CEG)/make_asobj "OBJ="$(OBJ) clean
# only remove ce, ceg, and back directories
dclean:
make -f $(CEG)/make_asobj "OBJ="$(OBJ) dclean