thisconfigdir=../../..
myfulldir=lib/crypto/sha1
mydir=lib/crypto/sha1
BUILDTOP=$(REL)..$(S)..$(S)..
DEFS=

##DOS##BUILDTOP = ..\..\..
##DOS##PREFIXDIR=sha1
##DOS##OBJFILE=..\$(OUTPRE)sha1.lst

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

RUN_SETUP = @KRB5_RUN_ENV@ KRB5_CONFIG=$(SRCTOP)/config-files/krb5.conf

STLIBOBJS= shs.o

OBJS= $(OUTPRE)shs.$(OBJEXT) 

SRCS= $(srcdir)/shs.c

##DOS##LIBOBJS = $(OBJS)

all-unix:: all-libobjs

includes:: depend

depend:: $(SRCS)

t_shs: t_shs.o shs.o $(SUPPORT_DEPLIB)
	$(CC_LINK) -o t_shs t_shs.o shs.o $(SUPPORT_LIB)

$(OUTPRE)t_shs.exe: $(OUTPRE)t_shs.obj $(OUTPRE)shs.obj
	link -out:$@ $**

check-unix:: t_shs t_shs3
	$(RUN_SETUP) $(VALGRIND) $(C)t_shs -x
	$(RUN_SETUP) $(VALGRIND) $(C)t_shs3

check-windows:: $(OUTPRE)t_shs.exe $(OUTPRE)t_shs3.exe
	$(OUTPRE)$(C)t_shs.exe -x
	$(OUTPRE)$(C)t_shs3.exe

clean:: 
	$(RM) t_shs$(EXEEXT) t_shs.$(OBJEXT) t_shs3$(EXEEXT) t_shs3.$(OBJEXT)

clean-unix:: clean-libobjs

t_shs3: t_shs3.o shs.o $(SUPPORT_DEPLIB)
	$(CC_LINK) -o t_shs3 t_shs3.o shs.o $(SUPPORT_LIB)

@libobj_frag@

# +++ Dependency line eater +++
# 
# Makefile dependencies follow.  This must be the last section in
# the Makefile.in file
#
shs.so shs.po $(OUTPRE)shs.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
  $(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
  $(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/k5-err.h \
  $(SRCTOP)/include/k5-int.h $(SRCTOP)/include/k5-platform.h \
  $(SRCTOP)/include/k5-plugin.h $(SRCTOP)/include/k5-thread.h \
  $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
  $(SRCTOP)/include/krb5/preauth_plugin.h $(SRCTOP)/include/port-sockets.h \
  $(SRCTOP)/include/socket-utils.h shs.c shs.h
