new installation mechanism

This commit is contained in:
ceriel 1991-09-03 16:20:41 +00:00
parent 53bfe9cfa0
commit 01d8753db4
7 changed files with 47 additions and 22 deletions

View file

@ -4,10 +4,7 @@ cg
top
cv
int
libcc
libem
libpc
libbc
libend
libsys
liboc
libm2
mach_params

View file

@ -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

33
mach/pdp/cv/proto.make Normal file
View file

@ -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

4
mach/pdp/mach_params Normal file
View file

@ -0,0 +1,4 @@
MACH=pdp
SUF=o
ASAR=aal
RANLIB=:

View file

@ -1,3 +1,4 @@
Action
cv
libsys
mach_params

4
mach/pmds/mach_params Normal file
View file

@ -0,0 +1,4 @@
MACH=pmds
SUF=o
ASAR=aal
RANLIB=:

View file

@ -1,5 +1,3 @@
LIST
Makefile
head_em.s
libmon_s.a
compmodule