* Don't build wiretap if it isn't configured.
[obnox/wireshark/wip.git] / Makefile.am
1 bin_PROGRAMS = ethereal
2
3 man_MANS = ethereal.1
4
5 sysconf_DATA = manuf
6
7 ethereal_SOURCES = \
8         capture.c      \
9         column.c       \
10         ethereal.c     \
11         ethertype.c    \
12         file.c         \
13         filter.c       \
14         follow.c       \
15         menu.c         \
16         packet.c       \
17         packet-aarp.c  \
18         packet-arp.c   \
19         packet-atalk.c \
20         packet-bootp.c \
21         packet-data.c  \
22         packet-dns.c   \
23         packet-eth.c   \
24         packet-fddi.c  \
25         packet-giop.c  \
26         packet-llc.c   \
27         packet-lpd.c   \
28         packet-ip.c    \
29         packet-ipv6.c  \
30         packet-ipx.c   \
31         packet-nbipx.c \
32         packet-nbns.c  \
33         packet-ncp.c   \
34         packet-null.c  \
35         packet-osi.c   \
36         packet-ospf.c  \
37         packet-ppp.c   \
38         packet-raw.c   \
39         packet-rip.c   \
40         packet-tcp.c   \
41         packet-tr.c    \
42         packet-trmac.c \
43         packet-udp.c   \
44         packet-vines.c \
45         prefs.c        \
46         print.c        \
47         ps.c           \
48         resolv.c       \
49         util.c         \
50         capture.h      \
51         column.h       \
52         config.h       \
53         ethereal.h     \
54         etypes.h       \
55         file.h         \
56         filter.h       \
57         follow.h       \
58         menu.h         \
59         packet.h       \
60         packet-dns.h   \
61         packet-ipv6.h  \
62         packet-ipx.h   \
63         packet-ncp.h   \
64         packet-ospf.h  \
65         packet-rip.h   \
66         packet-vines.h \
67         prefs.h        \
68         print.h        \
69         ps.h           \
70         resolv.h       \
71         util.h
72
73 EXTRA_ethereal_SOURCES = \
74         snprintf.c           \
75         snprintf.h           \
76         snprintf-imp.h
77
78 ethereal_DEPENDENCIES = @SNPRINTF_O@ @LIBWIRETAP_A@
79 ethereal_LDADD = @SNPRINTF_O@ @LIBWIRETAP_A@
80
81 ps.c: print.ps rdps
82         ./rdps print.ps ps.c
83
84 rdps: rdps.c
85         $(CC) -o rdps rdps.c
86
87 DISTCLEANFILES = \
88         rdps \
89         ps.c
90
91 EXTRA_DIST =                \
92         doc/Makefile            \
93         doc/ethereal.pod        \
94         ethereal.1              \
95         image/icon-excl.xpm     \
96         image/icon-ethereal.xpm \
97         manuf                   \
98         print.ps                \
99         rdps.c
100
101 SUBDIRS=@WIRETAP_DIR@