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

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

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


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

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

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

install-unix::
	for f in klist; 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
