############################################################################
# $Id: Makefile,v 1.1.1.1 1996/06/30 00:08:56 mtp Exp $
############################################################################
# @Header@
############################################################################
# $Log: Makefile,v $
# Revision 1.1.1.1  1996/06/30 00:08:56  mtp
# Resubmission of PD DCE sources
#
############################################################################
include ../Rules.mk

LIBIDL      = libidl.a
LIBNCK      = libnck.a

all: ${LIBDCE}
	@rm -f *.o *.bak

${LIBDCE}: idl_objs nck_objs
	@echo + building ${LIBDCE}...
	@ar -crus ${LIBDCE} *.o

idl_objs: ${LIBIDL}
	@ar -x ${LIBIDL}

nck_objs: ${LIBNCK}
	@ar -x ${LIBNCK}

${LIBIDL}: ${SRCDIR}/rpc/idl/lib/libidl.a
	@cp ${SRCDIR}/rpc/idl/lib/${LIBIDL} .

${LIBNCK}: ${SRCDIR}/rpc/runtime/libnck.a
	@cp ${SRCDIR}/rpc/runtime/${LIBNCK} .

clean:
	@rm -f *.o *.bak ${LIBIDL} ${LIBNCK}

clobber: clean
	@rm -f ${LIBDCE}


