New installation mechanism
authorceriel <none@none>
Tue, 3 Sep 1991 16:57:00 +0000 (16:57 +0000)
committerceriel <none@none>
Tue, 3 Sep 1991 16:57:00 +0000 (16:57 +0000)
mach/vax4/.distr
mach/vax4/Action
mach/vax4/mach_params [new file with mode: 0644]
mach/xenix3/.distr
mach/xenix3/cv/.distr
mach/xenix3/cv/proto.make [new file with mode: 0644]
mach/xenix3/mach_params [new file with mode: 0644]

index 54a4c28..069c149 100644 (file)
@@ -1,16 +1,12 @@
 Action
 as
 cg
-libbc
-libcc
-libcc.ansi
 libem
-libpc
-liboc
+libend
 libbsd4_1a
 libbsd4_2
 libsysV_2
 top
-libm2
 ce
 cv
+mach_params
index 60dffcc..a906a32 100644 (file)
@@ -14,26 +14,11 @@ name "Vax code expander library"
 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
diff --git a/mach/vax4/mach_params b/mach/vax4/mach_params
new file mode 100644 (file)
index 0000000..9daa810
--- /dev/null
@@ -0,0 +1,4 @@
+MACH=vax4
+SUF=o
+ASAR=aal
+RANLIB=:
index f15502b..0e1e702 100644 (file)
@@ -1,3 +1,4 @@
 Action
 cv
 libsys
+mach_params
index c1cf67e..bf760c7 100644 (file)
@@ -1,3 +1,3 @@
 cv.c
 chstack.c
-Makefile
+proto.make
diff --git a/mach/xenix3/cv/proto.make b/mach/xenix3/cv/proto.make
new file mode 100644 (file)
index 0000000..3c43bb1
--- /dev/null
@@ -0,0 +1,42 @@
+# $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
diff --git a/mach/xenix3/mach_params b/mach/xenix3/mach_params
new file mode 100644 (file)
index 0000000..faccbd7
--- /dev/null
@@ -0,0 +1,4 @@
+MACH=xenix3
+SUF=o
+ASAR=aal
+RANLIB=: