diff --git a/mach/i386/cv/proto.make b/mach/i386/cv/proto.make new file mode 100644 index 000000000..e0a2ca012 --- /dev/null +++ b/mach/i386/cv/proto.make @@ -0,0 +1,33 @@ +# $Header$ + +#PARAMS do not remove this line! + +OBJLIB=$(TARGET_HOME)/modules/lib/libobject.$(LIBSUF) + +SRC_DIR = $(SRC_HOME)/mach/i386/cv + +all: cv + +cv: cv.$(SUF) + $(CC) $(LDOPTIONS) -o cv cv.$(SUF) $(OBJLIB) + +cv.$(SUF): $(SRC_DIR)/cv.c + $(CC) $(COPTIONS) -I$(TARGET_HOME)/h -c $(SRC_DIR)/cv.c + +install: all + cp cv $(TARGET_HOME)/lib.bin/i386/cv + +cmp: all + -cmp cv $(TARGET_HOME)/lib.bin/i386/cv + +clean: + rm -f *.(SUF) Out + +lint: + $(LINT) $(LINTOPTIONS) -I$(TARGET_HOME)/h $(SRC_DIR)/cv.c $(UTIL_HOME)/modules/lib/$(LINTPREF)object.$(LINTSUF) + +pr: + @pr $(SRC_DIR)/proto.make $(SRC_DIR)/cv.c + +opr: + make pr | opr diff --git a/mach/i80/dl/.distr b/mach/i80/dl/.distr index 19526e880..c1d697e3d 100644 --- a/mach/i80/dl/.distr +++ b/mach/i80/dl/.distr @@ -1,4 +1,4 @@ -Makefile +proto.make README mccpm.c nascom.c diff --git a/mach/i80/dl/proto.make b/mach/i80/dl/proto.make new file mode 100644 index 000000000..a67b47e38 --- /dev/null +++ b/mach/i80/dl/proto.make @@ -0,0 +1,40 @@ +# $Header$ + +#PARAMS do not remove this line! + +OBJLIB=$(TARGET_HOME)/modules/lib/libobject.$(LIBSUF) + +SRC_DIR = $(SRC_HOME)/mach/i80/dl + +all: mccpm nascom + +mccpm: mccpm.$(SUF) + $(CC) $(LDOPTIONS) -o mccpm mccpm.$(SUF) $(OBJLIB) + +nascom: nascom.$(SUF) + $(CC) $(LDOPTIONS) -o nascom nascom.$(SUF) $(OBJLIB) + +mccpm.$(SUF): $(SRC_DIR)/mccpm.c + $(CC) $(COPTIONS) -I$(TARGET_HOME)/h -c $(SRC_DIR)/mccpm.c + +nascom.$(SUF): $(SRC_DIR)/nascom.c + $(CC) $(COPTIONS) -I$(TARGET_HOME)/h -c $(SRC_DIR)/nascom.c + +install: all + echo Nothing is installed + +cmp: all + echo Nothing is compared + +clean: + rm -f *.(SUF) Out + +lint: + $(LINT) $(LINTOPTIONS) -I$(TARGET_HOME)/h $(SRC_DIR)/mccpm.c $(UTIL_HOME)/modules/lib/$(LINTPREF)object.$(LINTSUF) + $(LINT) $(LINTOPTIONS) -I$(TARGET_HOME)/h $(SRC_DIR)/nascom.c $(UTIL_HOME)/modules/lib/$(LINTPREF)object.$(LINTSUF) + +pr: + @pr $(SRC_DIR)/proto.make $(SRC_DIR)/mccpm.c $(SRC_DIR)/nascom.c + +opr: + make pr | opr diff --git a/mach/m68k2/cv/.distr b/mach/m68k2/cv/.distr index d7a861d66..cead68bd2 100644 --- a/mach/m68k2/cv/.distr +++ b/mach/m68k2/cv/.distr @@ -1,2 +1,2 @@ -Makefile +proto.make cv.c diff --git a/mach/m68k2/cv/proto.make b/mach/m68k2/cv/proto.make new file mode 100644 index 000000000..e02cf3d05 --- /dev/null +++ b/mach/m68k2/cv/proto.make @@ -0,0 +1,33 @@ +# $Header$ + +#PARAMS do not remove this line! + +OBJLIB=$(TARGET_HOME)/modules/lib/libobject.$(LIBSUF) + +SRC_DIR = $(SRC_HOME)/mach/m68k2/cv + +all: cv + +cv: cv.$(SUF) + $(CC) $(LDOPTIONS) -o cv cv.$(SUF) $(OBJLIB) + +cv.$(SUF): $(SRC_DIR)/cv.c + $(CC) $(COPTIONS) -I$(TARGET_HOME)/h -c $(SRC_DIR)/cv.c + +install: all + cp cv $(TARGET_HOME)/lib.bin/m68k2/cv + +cmp: all + -cmp cv $(TARGET_HOME)/lib.bin/m68k2/cv + +clean: + rm -f *.(SUF) Out + +lint: + $(LINT) $(LINTOPTIONS) -I$(TARGET_HOME)/h $(SRC_DIR)/cv.c $(UTIL_HOME)/modules/lib/$(LINTPREF)object.$(LINTSUF) + +pr: + @pr $(SRC_DIR)/proto.make $(SRC_DIR)/cv.c + +opr: + make pr | opr diff --git a/mach/pmds/cv/.distr b/mach/pmds/cv/.distr index d7a861d66..cead68bd2 100644 --- a/mach/pmds/cv/.distr +++ b/mach/pmds/cv/.distr @@ -1,2 +1,2 @@ -Makefile +proto.make cv.c diff --git a/mach/pmds/cv/proto.make b/mach/pmds/cv/proto.make new file mode 100644 index 000000000..ee5a6abe1 --- /dev/null +++ b/mach/pmds/cv/proto.make @@ -0,0 +1,33 @@ +# $Header$ + +#PARAMS do not remove this line! + +OBJLIB=$(TARGET_HOME)/modules/lib/libobject.$(LIBSUF) + +SRC_DIR = $(SRC_HOME)/mach/pmds/cv + +all: cv + +cv: cv.$(SUF) + $(CC) $(LDOPTIONS) -o cv cv.$(SUF) $(OBJLIB) + +cv.$(SUF): $(SRC_DIR)/cv.c + $(CC) $(COPTIONS) -I$(TARGET_HOME)/h -c $(SRC_DIR)/cv.c + +install: all + cp cv $(TARGET_HOME)/lib.bin/pmds/cv + +cmp: all + -cmp cv $(TARGET_HOME)/lib.bin/pmds/cv + +clean: + rm -f *.(SUF) Out + +lint: + $(LINT) $(LINTOPTIONS) -I$(TARGET_HOME)/h $(SRC_DIR)/cv.c $(UTIL_HOME)/modules/lib/$(LINTPREF)object.$(LINTSUF) + +pr: + @pr $(SRC_DIR)/proto.make $(SRC_DIR)/cv.c + +opr: + make pr | opr