Have the IPX code set "pi.len" and "pi.captured_len" based on the length
[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         globals.h      \
36         gtkpacket.c    \
37         gtkpacket.h    \
38         packet-aarp.c  \
39         packet-arp.c   \
40         packet-atalk.c \
41         packet-atm.c   \
42         packet-bootp.c \
43         packet-cdp.c   \
44         packet-clip.c  \
45         packet-data.c  \
46         packet-dns.c   \
47         packet-dns.h   \
48         packet-eth.c   \
49         packet-fddi.c  \
50         packet-ftp.c   \
51         packet-giop.c  \
52         packet-gre.c   \
53         packet-http.c  \
54         packet-icmpv6.c\
55         packet-ip.c    \
56         packet-ip.h    \
57         packet-ipsec.c \
58         packet-ipv6.c  \
59         packet-ipv6.h  \
60         packet-ipx.c   \
61         packet-ipx.h   \
62         packet-isakmp.c\
63         packet-lapb.c  \
64         packet-llc.c   \
65         packet-lpd.c   \
66         packet-nbipx.c \
67         packet-nbns.c  \
68         packet-ncp.c   \
69         packet-ncp.h   \
70         packet-netbios.c \
71         packet-netbios.h \
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/Makefile.am         \
149         doc/dfilter2pod.in      \
150         doc/ethereal.pod.template \
151         ethereal.spec.in         \
152         image/icon-excl.xpm     \
153         image/icon-ethereal.xpm \
154         Makefile.nmake          \
155         manuf                   \
156         print.ps                \
157         README.linux            \
158         README.tru64            \
159         README.win32            \
160         rdps.c
161
162 SUBDIRS = wiretap gtk @SUBDIRS@
163
164 ethereal.1: ethereal doc/ethereal.pod.template
165         (cd doc ; \
166         $(MAKE) ../ethereal.1 )
167
168 dfilter-scanner.c : dfilter-scanner.l
169         $(LEX) -Pdfilter_ -t $(srcdir)/dfilter-scanner.l > dfilter-scanner.c