############################################################################
# $Id: Makefile,v 1.1.1.1 1996/06/30 00:09:01 mtp Exp $
############################################################################
# @Header@
############################################################################
# $Log: Makefile,v $
# Revision 1.1.1.1  1996/06/30 00:09:01  mtp
# Resubmission of PD DCE sources
#
# Revision 1.1.1.1  1995/12/31 05:20:11  mtp
# + Placed under CVS control
#
############################################################################
# 
# (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

CFLAGS	      += -O2 -I. -I$(INCDIR) -DMIA
INCDIR	      = ../../../inc

EXTHDRS	      = $(INCDIR)/dce/idl_es.h \
		$(INCDIR)/dce/idlbase.h \
		$(INCDIR)/dce/idlddefs.h \
		$(INCDIR)/dce/iovector.h \
		$(INCDIR)/dce/lbase.h \
		$(INCDIR)/dce/marshall.h \
		$(INCDIR)/dce/nbase.h \
		$(INCDIR)/dce/ncastat.h \
		$(INCDIR)/dce/ndr_rep.h \
		$(INCDIR)/dce/ndrold.h \
		$(INCDIR)/dce/ndrtypes.h \
		$(INCDIR)/dce/rpc.h \
		$(INCDIR)/dce/rpcbase.h \
		$(INCDIR)/dce/rpcexc.h \
		$(INCDIR)/dce/rpcpvt.h \
		$(INCDIR)/dce/rpcsts.h \
		$(INCDIR)/dce/rpctypes.h \
		$(INCDIR)/dce/stubbase.h \
		$(INCDIR)/dce/twr.h \
		$(INCDIR)/dce/uuid.h

HDRS	      = ctxeertl.h \
		cvt.h \
		cvt_pvt.h \
		lsysdep.h \
		ndrmi.h \
		ndrui.h

LIBRARY	      = libidl.a

OBJS	      = alfrsupp.o \
		allocate.o \
		autohndl.o \
		bindcall.o \
		ctxeecli.o \
		ctxeectx.o \
		ctxerrtl.o \
		cvt_glob.o \
		eebool.o \
		eebyte.o \
		eechar.o \
		eedouble.o \
		eeenum.o \
		eefloat.o \
		eehyper.o \
		eelong.o \
		eenodtbl.o \
		eeshort.o \
		eesmall.o \
		eeuhyper.o \
		eeulong.o \
		eeushort.o \
		eeusmall.o \
		erbool.o \
		erbyte.o \
		erchar.o \
		erdouble.o \
		erenum.o \
		erfloat.o \
		erhyper.o \
		erlong.o \
		ernodtbl.o \
		ershort.o \
		ersmall.o \
		eruhyper.o \
		erulong.o \
		erushort.o \
		erusmall.o \
		interpsh.o \
		marbfman.o \
		nbaseool.o \
		ndrcharp.o \
		ndrchars.o \
		ndrfloat.o \
		ndrmi.o \
		ndrmi2.o \
		ndrmi3.o \
		ndrmi5.o \
		ndrui.o \
		ndrui2.o \
		ndrui3.o \
		ndrui5.o \
		nidlalfr.o \
		pickling.o \
		pipesupp.o \
		sscmaset.o \
		sscmasrv.o

SRCS	      = alfrsupp.c \
		allocate.c \
		autohndl.c \
		bindcall.c \
		ctxeecli.c \
		ctxeectx.c \
		ctxerrtl.c \
		cvt_glob.c \
		eebool.c \
		eebyte.c \
		eechar.c \
		eedouble.c \
		eeenum.c \
		eefloat.c \
		eehyper.c \
		eelong.c \
		eenodtbl.c \
		eeshort.c \
		eesmall.c \
		eeuhyper.c \
		eeulong.c \
		eeushort.c \
		eeusmall.c \
		erbool.c \
		erbyte.c \
		erchar.c \
		erdouble.c \
		erenum.c \
		erfloat.c \
		erhyper.c \
		erlong.c \
		ernodtbl.c \
		ershort.c \
		ersmall.c \
		eruhyper.c \
		erulong.c \
		erushort.c \
		erusmall.c \
		interpsh.c \
		marbfman.c \
		nbaseool.c \
		ndrcharp.c \
		ndrchars.c \
		ndrfloat.c \
		ndrmi.c \
		ndrmi2.c \
		ndrmi3.c \
		ndrmi5.c \
		ndrui.c \
		ndrui2.c \
		ndrui3.c \
		ndrui5.c \
		nidlalfr.c \
		pickling.c \
		pipesupp.c \
		pkcray.c \
		pkibml.c \
		pkibms.c \
		pkieees.c \
		pkieeet.c \
		pkvaxf.c \
		pkvaxg.c \
		round.c \
		sscmaset.c \
		sscmasrv.c \
		upkcray.c \
		upkibml.c \
		upkibms.c \
		upkieees.c \
		upkieeet.c \
		upkvaxf.c \
		upkvaxg.c

SYSHDRS	      =

all:		$(LIBRARY)

$(LIBRARY):	$(OBJS)
		@echo "Creating $(LIBRARY) ..."
		@ar cru $(LIBRARY) $(OBJS)
		@ranlib $(LIBRARY)
		@echo "done"

clean:
	@rm -f $(OBJS) core *.bak

clobber: clean
	@rm -f $(LIBRARY)

# dependencies and rules
ctxeecli.o: ctxeecli.c
	@echo "+ compiling ctxeecli.c"
	@$(CC) $(CFLAGS) -I../../runtime -c ctxeecli.c

#
# following dependencies are incomplete
#
###
