Makefile.am 1.39 KB
Newer Older
chris's avatar
""    
chris committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# 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$
#

sbin_PROGRAMS = iftop

iftop_SOURCES = addr_hash.c edline.c hash.c iftop.c ns_hash.c \
                 options.c resolver.c screenfilter.c serv_hash.c \
17
                 sorted_list.c threadprof.c ui.c util.c \
pdw's avatar
pdw committed
18
19
		 addrs_ioctl.c addrs_dlpi.c dlcommon.c \
		 stringmap.c cfgfile.c vector.c
chris's avatar
""    
chris committed
20
21
22
23

noinst_HEADERS = addr_hash.h ether.h ethertype.h extract.h hash.h iftop.h \
                 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 \
pdw's avatar
pdw committed
24
                 threadprof.h token.h ui.h dlcommon.h stringmap.h \
chris's avatar
""    
chris committed
25
		 vector.h cfgfile.h util.h
chris's avatar
""    
chris committed
26
27
28
29
30
31
32
33

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's avatar
pdw committed
34
35
36
iftop.spec: iftop.spec.in
	sed 's/__VERSION__/$(VERSION)/' < iftop.spec.in > iftop.spec

chris's avatar
""    
chris committed
37
38
## These need to be distributed along with configure:

39
EXTRA_DIST = bootstrap README ChangeLog AUTHORS COPYING INSTALL TODO \
pdw's avatar
pdw committed
40
		Makefile.OLD $(man_MANS) iftop.cat iftop.spec
chris's avatar
""    
chris committed
41
42
             
MAINTERCLEANFILES = Makefile.in aclocal.m4 configure configuration.h.in \
pdw's avatar
pdw committed
43
                    stamp-h.in iftop.spec
chris's avatar
""    
chris committed
44
45
46

ACLOCAL = aclocal -I @ac_aux_dir@