New installation mechanism
authorceriel <none@none>
Wed, 4 Sep 1991 11:32:07 +0000 (11:32 +0000)
committerceriel <none@none>
Wed, 4 Sep 1991 11:32:07 +0000 (11:32 +0000)
mach/6500/dl/.distr
mach/6500/dl/proto.make [new file with mode: 0644]
mach/mantra/cv/.distr
mach/mantra/cv/proto.make [new file with mode: 0644]

index e805787..f838529 100644 (file)
@@ -1,2 +1,2 @@
-Makefile
+proto.make
 dl.c
diff --git a/mach/6500/dl/proto.make b/mach/6500/dl/proto.make
new file mode 100644 (file)
index 0000000..2ea3e12
--- /dev/null
@@ -0,0 +1,33 @@
+# $Header$
+
+#PARAMS                do not remove this line!
+
+OBJLIB=$(TARGET_HOME)/modules/lib/libobject.$(LIBSUF)
+
+SRC_DIR = $(SRC_HOME)/mach/6500/dl
+
+all:   dl
+
+dl:    dl.$(SUF)
+       $(CC) $(LDOPTIONS) -o dl dl.$(SUF) $(OBJLIB)
+
+dl.$(SUF):     $(SRC_DIR)/dl.c
+       $(CC) $(COPTIONS) -I$(TARGET_HOME)/h -c $(SRC_DIR)/dl.c
+
+install:       all
+       cp dl $(TARGET_HOME)/lib.bin/6500/dl
+
+cmp:   all
+       -cmp dl $(TARGET_HOME)/lib.bin/6500/dl
+
+clean:
+       rm -f *.(SUF) Out
+
+lint:
+       $(LINT) $(LINTOPTIONS) -I$(TARGET_HOME)/h $(SRC_DIR)/dl.c $(UTIL_HOME)/modules/lib/$(LINTPREF)object.$(LINTSUF)
+
+pr:
+       @pr $(SRC_DIR)/proto.make $(SRC_DIR)/dl.c
+
+opr:
+       make pr | opr
index fa05f38..5598b65 100644 (file)
@@ -1,3 +1,3 @@
-Makefile
+proto.make
 Xcv.c
 cv.c
diff --git a/mach/mantra/cv/proto.make b/mach/mantra/cv/proto.make
new file mode 100644 (file)
index 0000000..8f6c03f
--- /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/mantra/cv
+
+all:   cv Xcv
+
+cv:    cv.$(SUF)
+       $(CC) $(LDOPTIONS) -o cv cv.$(SUF) $(OBJLIB)
+
+Xcv:   Xcv.$(SUF)
+       $(CC) $(LDOPTIONS) -o Xcv Xcv.$(SUF) $(OBJLIB)
+
+cv.$(SUF):     $(SRC_DIR)/cv.c
+       $(CC) $(COPTIONS) -I$(TARGET_HOME)/h -c $(SRC_DIR)/cv.c
+
+Xcv.$(SUF):    $(SRC_DIR)/Xcv.c
+       $(CC) $(COPTIONS) -I$(TARGET_HOME)/h -c $(SRC_DIR)/Xcv.c
+
+install:       all
+       cp cv $(TARGET_HOME)/lib.bin/mantra/cv
+       cp Xcv $(TARGET_HOME)/lib.bin/mantra/Xcv
+
+cmp:   all
+       -cmp cv $(TARGET_HOME)/lib.bin/mantra/cv
+       -cmp Xcv $(TARGET_HOME)/lib.bin/mantra/Xcv
+
+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)/Xcv.c $(UTIL_HOME)/modules/lib/$(LINTPREF)object.$(LINTSUF)
+
+pr:
+       @pr $(SRC_DIR)/proto.make $(SRC_DIR)/cv.c $(SRC_DIR)/Xcv.c
+
+opr:
+       make pr | opr