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

##DOS##BUILDTOP = ..\..\..
##DOS##PREFIXDIR=md5
##DOS##OBJFILE=..\$(OUTPRE)md5.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= md5.o

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

SRCS= $(srcdir)/md5.c

##DOS##LIBOBJS = $(OBJS)

all-unix:: all-libobjs

includes:: depend

depend:: $(SRCS)

t_mddriver: t_mddriver.o md5.o
	$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o t_mddriver t_mddriver.o md5.o

$(OUTPRE)t_mddriver.exe: $(OUTPRE)t_mddriver.obj $(OUTPRE)md5.obj
	link -out:$@ $**

check-unix:: t_mddriver
	$(RUN_SETUP) $(C)t_mddriver -x

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

clean:: 
	$(RM) $(OUTPRE)t_mddriver$(EXEEXT) $(OUTPRE)t_mddriver.$(OBJEXT)

clean-unix:: clean-libobjs
