Blame view

Makefile.am 1.65 KB
chris committed
1 2 3 4 5 6 7 8 9 10 11 12
#
# Makefile.am:
# Automake file for iftop.
#
# I don't understand this stuff, so I just stole it from the tpop3d
# distribution. That means that, really, Mark Longair should take credit for
# it.
#   -- Chris Lightfoot
#
# $Id$
#

pdw committed
13 14
sbin_PROGRAMS = iftop 
#iftop-dump
chris committed
15 16 17

iftop_SOURCES = addr_hash.c edline.c hash.c iftop.c ns_hash.c \
                 options.c resolver.c screenfilter.c serv_hash.c \
18
                 sorted_list.c threadprof.c ui_common.c ui.c tui.c util.c \
pdw committed
19 20
		 addrs_ioctl.c addrs_dlpi.c dlcommon.c \
		 stringmap.c cfgfile.c vector.c
chris committed
21

pdw committed
22 23 24 25 26
#iftop_dump_SOURCES = counter_hash.c hash.c iftop-dump.c  \
#                 options.c \
#                 util.c \
#		 addrs_ioctl.c addrs_dlpi.c dlcommon.c \
#		 stringmap.c cfgfile.c 
pdw committed
27 28 29



pdw committed
30
noinst_HEADERS = addr_hash.h addrs_ioctl.h ether.h ethertype.h extract.h hash.h iftop.h \
chris committed
31 32
                 integers.h ip.h llc.h ns_hash.h options.h resolver.h \
                 screenfilter.h serv_hash.h sll.h sorted_list.h tcp.h \
33
                 threadprof.h token.h ui_common.h ui.h tui.h dlcommon.h stringmap.h \
pdw committed
34
		 vector.h cfgfile.h ppp.h
chris committed
35 36 37 38 39 40 41 42

man_MANS = iftop.8

SUBDIRS = config

iftop.cat: iftop.8
	(echo -e ".pl 1100i" ; cat iftop.8 ; echo ".pl \n(nlu+10") | groff -Tascii -man > iftop.cat

pdw committed
43
iftop.spec: iftop.spec.in configure.in
44
	sed 's/__VERSION__/$(PACKAGE_VERSION)/' < iftop.spec.in > iftop.spec
pdw committed
45

chris committed
46 47
## These need to be distributed along with configure:

48
EXTRA_DIST = bootstrap README ChangeLog AUTHORS COPYING INSTALL TODO \
pdw committed
49
		Makefile.OLD $(man_MANS) iftop.cat iftop.spec
chris committed
50 51
             
MAINTERCLEANFILES = Makefile.in aclocal.m4 configure configuration.h.in \
pdw committed
52
                    stamp-h.in iftop.spec
chris committed
53 54 55

ACLOCAL = aclocal -I @ac_aux_dir@