# 
# (c) Copyright 1994 OPEN SOFTWARE FOUNDATION, INC.
# (c) Copyright 1994 HEWLETT-PACKARD COMPANY
# (c) Copyright 1994 DIGITAL EQUIPMENT CORPORATION
# To anyone who acknowledges that this file is provided "AS IS"
# without any express or implied warranty:
#                 permission to use, copy, modify, and distribute this
# file for any purpose is hereby granted without fee, provided that
# the above copyright notices and this notice appears in all source
# code copies, and that none of the names of Open Software
# Foundation, Inc., Hewlett-Packard Company, or Digital Equipment
# Corporation be used in advertising or publicity pertaining to
# distribution of the software without specific, written prior
# permission.  Neither Open Software Foundation, Inc., Hewlett-
# Packard Company, nor Digital Equipment Corporation makes any
# representations about the suitability of this software for any
# purpose.
# 
include ${DCE}/Rules.mk

all: rpcd uuidgen

rpcd: library
	(cd rpcd; $(MAKE) all)

uuidgen: library
	(cd idl/uuidgen; $(MAKE) all)

library: tool
	for dir in sys_idl runtime idl/lib; do (cd $$dir; $(MAKE) all); done

tool:
	(cd idl/idl_compiler; $(MAKE) all)

clean:
	for dir in idl/idl_compiler sys_idl runtime idl/lib idl/uuidgen rpcd; do \
	(cd $$dir; $(MAKE) clean); done

clobber:
	for dir in idl/idl_compiler sys_idl runtime idl/lib idl/uuidgen rpcd; do \
	(cd $$dir; $(MAKE) clobber); done
