system vax*
dir ce
end
-name "Vax 4-4 C libraries"
-dir libcc
-end
-name "Vax 4-4 ANSI-C libraries"
-dir libcc.ansi
-end
name "Vax 4-4 EM library"
dir libem
end
-name "Vax 4-4 Pascal library"
-dir libpc
-end
-name "Vax 4-4 Occam library"
-dir liboc
-end
-name "Vax 4-4 Modula-2 library"
-dir libm2
-end
-name "Vax 4-4 Basic library"
-dir libbc
+name "Vax 4-4 etext,edata,end library"
+dir libend
end
name "Vax 4-4 systemcall interface"
dir libsys
--- /dev/null
+# $Header$
+
+#PARAMS do not remove this line!
+
+OBJLIB=$(TARGET_HOME)/modules/lib/libobject.$(LIBSUF)
+
+SRC_DIR = $(SRC_HOME)/mach/xenix3/cv
+
+all: cv chstack
+
+cv: cv.$(SUF)
+ $(CC) $(LDOPTIONS) -o cv cv.$(SUF) $(OBJLIB)
+
+chstack: chstack.$(SUF)
+ $(CC) $(LDOPTIONS) -o chstack chstack.$(SUF)
+
+cv.$(SUF): $(SRC_DIR)/cv.c
+ $(CC) $(COPTIONS) -I$(TARGET_HOME)/h -c $(SRC_DIR)/cv.c
+
+chstack.$(SUF): $(SRC_DIR)/chstack.c
+ $(CC) $(COPTIONS) -c $(SRC_DIR)/chstack.c
+
+install: all
+ cp cv $(TARGET_HOME)/lib.bin/xenix3/cv
+ cp chstack $(TARGET_HOME)/lib.bin/xenix3/chstack
+
+cmp: all
+ -cmp cv $(TARGET_HOME)/lib.bin/xenix3/cv
+ -cmp chstack $(TARGET_HOME)/lib.bin/xenix3/chstack
+
+clean:
+ rm -f *.(SUF) Out
+
+lint:
+ $(LINT) $(LINTOPTIONS) -I$(TARGET_HOME)/h $(SRC_DIR)/cv.c $(UTIL_HOME)/modules/lib/$(LINTPREF)object.$(LINTSUF)
+ $(LINT) $(LINTOPTIONS) -I$(TARGET_HOME)/h $(SRC_DIR)/chstack.c
+
+pr:
+ @pr $(SRC_DIR)/proto.make $(SRC_DIR)/cv.c $(SRC_DIR)/chstack.c
+
+opr:
+ make pr | opr