#
# Modula-3 RPC Makefile
#
# Copyright (c) 1991, 1992 Xerox Corporation.  All rights reserved.
#
# Use and copying of this software and preparation of derivative works
# based upon this software are permitted.  Any distribution of this
# software or derivative works must comply with all applicable United
# States export control laws.  This software is made available AS IS, and
# Xerox Corporation makes no warranty about the software, its performance
# or its conformity to any specification. *)

DESTDIR=/usr/local

all:
	(cd m3rpcgen;    $(MAKE))
	(cd m3rpc;       $(MAKE))
	(cd rpcexamples; $(MAKE))

install:
	(cd m3rpcgen;    $(MAKE) DESTDIR=$(DESTDIR) install)
	(cd m3rpc;       $(MAKE) DESTDIR=$(DESTDIR) install)
	(cd rpcexamples; $(MAKE) DESTDIR=$(DESTDIR) install)
