Include lots of header files, rather than relying on O/S specific ones.
This commit is contained in:
5
Makefile
5
Makefile
@@ -10,6 +10,7 @@
|
||||
|
||||
# Give the location of pcap.h here:
|
||||
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
|
||||
@@ -29,7 +30,7 @@ MANDIR = man
|
||||
#MANDIR = share/man # FHS-ish
|
||||
|
||||
# You shouldn't need to change anything below this point.
|
||||
VERSION = 0.9pre1
|
||||
VERSION = 0.9pre2
|
||||
CFLAGS += -g -Wall "-DIFTOP_VERSION=\"$(VERSION)\""
|
||||
LDFLAGS += -g
|
||||
LDLIBS += -lpcap -lpthread -lcurses -lm
|
||||
@@ -37,7 +38,7 @@ LDLIBS += -lpcap -lpthread -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\
|
||||
serv_hash.h threadprof.h
|
||||
serv_hash.h threadprof.h ether.h ip.h tcp.h
|
||||
TXTS = README CHANGES INSTALL TODO iftop.8 COPYING
|
||||
SPECFILE = iftop.spec
|
||||
|
||||
|
||||
Reference in New Issue
Block a user