# Generated automatically from Makefile.in by configure.
SHELL = /bin/sh
VERSION=1.2

srcdir = .
top_srcdir = ../..
prefix = /usr/local
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include

DISTDIR =

CC = gcc
CPP = gcc -E
RANLIB = ranlib
CFLAGS += -I./md5 -g -O2 -I/usr/include/pcap
CFLAGS += -I. -Wall -I./dcrypt
DEFS = -DHAVE_CONFIG_H

LIBS=-lpcap -Ldcrypt/ -ldcrypt -lgmp
LIBS += -L/usr/local/lib -L/lib -L/usr/lib -Lmd5 

top_builddir = .
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644

CXXFLAGS += -Dbool_LIB -Wall -I./random

LIB_OBJS= newran.o extreal.o myexcept.o

all:   libnewran.a genrand

libnewran.a:  ${LIB_OBJS}
	${AR} cru $@ ${LIB_OBJS}
	${RANLIB} $@

genrand:	genrand.o libnewran.a
	${CXX} -o $@ genrand.o -L. -lnewran -lm

newranxx = include.h newran.h boolean.h myexcept.h

newran.o:     $(newranxx) newran.C

extreal.o:    include.h boolean.h extreal.h myexcept.h extreal.C

myexcept.o:   include.h boolean.h myexcept.h myexcept.C

clean:
	/bin/rm -f ${LIB_OBJS} genrand.o genrand libnewran.a

reallyclean: clean
	/bin/rm -f Makefile
