thisconfigdir=.
myfulldir=slave
mydir=.
BUILDTOP=$(REL)..
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

# +++ Dependency line eater +++
# 
# Makefile dependencies follow.  This must be the last section in
# the Makefile.in file
#
$(OUTPRE)kprop.$(OBJEXT): kprop.c $(SRCTOP)/include/k5-int.h \
  $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
  $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
  $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
  $(SRCTOP)/include/krb5/kdb.h kprop.h
$(OUTPRE)kpropd.$(OBJEXT): kpropd.c $(SRCTOP)/include/syslog.h \
  $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
  $(BUILDTOP)/include/krb5/autoconf.h $(BUILDTOP)/include/krb5.h \
  $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h $(SRCTOP)/include/port-sockets.h \
  $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/krb5/kdb.h \
  kprop.h

