# Generated automatically from Makefile.in by configure.
srcdir=.

#
#SHLIB_CFLAGS =		-fpic 
#SHLIB_LD =		gcc -shared
SHLIB_SUFFIX =		.so
CC = gcc

CFLAGS = -O -g -I/home/source/BitchX/include -I./../../include $(SHLIB_CFLAGS)

OBJS = napother.o napfunc.o nap_file.o napsend.o nap.o md5.o

default:
	(cd ..;$(MAKE))

all: nap$(SHLIB_SUFFIX)

nap.o: $(srcdir)/nap.c nap_file.c
	$(CC) $(CFLAGS) -I/home/source/BitchX/include -I./../../include $(INCLUDES) -c $(srcdir)/nap.c

napsend.o: $(srcdir)/napsend.c
	$(CC) $(CFLAGS) -I/home/source/BitchX/include -I./../../include $(INCLUDES) -c $(srcdir)/napsend.c

nap_file.o: $(srcdir)/nap_file.c
	$(CC) $(CFLAGS) -I/home/source/BitchX/include -I./../../include $(INCLUDES) -c $(srcdir)/nap_file.c

napfunc.o: $(srcdir)/napfunc.c
	$(CC) $(CFLAGS) -I/home/source/BitchX/include -I./../../include $(INCLUDES) -c $(srcdir)/napfunc.c

napother.o: $(srcdir)/napother.c
	$(CC) $(CFLAGS) -I/home/source/BitchX/include -I./../../include $(INCLUDES) -c $(srcdir)/napother.c

md5.o: $(srcdir)/md5.c md5.h
	$(CC) $(CFLAGS) -I/home/source/BitchX/include -I./../../include $(INCLUDES) -c $(srcdir)/md5.c

nap$(SHLIB_SUFFIX): $(OBJS) $(srcdir)/nap.c 
	$(SHLIB_LD) $(OBJS) ${SHLIB_CFLAGS} -o nap$(SHLIB_SUFFIX)
clean::
	rm -f *~ *.o *.so *.a *.dll

clean::
	rm -f *~ *.o *.so *.a *.dll

distclean: clean
	rm -f *~ *.o *.so *.a *.dll

