New installation mechanism

This commit is contained in:
ceriel
1991-09-03 16:34:31 +00:00
parent 84d90e5d07
commit c611b61a1a
16 changed files with 114 additions and 40 deletions

View File

@@ -1,6 +1,4 @@
Action
cv
libsys
libcc
liboc
libm2
mach_params

View File

@@ -4,13 +4,3 @@ end
name "Sun 2 M68000 systemcall library"
dir libsys
end
name "Sun 2 M68000 C libraries"
dir libcc
end
name "Sun 2 M68000 Occam library"
system "vax_bsd4_2|sun*"
dir liboc
end
name "Sun 2 M68000 Modula-2 library"
dir libm2
end

View File

@@ -1,2 +1 @@
Makefile
cv.c
proto.make

33
mach/sun2/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/sun3/cv
all: cv
cv: cv.$(SUF)
$(CC) $(LDOPTIONS) -o cv cv.$(SUF) $(OBJLIB)
cv.$(SUF): $(SRC_DIR)/cv.c
$(CC) $(COPTIONS) -DMACH=1 -I$(TARGET_HOME)/h -c $(SRC_DIR)/cv.c
install: all
cp cv $(TARGET_HOME)/lib.bin/sun2/cv
cmp: all
-cmp cv $(TARGET_HOME)/lib.bin/sun2/cv
clean:
rm -f *.(SUF) Out
lint:
$(LINT) $(LINTOPTIONS) -DMACH=1 -I$(TARGET_HOME)/h $(SRC_DIR)/cv.c $(UTIL_HOME)/modules/lib/$(LINTPREF)object.$(LINTSUF)
pr:
@pr $(SRC_DIR)/mach/sun2/cv/proto.make $(SRC_DIR)/cv.c
opr:
make pr | opr

4
mach/sun2/mach_params Normal file
View File

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