New installation mechanism

This commit is contained in:
ceriel 1991-09-03 16:57:00 +00:00
parent 3b00811300
commit c3b36c748b
7 changed files with 56 additions and 24 deletions

View file

@ -1,16 +1,12 @@
Action
as
cg
libbc
libcc
libcc.ansi
libem
libpc
liboc
libend
libbsd4_1a
libbsd4_2
libsysV_2
top
libm2
ce
cv
mach_params

View file

@ -14,26 +14,11 @@ name "Vax code expander library"
system vax*
dir ce
end
name "Vax 4-4 C libraries"
dir libcc
end
name "Vax 4-4 ANSI-C libraries"
dir libcc.ansi
end
name "Vax 4-4 EM library"
dir libem
end
name "Vax 4-4 Pascal library"
dir libpc
end
name "Vax 4-4 Occam library"
dir liboc
end
name "Vax 4-4 Modula-2 library"
dir libm2
end
name "Vax 4-4 Basic library"
dir libbc
name "Vax 4-4 etext,edata,end library"
dir libend
end
name "Vax 4-4 systemcall interface"
dir libsys

4
mach/vax4/mach_params Normal file
View file

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

View file

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

View file

@ -1,3 +1,3 @@
cv.c
chstack.c
Makefile
proto.make

42
mach/xenix3/cv/proto.make Normal file
View file

@ -0,0 +1,42 @@
# $Header$
#PARAMS do not remove this line!
OBJLIB=$(TARGET_HOME)/modules/lib/libobject.$(LIBSUF)
SRC_DIR = $(SRC_HOME)/mach/xenix3/cv
all: cv chstack
cv: cv.$(SUF)
$(CC) $(LDOPTIONS) -o cv cv.$(SUF) $(OBJLIB)
chstack: chstack.$(SUF)
$(CC) $(LDOPTIONS) -o chstack chstack.$(SUF)
cv.$(SUF): $(SRC_DIR)/cv.c
$(CC) $(COPTIONS) -I$(TARGET_HOME)/h -c $(SRC_DIR)/cv.c
chstack.$(SUF): $(SRC_DIR)/chstack.c
$(CC) $(COPTIONS) -c $(SRC_DIR)/chstack.c
install: all
cp cv $(TARGET_HOME)/lib.bin/xenix3/cv
cp chstack $(TARGET_HOME)/lib.bin/xenix3/chstack
cmp: all
-cmp cv $(TARGET_HOME)/lib.bin/xenix3/cv
-cmp chstack $(TARGET_HOME)/lib.bin/xenix3/chstack
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)/chstack.c
pr:
@pr $(SRC_DIR)/proto.make $(SRC_DIR)/cv.c $(SRC_DIR)/chstack.c
opr:
make pr | opr

4
mach/xenix3/mach_params Normal file
View file

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