# $Id: Smake.def,v 1.1 1994/05/15 12:56:38 jraja Exp $
PROG= showmount
SRCS= $(PROG).c mount_xdr.c
OBJS= $(PROG).o mount_xdr.o
LIBS= LIB netlib:net.lib LIB netlib:rpcr.lib
DEFS= DEF=AMITCP DEF=amigados
CFLAGS= Parms=reg #OptInLocal 
LDFLAGS= 

RPCCOM= rpcgen
CP= copy

GEN= mount.h mount_xdr.c

mount_xdr.o: mount_xdr.c mount.h
mount_xdr.c: mount.x
	$(RPCCOM) -c mount.x >$@

mount.h: mount.x
	$(RPCCOM) -h mount.x >$@

mount.x: netinclude:rpcsvc/mount.x
	$(CP) netinclude:rpcsvc/mount.x mount.x

showmount.c: mount.h
