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