# Makefile for src/md5/

SHELL = @SHELL@
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 @SSL_INCLUDES@ @DEFS@ $(CFLGS)
CPPFLAGS = @CPPFLAGS@

OBJS = md5c.o

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

depend:
	$(CC) -I../.. -I../../src -DMAKING_DEPEND -DHAVE_CONFIG_H -MM *.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 md5.h ../../src/main.h ../../config.h ../../eggint.h \
 ../../lush.h ../../src/lang.h ../../src/eggdrop.h ../../src/compat/in6.h \
 ../../src/flags.h ../../src/proto.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/strcasecmp.h \
 ../../src/compat/strftime.h ../../src/compat/inet_ntop.h \
 ../../src/compat/inet_pton.h ../../src/compat/gethostbyname2.h \
 ../../src/compat/strlcpy.h
