# /usr/src/etc/netmsgserver/lib/Makefile for MacMach

include /usr/src/COPYRIGHTS

CFLAGS=	-O
LIBC=	/lib/libc.a
SRCS=	vmtplib.c forward.S invoke.S recvreq.S getreply.S probeentity.S \
	sendreply.S
OBJS=	vmtplib.o forward.o invoke.o recvreq.o getreply.o probeentity.o \
	sendreply.o

all:	.depend libvmtp.a

libvmtp.a: ${OBJS}
	@ar cu libvmtp.a ${OBJS}
	ranlib libvmtp.a

install: FRC

clean:	FRC
	rm -f .depend ${OBJS} libvmtp.a

compress: clean
	find . -type f ! -name Makefile ! -name '*.Z' -exec compress {} \;

uncompress: FRC
	find . -type f ! -name Makefile -name '*.Z' -exec uncompress {} \;

.depend: ${SRCS}
	@echo "#`date`" >.depend
	mkdep -f .depend ${CFLAGS} ${SRCS}

-include .depend

FRC:
