Added info about Linux libpcap misbehavior, and where to download the libpcap
[obnox/wireshark/wip.git] / Makefile.am
1 bin_PROGRAMS = ethereal
2
3 man_MANS = ethereal.1
4
5 sysconf_DATA = manuf
6
7 # Any POSIX-compatible YACC should honor the -p flag
8 YFLAGS=-d -p dfilter_
9
10 ethereal_SOURCES = \
11         alignment.h    \
12         capture.c      \
13         capture.h      \
14         colors.c       \
15         colors.h       \
16         column.c       \
17         column.h       \
18         dfilter-int.h  \
19         dfilter-grammar.y \
20         dfilter-scanner.l \
21         dfilter.c      \
22         dfilter.h      \
23         display.c      \
24         display.h      \
25         ethereal.c     \
26         ethereal.h     \
27         ethertype.c    \
28         etypes.h       \
29         file.c         \
30         file.h         \
31         filter.c       \
32         filter.h       \
33         follow.c       \
34         follow.h       \
35         gtkpacket.c    \
36         gtkpacket.h    \
37         menu.c         \
38         menu.h         \
39         packet-aarp.c  \
40         packet-arp.c   \
41         packet-atalk.c \
42         packet-atm.c   \
43         packet-bootp.c \
44         packet-cdp.c   \
45         packet-clip.c  \
46         packet-data.c  \
47         packet-dns.c   \
48         packet-dns.h   \
49         packet-eth.c   \
50         packet-fddi.c  \
51         packet-ftp.c   \
52         packet-giop.c  \
53         packet-gre.c   \
54         packet-http.c  \
55         packet-icmpv6.c\
56         packet-ip.c    \
57         packet-ip.h    \
58         packet-ipsec.c \
59         packet-ipv6.c  \
60         packet-ipv6.h  \
61         packet-ipx.c   \
62         packet-ipx.h   \
63         packet-isakmp.c\
64         packet-lapb.c  \
65         packet-llc.c   \
66         packet-lpd.c   \
67         packet-nbipx.c \
68         packet-nbns.c  \
69         packet-ncp.c   \
70         packet-ncp.h   \
71         packet-netbios.c \
72         packet-nntp.c  \
73         packet-null.c  \
74         packet-osi.c   \
75         packet-ospf.c  \
76         packet-ospf.h  \
77         packet-pop.c   \
78         packet-ppp.c   \
79         packet-pppoe.c \
80         packet-pptp.c  \
81         packet-radius.c\
82         packet-raw.c   \
83         packet-rip.c   \
84         packet-rip.h   \
85         packet-rsvp.c  \
86         packet-rsvp.h  \
87         packet-rtsp.c  \
88         packet-sdp.c   \
89         packet-smb.c   \
90         packet-tcp.c   \
91         packet-telnet.c\
92         packet-tftp.c  \
93         packet-tr.c    \
94         packet-trmac.c \
95         packet-udp.c   \
96         packet-vines.c \
97         packet-vines.h \
98         packet-x25.c   \
99         packet.c       \
100         packet.h       \
101         prefs.c        \
102         prefs.h        \
103         print.c        \
104         print.h        \
105         proto.c        \
106         proto.h        \
107         ps.c           \
108         ps.h           \
109         resolv.c       \
110         resolv.h       \
111         smb.h          \
112         summary.c      \
113         summary.h      \
114         timestamp.h    \
115         util.c         \
116         util.h         \
117         xdlc.c         \
118         xdlc.h
119
120 EXTRA_ethereal_SOURCES = \
121         dfilter-grammar.c \
122         dfilter-grammar.h \
123         dfilter-scanner.c \
124         packet-snmp.c   \
125         snprintf.c      \
126         snprintf.h      \
127         snprintf-imp.h  \
128         strerror.c      \
129         strerror.h
130
131 ethereal_DEPENDENCIES = @SNMP_O@ @SNPRINTF_O@ @STRERROR_O@ wiretap/libwiretap.a gtk/libui.a
132 ethereal_LDADD = @SNMP_O@ @SNPRINTF_O@ @STRERROR_O@ wiretap/libwiretap.a gtk/libui.a @SNMP_A@
133
134 ps.c: print.ps rdps
135         ./rdps $(srcdir)/print.ps ps.c
136
137 rdps: rdps.c
138         $(CC) -o rdps $(srcdir)/rdps.c
139
140 DISTCLEANFILES =        \
141         rdps            \
142         ps.c            \
143         *~
144
145 EXTRA_DIST = \
146         config.h.win32          \
147         doc/Makefile.in         \
148         doc/dfilter2pod.in      \
149         doc/ethereal.pod.template \
150         ethereal.spec.in         \
151         image/icon-excl.xpm     \
152         image/icon-ethereal.xpm \
153         Makefile.nmake          \
154         manuf                   \
155         print.ps                \
156         README.linux            \
157         README.tru64            \
158         README.win32            \
159         rdps.c
160
161 SUBDIRS = wiretap gtk @SUBDIRS@
162
163 ethereal.1: ethereal doc/ethereal.pod.template
164         (cd doc ; \
165         make ../ethereal.1 )
166
167 dfilter-scanner.c : dfilter-scanner.l
168         $(LEX) -Pdfilter_ -t $(srcdir)/dfilter-scanner.l > dfilter-scanner.c