Parcourir la source

New installation mechanism

ceriel il y a 33 ans
Parent
commit
7e44ee64bb
2 fichiers modifiés avec 33 ajouts et 1 suppressions
  1. 1 1
      mach/i86/ce/.distr
  2. 32 0
      mach/i86/ce/proto.make

+ 1 - 1
mach/i86/ce/.distr

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

+ 32 - 0
mach/i86/ce/proto.make

@@ -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