#### include configury here
BUILDTOP=../..
SRCS	= \
	krb_dbm.c \
	krb_lib.c \
	krb_cache.c \
	print_princ.c \
	krb_kdb_utils.c

OBJS	= \
	krb_dbm.o \
	krb_lib.o \
	krb_cache.o \
	print_princ.o \
	krb_kdb_utils.o

CODE= ${SRCS}

# install_library_target(kdb,$(OBJECTS),$(SRCS),${DES_LINTLIB} ${KRB_LINTLIB})
all:: libkdb.a

libkdb.a: $(OBJS)
	$(RM) $@.bak
	-$(MV) $@ $@.bak
	$(ARCHIVE) $@ $(OBJS)
	$(RANLIB) $@

clean::
	$(RM) libkdb.a
	$(RM) $(OBJS)

install::
	$(INSTALLLIB) libkdb.a $(DESTDIR)$(LIBDIR)/libkdb.a
	$(CHMOD) 644 $(DESTDIR)$(LIBDIR)/libkdb.a
	$(RANLIB)    $(DESTDIR)$(LIBDIR)/libkdb.a
	$(CHMOD) 444 $(DESTDIR)$(LIBDIR)/libkdb.a
## 
