New installation mechanism
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
Action
|
||||
cv
|
||||
libsys
|
||||
libcc
|
||||
liboc
|
||||
libm2
|
||||
mach_params
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
Makefile
|
||||
cv.c
|
||||
proto.make
|
||||
|
||||
33
mach/sun2/cv/proto.make
Normal file
33
mach/sun2/cv/proto.make
Normal 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
4
mach/sun2/mach_params
Normal file
@@ -0,0 +1,4 @@
|
||||
MACH=sun2
|
||||
SUF=o
|
||||
ASAR=aal
|
||||
RANLIB=:
|
||||
Reference in New Issue
Block a user