# Generated automatically from Makefile.in by configure.
CC = gcc  -DSHOWMNT -DHAVE_CONFIG_H -D_REENTRANT -DLINUX
CFLAGS = -pipe -w -g -O2 
LIBS =  -lpthread -lresolv -lX11 -L/usr/X11R6/lib
STRIP = /usr/bin/strip
BINARY = ess

SOURCES = main.c confparser.c connect.c fingerchk.c ftpchk.c \
        imapchk.c recvbuff.c pop2chk.c pop3chk.c smtpchk.c  \
        timeout.c check4bug.c smalls.c portscan.c telnetchk.c \
        namedchk.c libicmp.c in_cksum.c ip_gen.c tcp_gen.c \
        tcp.c trans_check.c httpchk.c devaddr.c oscheck.c nfschk.c xwinchk.c rpcscan.c rshchk.c

OBJECTS = main.o confparser.o connect.o fingerchk.o ftpchk.o \
        imapchk.o recvbuff.o pop2chk.o pop3chk.o smtpchk.o  \
        timeout.o check4bug.o smalls.o portscan.o telnetchk.o  \
        namedchk.o libicmp.o in_cksum.o ip_gen.o tcp_gen.o \
        tcp.o trans_check.o httpchk.o devaddr.o oscheck.o nfschk.o xwinchk.o rpcscan.o rshchk.o

MISCFILES = Makefile config.status config.log config.h config.cache configure.scan core

#remove "strip" from the following line if you want to keep the debug symbols
#(Will REALLY increase the filesize of the binary)
all: eSS rm.o strip

eSS: $(OBJECTS)
	$(CC) $(CFLAGS) $(OBJECTS) $(LIBS) -o $(BINARY)

$(OBJECTS): $(SOURCES)
	$(CC) $(CFLAGS) -c -I. $(SOURCES)

rm.o:
	rm -rf $(OBJECTS) 

clean:
	rm -rf $(BINARY) $(OBJECTS) $(MISCFILES)

strip:
	$(STRIP) $(BINARY)

#Tell GNU make not to export all variables.
#Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
