thisconfigdir=./..
myfulldir=clients/kpasswd
mydir=kpasswd
BUILDTOP=$(REL)$(U)$(S)$(U)
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)

kpasswd: kpasswd.o $(KRB5_BASE_DEPLIBS)
	$(CC_LINK) -o kpasswd kpasswd.o $(KRB5_BASE_LIBS)

kpasswd.o:	$(srcdir)/kpasswd.c

all-unix:: kpasswd

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

install-all install-kdc install-server install-client install-unix::
	$(INSTALL_PROGRAM) kpasswd $(DESTDIR)$(CLIENT_BINDIR)/`echo kpasswd|sed '$(transform)'`
	$(INSTALL_DATA) $(srcdir)/kpasswd.M $(DESTDIR)$(CLIENT_MANDIR)/`echo kpasswd|sed '$(transform)'`.1;

all-windows:: $(OUTPRE)kpasswd.exe

$(OUTPRE)kpasswd.exe: $(OUTPRE)kpasswd.obj $(KLIB) $(CLIB)
	link $(EXE_LINKOPTS) -out:$@ $**
