From 1e4b58858e3ed13c8e6d2fb3efba52f4c70c7bce Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 4 Sep 1991 11:19:28 +0000 Subject: [PATCH] New installation mechanism --- mach/i86/cv/.distr | 2 +- mach/i86/cv/proto.make | 33 +++++++++++++++++++++++++++++++++ mach/m68k2/dl/.distr | 2 +- mach/m68k2/dl/proto.make | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 68 insertions(+), 2 deletions(-) create mode 100644 mach/i86/cv/proto.make create mode 100644 mach/m68k2/dl/proto.make diff --git a/mach/i86/cv/.distr b/mach/i86/cv/.distr index d7a861d66..cead68bd2 100644 --- a/mach/i86/cv/.distr +++ b/mach/i86/cv/.distr @@ -1,2 +1,2 @@ -Makefile +proto.make cv.c diff --git a/mach/i86/cv/proto.make b/mach/i86/cv/proto.make new file mode 100644 index 000000000..0b6d62057 --- /dev/null +++ b/mach/i86/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/i86/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/i86/cv + +cmp: all + -cmp cv $(TARGET_HOME)/lib.bin/i86/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/m68k2/dl/.distr b/mach/m68k2/dl/.distr index e80578724..f838529b7 100644 --- a/mach/m68k2/dl/.distr +++ b/mach/m68k2/dl/.distr @@ -1,2 +1,2 @@ -Makefile +proto.make dl.c diff --git a/mach/m68k2/dl/proto.make b/mach/m68k2/dl/proto.make new file mode 100644 index 000000000..bdfe28620 --- /dev/null +++ b/mach/m68k2/dl/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/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 + echo Nothing is installed + +cmp: all + echo Nothing is compared + +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