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

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

##WIN32##VERSIONRC = $(BUILDTOP)\windows\version.rc
##WIN32##RCFLAGS=$(CPPFLAGS) -I$(SRCTOP) -D_WIN32 -DRES_ONLY

##WIN32##KCPYTKT=$(OUTPRE)kcpytkt.exe

##WIN32##EXERES=$(KCPYTKT:.exe=.res)

##WIN32##$(EXERES): $(VERSIONRC)
##WIN32##        $(RC) $(RCFLAGS) -DKCPYTKT_APP -fo $@ -r $**

all-unix:: kcpytkt
##WIN32##all-windows:: $(KCPYTKT)
all-mac::

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

##WIN32##$(KCPYTKT): $(OUTPRE)kcpytkt.obj $(BUILDTOP)\util\windows\$(OUTPRE)getopt.obj $(KLIB) $(CLIB) $(EXERES)
##WIN32##	link $(EXE_LINKOPTS) /out:$@ $**
##WIN32##	$(_VC_MANIFEST_EMBED_EXE)

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

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