Added alternative resolver.

Altered display of totals.
This commit is contained in:
pdw
2002-10-24 13:42:11 +00:00
parent 0d9a9538dd
commit 4ef789bed1
3 changed files with 125 additions and 73 deletions

View File

@@ -5,19 +5,29 @@
# $Id$
#
VERSION = 0.10pre1
# C compiler to use.
#CC = gcc
# Give the location of pcap.h here:
CFLAGS += -I/usr/include/pcap
CFLAGS += -I/usr/include/pcap
# CFLAGS += -I/usr/pkg/include
# CFLAGS += -pg -a
# Give the location of libpcap here if it's not in one of the standard
# directories:
#LDFLAGS += -L/usr/local/lib
# LDFLAGS += -L/usr/local/lib
# LDFLAGS += -pg -a
LDFLAGS += -pthread
#
# Uncomment to use libresolv
#
#CFLAGS += -DUSELIBRESOLV
# This may be needed to use libresolv on Linux.
#LDLIBS += /usr/lib/libresolv.a
# PREFIX specifies the base directory for the installation.
PREFIX = /usr/local
@@ -31,11 +41,11 @@ MANDIR = man
#MANDIR = share/man # FHS-ish
# You shouldn't need to change anything below this point.
VERSION = 0.9
CFLAGS += -g -Wall "-DIFTOP_VERSION=\"$(VERSION)\""
LDFLAGS += -g
LDFLAGS += -g -pthread
LDLIBS += -lpcap -lcurses -lm
SRCS = iftop.c addr_hash.c hash.c ns_hash.c resolver.c ui.c util.c sorted_list.c\
options.c serv_hash.c threadprof.c
HDRS = addr_hash.h hash.h iftop.h ns_hash.h resolver.h sorted_list.h ui.h options.h sll.h\