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

##DOS##BUILDTOP = ..\..\..
##DOS##PREFIXDIR=sha1
##DOS##OBJFILE=..\$(OUTPRE)sha1.lst
##WIN16##LIBNAME=..\crypto.lib

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
	$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o t_shs t_shs.o shs.o

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

check-unix:: t_shs
	$(C)t_shs -x

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

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

clean-unix:: clean-libobjs
