#
# Buildfile for standalone ethernet driver support
#

#include ../../../buildprefix

ALL= libVenetdeqna.a

INCL= ../../include
INCLUDES= -I. -I../mi -I$(INCL)/vax -I$(INCL)/mi

.SUFFIXES:
.SUFFIXES: .o .c

.c.o:
	ccVAX -v$(Xx)V -O $(INCLUDES) -c $*.c

all: $(ALL)

libVenetdeqna.a: deqna.o
	rm -f $@
	ar cr $@ $<
	ranlib $@

# Warning: removing *.s can cause some headaches: some .s files are
# temporary machine-generated files, and some are sources.
clean:
	rm -f *.o *.b *.s *.ls *.BAK *.CKP .emacs* .netupd* *.r \
		 *.68 *.d *.boot *.sym *.a

install: all
	$(NETINSTALL) "$(ALL)" $(VSYS)/lib/vax
