thisconfigdir=./..
myfulldir=clients/kdestroy
mydir=kdestroy
BUILDTOP=$(REL)$(U)$(S)$(U)

PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)

all-unix:: kdestroy
all-windows:: $(OUTPRE)kdestroy.exe
all-mac::

kdestroy: kdestroy.o $(KRB4COMPAT_DEPLIBS)
	$(CC_LINK) -o $@ kdestroy.o $(KRB4COMPAT_LIBS)

$(OUTPRE)kdestroy.exe: $(OUTPRE)kdestroy.obj $(BUILDTOP)\util\windows\$(OUTPRE)getopt.obj $(KLIB) $(CLIB)
	link $(EXE_LINKOPTS) -out:$@ $**

clean-unix::
	$(RM) kdestroy.o kdestroy

install-unix::
	for f in kdestroy; do \
	  $(INSTALL_PROGRAM) $$f \
		$(DESTDIR)$(CLIENT_BINDIR)/`echo $$f|sed '$(transform)'`; \
	  $(INSTALL_DATA) $(srcdir)/$$f.M \
		$(DESTDIR)$(CLIENT_MANDIR)/`echo $$f|sed '$(transform)'`.1; \
	done
