# 
# (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.
# 

CP	      = cp -p

INCDIR	      = ../inc

DEST	      = .

EXTHDRS	      =

HDRS	      = dce.h \
		dce_error.h \
		dce_utils.h \
		sec_authn.h \
		assert.h

INSTALL	      = /usr/bin/install

LIBS	      =

MAKEFILE      = Makefile

OBJS	      =

PRINT	      = pr

PROGRAM       =

SHELL	      = /bin/sh

SRCS	      =

SYSHDRS	      =

all:		copy

clean:;		@rm -f $(IDLHDRS) core

clobber:;	@rm -f $(IDLHDRS) core tags \
		$(INCDIR)/dce/dce*.h $(INCDIR)/dce/sec*.h \
		$(INCDIR)/dce/assert.h

depend:;	@mkmf -f $(MAKEFILE) ROOT=$(ROOT)

echo:;		@echo $(HDRS) $(SRCS)

index:;		@ctags -wx $(HDRS) $(SRCS)

install:	$(PROGRAM)
		@echo Installing $(PROGRAM) in $(DEST)
		@-strip $(PROGRAM)
		@if [ $(DEST) != . ]; then \
		(rm -f $(DEST)/$(PROGRAM); $(INSTALL) -f $(DEST) $(PROGRAM)); fi

print:;		@$(PRINT) $(HDRS) $(SRCS)

tags:           $(HDRS) $(SRCS); @ctags $(HDRS) $(SRCS)

update:		$(DEST)/$(PROGRAM)

$(DEST)/$(PROGRAM): $(SRCS) $(LIBS) $(HDRS) $(EXTHDRS)
		@$(MAKE) -f $(MAKEFILE) ROOT=$(ROOT) DEST=$(DEST) install

#
# dependencies and rules
# Dependency doesn't work. Do clean build.
#
copy: $(HDRS)
	$(CP) $(HDRS) $(INCDIR)/dce
	$(CP) $(HDRS) /opt/dcelocal/include/dce

#
# following dependencies are incomplete
#
###
