1994-06-24 14:02:31 +00:00
|
|
|
# $Id$
|
1991-09-03 16:28:37 +00:00
|
|
|
|
|
|
|
#PARAMS do not remove this line!
|
|
|
|
|
|
|
|
OBJLIB=$(TARGET_HOME)/modules/lib/libobject.$(LIBSUF)
|
|
|
|
|
|
|
|
SRC_DIR = $(SRC_HOME)/mach/sun3/cv
|
|
|
|
|
1991-09-16 09:37:06 +00:00
|
|
|
all: cv
|
1991-09-03 16:28:37 +00:00
|
|
|
|
|
|
|
cv: cv.$(SUF)
|
|
|
|
$(CC) $(LDOPTIONS) -o cv cv.$(SUF) $(OBJLIB)
|
|
|
|
|
|
|
|
Xcv: Xcv.$(SUF)
|
|
|
|
$(CC) $(LDOPTIONS) -o Xcv Xcv.$(SUF) $(OBJLIB)
|
|
|
|
|
|
|
|
cv.$(SUF): $(SRC_DIR)/cv.c
|
|
|
|
$(CC) $(COPTIONS) -DMACH=2 -I$(TARGET_HOME)/h -c $(SRC_DIR)/cv.c
|
|
|
|
|
|
|
|
Xcv.$(SUF): $(SRC_DIR)/Xcv.c
|
|
|
|
$(CC) $(COPTIONS) -DMACH=2 -I$(TARGET_HOME)/h -c $(SRC_DIR)/Xcv.c
|
|
|
|
|
|
|
|
install: all
|
1991-09-18 10:03:49 +00:00
|
|
|
-mkdir $(TARGET_HOME)/lib.bin/sun3
|
1991-09-03 16:28:37 +00:00
|
|
|
cp cv $(TARGET_HOME)/lib.bin/sun3/cv
|
|
|
|
|
|
|
|
cmp: all
|
|
|
|
-cmp cv $(TARGET_HOME)/lib.bin/sun3/cv
|
|
|
|
|
|
|
|
clean:
|
1991-09-18 10:03:49 +00:00
|
|
|
rm -f *.$(SUF) Out cv
|
1991-09-03 16:28:37 +00:00
|
|
|
|
|
|
|
lint:
|
|
|
|
$(LINT) $(LINTOPTIONS) -DMACH=2 -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 $(SRC_DIR)/Xcv.c
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|