CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)

all:: kdb5_stash

kdb5_stash: kdb5_stash.o $(DEPLIBS)
	$(LD) $(LDFLAGS) $(LDARGS) -o kdb5_stash kdb5_stash.o $(LIBS)

install::
	$(INSTALL_PROGRAM) kdb5_stash ${DESTDIR}$(ADMIN_BINDIR)/kdb5_stash
	$(INSTALL_DATA) $(srcdir)/kdb5_stash.M ${DESTDIR}$(ADMIN_MANDIR)/kdb5_stash.8

clean::
	$(RM) kdb5_stash kdb5_stash.o
