# Makefile for src/md5/
# $Id: Makefile.in,v 1.6 2000/03/24 23:00:25 fabian Exp $

SHELL = /bin/sh
top_srcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@

@SET_MAKE@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@

CC = @CC@
LD = @CC@
STRIP = @STRIP@
CFLAGS = @CFLAGS@ -I. -I../.. -I$(top_srcdir) -I$(top_srcdir)/src @DEFS@ $(CFLGS)
CPPFLAGS = @CPPFLAGS@

OBJS = md5c.o

doofus:
	@echo ""
	@echo "Let's try this from the right directory..."
	@echo ""
	@cd ../.. && $(MAKE)

depend:
	$(CC) $(CFLAGS) $(CPPFLAGS) -MM $(srcdir)/*.c > .depend

clean:
	@rm -f .depend *.o *~

md5: $(OBJS)

.SUFFIXES:
.SUFFIXES: .c .o .h

.c.o:
	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<

#safety hash
md5c.o: ./md5c.c ../../src/main.h ../../src/lang.h ../../src/eggdrop.h \
 ../../src/flags.h ../../src/proto.h ../../lush.h \
 ../../src/misc_file.h ../../src/cmdt.h ../../src/tclegg.h \
 ../../src/tclhash.h ../../src/chan.h ../../src/users.h \
 ../../src/compat/compat.h ../../src/compat/inet_aton.h \
 ../../src/compat/snprintf.h ../../src/compat/memset.h \
 ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h global.h \
 md5.h
