From 01d8753db442df3e1e465a55caef3ad10b9ab5b2 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 3 Sep 1991 16:20:41 +0000 Subject: [PATCH] new installation mechanism --- mach/pdp/.distr | 7 ++----- mach/pdp/Action | 18 +++--------------- mach/pdp/cv/proto.make | 33 +++++++++++++++++++++++++++++++++ mach/pdp/mach_params | 4 ++++ mach/pmds/.distr | 1 + mach/pmds/mach_params | 4 ++++ mach/pmds4/libsys/.distr | 2 -- 7 files changed, 47 insertions(+), 22 deletions(-) create mode 100644 mach/pdp/cv/proto.make create mode 100644 mach/pdp/mach_params create mode 100644 mach/pmds/mach_params diff --git a/mach/pdp/.distr b/mach/pdp/.distr index 934a1580c..74fda7967 100644 --- a/mach/pdp/.distr +++ b/mach/pdp/.distr @@ -4,10 +4,7 @@ cg top cv int -libcc libem -libpc -libbc +libend libsys -liboc -libm2 +mach_params diff --git a/mach/pdp/Action b/mach/pdp/Action index 678b7a079..0ef9e1d37 100644 --- a/mach/pdp/Action +++ b/mach/pdp/Action @@ -14,24 +14,12 @@ name "PDP 11 interpreter" system pdp* dir int end -name "PDP 11 C libraries" -dir libcc -end name "PDP 11 EM library" dir libem end +name "PDP 11 etext,edata,end library" +dir libend +end name "PDP 11 systemcall library" dir libsys end -name "PDP 11 Pascal library" -dir libpc -end -name "PDP 11 Basic library" -dir libbc -end -name "PDP 11 Occam library" -dir liboc -end -name "PDP 11 Modula-2 library" -dir libm2 -end diff --git a/mach/pdp/cv/proto.make b/mach/pdp/cv/proto.make new file mode 100644 index 000000000..ffc67f812 --- /dev/null +++ b/mach/pdp/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/pdp/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/pdp/cv + +cmp: all + -cmp cv $(TARGET_HOME)/lib.bin/pdp/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/pdp/mach_params b/mach/pdp/mach_params new file mode 100644 index 000000000..b946eafcc --- /dev/null +++ b/mach/pdp/mach_params @@ -0,0 +1,4 @@ +MACH=pdp +SUF=o +ASAR=aal +RANLIB=: diff --git a/mach/pmds/.distr b/mach/pmds/.distr index f15502b4d..0e1e702e5 100644 --- a/mach/pmds/.distr +++ b/mach/pmds/.distr @@ -1,3 +1,4 @@ Action cv libsys +mach_params diff --git a/mach/pmds/mach_params b/mach/pmds/mach_params new file mode 100644 index 000000000..c17efa889 --- /dev/null +++ b/mach/pmds/mach_params @@ -0,0 +1,4 @@ +MACH=pmds +SUF=o +ASAR=aal +RANLIB=: diff --git a/mach/pmds4/libsys/.distr b/mach/pmds4/libsys/.distr index 7b4628ec4..1edec9f14 100644 --- a/mach/pmds4/libsys/.distr +++ b/mach/pmds4/libsys/.distr @@ -1,5 +1,3 @@ LIST -Makefile head_em.s libmon_s.a -compmodule -- 2.34.1