thisconfigdir=.
myfulldir=slave
mydir=.
BUILDTOP=$(REL)$(U)
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)

all::	kprop kpropd

CLIENTSRCS= $(srcdir)/kprop.c 
CLIENTOBJS= kprop.o 

SERVERSRCS= $(srcdir)/kpropd.c 
SERVEROBJS= kpropd.o 

SRCS= $(CLIENTSRCS) $(SERVERSRCS)


kprop: $(CLIENTOBJS) $(KRB5_BASE_DEPLIBS)
	$(CC_LINK) -o kprop $(CLIENTOBJS) $(KRB5_BASE_LIBS)

kpropd: $(SERVEROBJS) $(KRB5_BASE_DEPLIBS)
	$(CC_LINK) -o kpropd $(SERVEROBJS) $(KRB5_BASE_LIBS)

install::
	for f in kprop kpropd; do \
	  $(INSTALL_PROGRAM) $$f \
		$(DESTDIR)$(SERVER_BINDIR)/`echo $$f|sed '$(transform)'`; \
	  $(INSTALL_DATA) $(srcdir)/$$f.M \
		${DESTDIR}$(SERVER_MANDIR)/`echo $$f|sed '$(transform)'`.8; \
	done

clean::
	$(RM) $(CLIENTOBJS) $(SERVEROBJS)

clean::
	$(RM) kprop kpropd

