We got rid of the wrong hf_devmode_driver_extra; bring the wrong one
[obnox/wireshark/wip.git] / Makefile.am
1 # Makefile.am
2 # Automake file for Ethereal
3 #
4 # $Id: Makefile.am,v 1.639 2003/10/14 01:18:09 guy Exp $
5 #
6 # Ethereal - Network traffic analyzer
7 # By Gerald Combs <gerald@ethereal.com>
8 # Copyright 1998 Gerald Combs
9 #
10 # This program is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU General Public License
12 # as published by the Free Software Foundation; either version 2
13 # of the License, or (at your option) any later version.
14 #
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 # GNU General Public License for more details.
19 #
20 # You should have received a copy of the GNU General Public License
21 # along with this program; if not, write to the Free Software
22 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
23
24 ACLOCAL_AMFLAGS = `./aclocal-flags`
25
26 #
27 # This is a hideous hack.
28 #
29 # Automake needs to know into which sections to install various man
30 # pages; if the names in "man_MANS" have suffixes, it can infer the
31 # sections from the name (e.g., "hello.1" goes in section 1), but if
32 # they don't have suffixes, it can't tell what sections to put them, and
33 # it just gives up and doesn't create any rules to install them (and it
34 # gives up silently, so you have no clue what's wrong).
35 #
36 # Therefore, we can't just set "man_MANS" to a list of variables to be
37 # filled in by the configure script, as those variables don't have man
38 # page section numbers.
39 #
40 # It turns out (although this is not documented anywhere I could find
41 # in the automake Info file) that if you define, instead, variables with
42 # names like "man{section}_MANS", automake will infer that the names in
43 # those variables are the names of man pages to be installed in section
44 # "{section}".
45 #
46 # So, as all our man pages go in section 1, we define "man1_MANS" to
47 # contain all the man page.
48 #
49 # *However*, if "man_MANS" isn't defined at all, automake concludes that
50 # there are no man pages, the fact that, say, "man1_MANS" is defined
51 # nonwithstanding!  (I suspect this is the result of a mistaken attempt
52 # to get people to fix their automake files not to use "MANS"; if "MANS"
53 # is defined, it prints a warning and sets the exit status, but doesn't
54 # exit, and then it just gives up if "man_MANS" isn't defined,
55 # presumably on the theory that the only reason it wouldn't be defined
56 # is because the automake file uses the obsolete "MANS" variable instead
57 # of the shiny new "man_MANS" variable.)
58 #
59 # So we also define "man_MANS", but don't define it as anything;
60 # automake will arrange that the Makefile define it as the union of all
61 # the "man{section}_MANS" variables.
62 #
63 bin_PROGRAMS = @ethereal_bin@ @editcap_bin@ @mergecap_bin@ @tethereal_bin@ @dftest_bin@ @randpkt_bin@ @text2pcap_bin@
64 bin_SCRIPTS = @idl2eth_bin@
65 man1_MANS = @ethereal_man@ @editcap_man@ @mergecap_man@ @tethereal_man@ @text2pcap_man@ @idl2eth_man@
66 man4_MANS = @etherealfilter_man@
67 man_MANS =
68
69 EXTRA_PROGRAMS = ethereal tethereal editcap mergecap dftest text2pcap
70 EXTRA_SCRIPTS = idl2eth
71
72 #
73 # Ethereal configuration files are put in $(pkgdatadir).  It currently
74 # contains the "manuf" file and a "diameter" directory.
75 #
76 pkgdata_DATA = manuf
77
78 #
79 # Install the Diameter DTD and XML files in the "diameter" subdirectory
80 # of that directory.
81 #
82 diameterdir = $(pkgdatadir)/diameter
83 diameter_DATA = dictionary.dtd dictionary.xml mobileipv4.xml \
84         nasreq.xml sunping.xml
85
86 DISSECTOR_SRC = \
87         packet-aarp.c  \
88         packet-acap.c  \
89         packet-afp.c   \
90         packet-afs.c   \
91         packet-aim.c   \
92         packet-ajp13.c          \
93         packet-alcap.c \
94         packet-ans.c   \
95         packet-ansi_637.c   \
96         packet-ansi_683.c   \
97         packet-ansi_map.c   \
98         packet-aodv.c  \
99         packet-arcnet.c \
100         packet-arp.c   \
101         packet-asap.c  \
102         packet-ascend.c\
103         packet-asf.c   \
104         packet-atalk.c \
105         packet-atm.c   \
106         packet-auto_rp.c   \
107         packet-bacapp.c   \
108         packet-bacnet.c   \
109         packet-beep.c \
110         packet-bgp.c   \
111         packet-bofl.c  \
112         packet-bootp.c \
113         packet-bootparams.c \
114         packet-bpdu.c  \
115         packet-brdwlk.c \
116         packet-bssgp.c \
117         packet-bvlc.c \
118         packet-cdp.c   \
119         packet-cgmp.c  \
120         packet-chdlc.c  \
121         packet-cisco-oui.c \
122         packet-clearcase.c  \
123         packet-clip.c  \
124         packet-clnp.c  \
125         packet-cops.c  \
126         packet-cosine.c  \
127         packet-cpha.c  \
128         packet-cups.c  \
129         packet-data.c  \
130         packet-dccp.c \
131         packet-dcerpc.c  \
132         packet-dcerpc-afs4int.c  \
133         packet-dcerpc-atsvc.c \
134         packet-dcerpc-bossvr.c  \
135         packet-dcerpc-browser.c  \
136         packet-dcerpc-cds_clerkserver.c  \
137         packet-dcerpc-cds_solicit.c  \
138         packet-dcerpc-conv.c  \
139         packet-dcerpc-cprpc_server.c  \
140         packet-dcerpc-dce122.c \
141         packet-dcerpc-dfs.c \
142         packet-dcerpc-dnsserver.c \
143         packet-dcerpc-drsuapi.c \
144         packet-dcerpc-dtsprovider.c \
145         packet-dcerpc-dtsstime_req.c \
146         packet-dcerpc-epm.c  \
147         packet-dcerpc-fldb.c  \
148         packet-dcerpc-ftserver.c \
149         packet-dcerpc-krb5rpc.c \
150         packet-dcerpc-lsa.c \
151         packet-dcerpc-lsa-ds.c \
152         packet-dcerpc-mapi.c  \
153         packet-dcerpc-messenger.c  \
154         packet-dcerpc-mgmt.c  \
155         packet-dcerpc-ndr.c  \
156         packet-dcerpc-netlogon.c \
157         packet-dcerpc-nspi.c \
158         packet-dcerpc-oxid.c  \
159         packet-dcerpc-reg.c \
160         packet-dcerpc-remact.c  \
161         packet-dcerpc-rep_proc.c  \
162         packet-dcerpc-roverride.c  \
163         packet-dcerpc-rpriv.c  \
164         packet-dcerpc-rs_acct.c  \
165         packet-dcerpc-rs_attr.c  \
166         packet-dcerpc-rs_misc.c  \
167         packet-dcerpc-rs_pgo.c  \
168         packet-dcerpc-rs_repadm.c  \
169         packet-dcerpc-rs_replist.c  \
170         packet-dcerpc-rs_unix.c  \
171         packet-dcerpc-rsec_login.c  \
172         packet-dcerpc-samr.c \
173         packet-dcerpc-secidmap.c \
174         packet-dcerpc-spoolss.c \
175         packet-dcerpc-srvsvc.c \
176         packet-dcerpc-svcctl.c \
177         packet-dcerpc-tapi.c \
178         packet-dcerpc-tkn4int.c \
179         packet-dcerpc-ubikdisk.c \
180         packet-dcerpc-ubikvote.c \
181         packet-dcerpc-update.c \
182         packet-dcerpc-wkssvc.c \
183         packet-ddtp.c  \
184         packet-dec-bpdu.c \
185         packet-dhcpv6.c \
186         packet-diameter.c \
187         packet-diffserv-mpls-common.c \
188         packet-distcc.c \
189         packet-dlsw.c  \
190         packet-dns.c   \
191         packet-dsi.c   \
192         packet-dvmrp.c \
193         packet-eap.c \
194         packet-eapol.c \
195         packet-echo.c \
196         packet-edonkey.c \
197         packet-eigrp.c \
198         packet-enc.c    \
199         packet-enip.c   \
200         packet-esis.c  \
201         packet-eth.c   \
202         packet-etherip.c        \
203         packet-ethertype.c   \
204         packet-fc.c \
205         packet-fcct.c \
206         packet-fcdns.c \
207         packet-fcels.c \
208         packet-fcfcs.c \
209         packet-fcfzs.c \
210         packet-fcip.c \
211         packet-fclctl.c \
212         packet-fcp.c \
213         packet-fcswils.c \
214         packet-fddi.c  \
215         packet-fix.c  \
216         packet-fr.c    \
217         packet-frame.c  \
218         packet-ftp.c   \
219         packet-fw1.c   \
220         packet-giop.c  \
221         packet-gmrp.c \
222         packet-gnutella.c \
223         packet-gprs-ns.c \
224         packet-gre.c   \
225         packet-gssapi.c \
226         packet-gtp.c   \
227         packet-gvrp.c  \
228         packet-h1.c    \
229         packet-h225.c  \
230         packet-h245.c  \
231         packet-h261.c  \
232         packet-h263.c  \
233         packet-h450.c  \
234         packet-hclnfsd.c  \
235         packet-hpext.c \
236         packet-hsrp.c  \
237         packet-http.c  \
238         packet-hyperscsi.c \
239         packet-iapp.c  \
240         packet-ib.c  \
241         packet-icap.c  \
242         packet-icmpv6.c\
243         packet-icp.c   \
244         packet-icq.c   \
245         packet-ieee80211.c \
246         packet-ieee8023.c \
247         packet-igmp.c  \
248         packet-igrp.c  \
249         packet-imap.c   \
250         packet-ip.c    \
251         packet-ipfc.c    \
252         packet-ipmi.c  \
253         packet-ipp.c   \
254         packet-ipsec.c \
255         packet-ipsec-udp.c \
256         packet-ipv6.c  \
257         packet-ipx.c   \
258         packet-ipxwan.c \
259         packet-irc.c   \
260         packet-isakmp.c\
261         packet-iscsi.c \
262         packet-isdn.c \
263         packet-isis.c  \
264         packet-isis-clv.c \
265         packet-isis-hello.c \
266         packet-isis-lsp.c \
267         packet-isis-snp.c \
268         packet-isl.c   \
269         packet-isns.c \
270         packet-isup.c  \
271         packet-iua.c   \
272         packet-jabber.c \
273         packet-kadm5.c \
274         packet-kerberos.c \
275         packet-klm.c   \
276         packet-l2tp.c  \
277         packet-lapb.c  \
278         packet-lapbether.c \
279         packet-lapd.c  \
280         packet-laplink.c  \
281         packet-ldap.c  \
282         packet-ldp.c   \
283         packet-llc.c   \
284         packet-lmi.c   \
285         packet-lmp.c   \
286         packet-lpd.c   \
287         packet-lwapp.c \
288         packet-m2pa.c  \
289         packet-m2tp.c  \
290         packet-m2ua.c  \
291         packet-m3ua.c  \
292         packet-mbtcp.c \
293         packet-mdshdr.c \
294         packet-mip.c  \
295         packet-mip6.c  \
296         packet-mmse.c  \
297         packet-mount.c \
298         packet-mpeg1.c  \
299         packet-mpls.c \
300         packet-mrdisc.c \
301         packet-msdp.c  \
302         packet-msn-messenger.c \
303         packet-msnip.c \
304         packet-msproxy.c \
305         packet-mtp2.c \
306         packet-mtp3.c \
307         packet-mtp3mg.c \
308         packet-mysql.c \
309         packet-nbipx.c \
310         packet-nbns.c  \
311         packet-ncp.c   \
312         packet-ncp2222.c   \
313         packet-ndmp.c  \
314         packet-ndps.c  \
315         packet-netbios.c \
316         packet-netflow.c \
317         packet-nfs.c   \
318         packet-nfsacl.c \
319         packet-nfsauth.c \
320         packet-nisplus.c \
321         packet-nlm.c   \
322         packet-nlsp.c  \
323         packet-nntp.c  \
324         packet-nt-oui.c \
325         packet-nt-sonmp.c \
326         packet-ntlmssp.c  \
327         packet-ntp.c  \
328         packet-null.c  \
329         packet-osi.c   \
330         packet-osi-options.c \
331         packet-ospf.c  \
332         packet-pcnfsd.c \
333         packet-per.c \
334         packet-pflog.c \
335         packet-pgm.c   \
336         packet-pim.c   \
337         packet-pop.c   \
338         packet-portmap.c   \
339         packet-ppp.c   \
340         packet-pppoe.c \
341         packet-pptp.c  \
342         packet-prism.c \
343         packet-q2931.c \
344         packet-q931.c  \
345         packet-q933.c  \
346         packet-qllc.c  \
347         packet-quake.c \
348         packet-quake2.c \
349         packet-quake3.c \
350         packet-quakeworld.c \
351         packet-radius.c\
352         packet-ranap.c \
353         packet-raw.c   \
354         packet-rip.c   \
355         packet-ripng.c \
356         packet-rlogin.c \
357         packet-rmcp.c  \
358         packet-rmi.c \
359         packet-rmp.c   \
360         packet-rpc.c   \
361         packet-rpl.c   \
362         packet-rquota.c \
363         packet-rsh.c   \
364         packet-rstat.c \
365         packet-rsvp.c  \
366         packet-rsync.c \
367         packet-rtcp.c  \
368         packet-rtp.c   \
369         packet-rtp-events.c \
370         packet-rtsp.c  \
371         packet-rwall.c \
372         packet-rx.c  \
373         packet-sadmind.c \
374         packet-sap.c   \
375         packet-sccp.c  \
376         packet-sccpmg.c  \
377         packet-scsi.c  \
378         packet-sctp.c  \
379         packet-sdlc.c  \
380         packet-sdp.c   \
381         packet-sflow.c \
382         packet-sip.c   \
383         packet-skinny.c   \
384         packet-slimp3.c   \
385         packet-sll.c   \
386         packet-slowprotocols.c \
387         packet-smb.c   \
388         packet-smb-browse.c \
389         packet-smb-common.c \
390         packet-smb-logon.c \
391         packet-smb-mailslot.c \
392         packet-smb-pipe.c \
393         packet-smb-sidsnooping.c \
394         packet-smpp.c \
395         packet-smtp.c \
396         packet-sna.c   \
397         packet-snaeth.c \
398         packet-snmp.c   \
399         packet-socks.c \
400         packet-spnego.c \
401         packet-spray.c \
402         packet-srvloc.c \
403         packet-sscop.c \
404         packet-ssh.c   \
405         packet-ssl.c   \
406         packet-stat.c   \
407         packet-stat-notify.c \
408         packet-stun.c  \
409         packet-sua.c   \
410         packet-syslog.c \
411         packet-t38.c    \
412         packet-tacacs.c \
413         packet-tcap.c   \
414         packet-tcp.c   \
415         packet-tds.c   \
416         packet-telnet.c\
417         packet-teredo.c\
418         packet-tftp.c  \
419         packet-time.c  \
420         packet-tns.c \
421         packet-tpkt.c  \
422         packet-tr.c    \
423         packet-trmac.c \
424         packet-tsp.c \
425         packet-tzsp.c  \
426         packet-ucp.c   \
427         packet-udp.c   \
428         packet-v120.c \
429         packet-vines.c \
430         packet-vj.c   \
431         packet-vlan.c \
432         packet-vrrp.c \
433         packet-vtp.c  \
434         packet-wap.c \
435         packet-wbxml.c \
436         packet-wccp.c \
437         packet-wcp.c \
438         packet-wfleet-hdlc.c \
439         packet-who.c  \
440         packet-wlancap.c \
441         packet-wsp.c \
442         packet-wtls.c \
443         packet-wtp.c \
444         packet-x11.c   \
445         packet-x25.c   \
446         packet-x29.c   \
447         packet-xdmcp.c \
448         packet-xot.c   \
449         packet-xyplex.c   \
450         packet-yhoo.c  \
451         packet-ymsg.c  \
452         packet-ypbind.c \
453         packet-yppasswd.c \
454         packet-ypserv.c \
455         packet-ypxfr.c \
456         packet-zebra.c
457
458 if HAVE_PLUGINS
459 plugin_libs = \
460         plugins/acn/acn.la \
461         plugins/artnet/artnet.la \
462         plugins/docsis/docsis.la \
463         plugins/giop/cosnaming.la \
464         plugins/giop/coseventcomm.la \
465         plugins/gryphon/gryphon.la \
466         plugins/lwres/lwres.la \
467         plugins/megaco/megaco.la \
468         plugins/mgcp/mgcp.la \
469         plugins/pcli/pcli.la \
470         plugins/rtnet/rtnet.la 
471
472 if ENABLE_STATIC
473 plugin_ldadd = \
474         plugins/acn/packet-acn.o \
475         plugins/artnet/packet-artnet.o \
476         plugins/docsis/packet-bpkmattr.o \
477         plugins/docsis/packet-bpkmreq.o \
478         plugins/docsis/packet-bpkmrsp.o \
479         plugins/docsis/packet-docsis.o \
480         plugins/docsis/packet-dsaack.o \
481         plugins/docsis/packet-dsareq.o \
482         plugins/docsis/packet-dsarsp.o \
483         plugins/docsis/packet-dscack.o \
484         plugins/docsis/packet-dscreq.o \
485         plugins/docsis/packet-dscrsp.o \
486         plugins/docsis/packet-dsdreq.o \
487         plugins/docsis/packet-dsdrsp.o \
488         plugins/docsis/packet-macmgmt.o \
489         plugins/docsis/packet-map.o \
490         plugins/docsis/packet-regack.o \
491         plugins/docsis/packet-regreq.o \
492         plugins/docsis/packet-regrsp.o \
493         plugins/docsis/packet-rngreq.o \
494         plugins/docsis/packet-rngrsp.o \
495         plugins/docsis/packet-tlv.o \
496         plugins/docsis/packet-uccreq.o \
497         plugins/docsis/packet-uccrsp.o \
498         plugins/docsis/packet-ucd.o \
499         plugins/giop/packet-cosnaming.o \
500         plugins/giop/packet-coseventcomm.o \
501         plugins/gryphon/packet-gryphon.o \
502         plugins/lwres/packet-lwres.o \
503         plugins/megaco/packet-megaco.o \
504         plugins/mgcp/packet-mgcp.o \
505         plugins/pcli/packet-pcli.o \
506         plugins/rtnet/packet-rtnet.o 
507
508 plugin_src = \
509         plugins/acn/packet-acn.c \
510         plugins/artnet/packet-artnet.c \
511         plugins/docsis/packet-bpkmattr.c \
512         plugins/docsis/packet-bpkmreq.c \
513         plugins/docsis/packet-bpkmrsp.c \
514         plugins/docsis/packet-docsis.c \
515         plugins/docsis/packet-dsaack.c \
516         plugins/docsis/packet-dsareq.c \
517         plugins/docsis/packet-dsarsp.c \
518         plugins/docsis/packet-dscack.c \
519         plugins/docsis/packet-dscreq.c \
520         plugins/docsis/packet-dscrsp.c \
521         plugins/docsis/packet-dsdreq.c \
522         plugins/docsis/packet-dsdrsp.c \
523         plugins/docsis/packet-macmgmt.c \
524         plugins/docsis/packet-map.c \
525         plugins/docsis/packet-regack.c \
526         plugins/docsis/packet-regreq.c \
527         plugins/docsis/packet-regrsp.c \
528         plugins/docsis/packet-rngreq.c \
529         plugins/docsis/packet-rngrsp.c \
530         plugins/docsis/packet-tlv.c \
531         plugins/docsis/packet-uccreq.c \
532         plugins/docsis/packet-uccrsp.c \
533         plugins/docsis/packet-ucd.c \
534         plugins/giop/packet-cosnaming.c \
535         plugins/giop/packet-coseventcomm.c \
536         plugins/gryphon/packet-gryphon.c \
537         plugins/lwres/packet-lwres.c \
538         plugins/megaco/packet-megaco.c \
539         plugins/mgcp/packet-mgcp.c \
540         plugins/pcli/packet-pcli.c \
541         plugins/rtnet/packet-rtnet.c 
542
543 else            # ENABLE_STATIC
544 plugin_ldadd = \
545         "-dlopen" self  \
546         "-dlopen" plugins/acn/acn.la \
547         "-dlopen" plugins/artnet/artnet.la \
548         "-dlopen" plugins/docsis/docsis.la \
549         "-dlopen" plugins/giop/cosnaming.la \
550         "-dlopen" plugins/giop/coseventcomm.la \
551         "-dlopen" plugins/gryphon/gryphon.la \
552         "-dlopen" plugins/lwres/lwres.la \
553         "-dlopen" plugins/megaco/megaco.la \
554         "-dlopen" plugins/mgcp/mgcp.la \
555         "-dlopen" plugins/pcli/pcli.la \
556         "-dlopen" plugins/rtnet/rtnet.la 
557
558 plugin_src =
559
560 endif           # ENABLE_STATIC
561
562 else            # HAVE_PLUGINS
563 plugin_src =
564
565 plugin_libs =
566
567 plugin_ldadd =
568 endif           # HAVE_PLUGINS
569
570 noinst_HEADERS = \
571         packet-afp.h   \
572         packet-afs-defs.h \
573         packet-afs-macros.h \
574         packet-afs-register-info.h \
575         packet-afs.h   \
576         packet-arcnet.h \
577         packet-arp.h   \
578         packet-atalk.h \
579         packet-atm.h   \
580         packet-bgp.h   \
581         packet-bootparams.h \
582         packet-chdlc.h \
583         packet-clearcase.h  \
584         packet-clip.h  \
585         packet-data.h \
586         packet-dccp.h \
587         packet-dcerpc-atsvc.h \
588         packet-dcerpc-browser.h \
589         packet-dcerpc-dce122.h \
590         packet-dcerpc-dcom.h \
591         packet-dcerpc-dfs.h \
592         packet-dcerpc-dnsserver.h \
593         packet-dcerpc-drsuapi.h \
594         packet-dcerpc-lsa.h \
595         packet-dcerpc-mapi.h \
596         packet-dcerpc-netlogon.h \
597         packet-dcerpc-nt.h \
598         packet-dcerpc-reg.h \
599         packet-dcerpc-samr.h \
600         packet-dcerpc-spoolss.h \
601         packet-dcerpc-srvsvc.h \
602         packet-dcerpc-svcctl.h \
603         packet-dcerpc-tapi.h \
604         packet-dcerpc-wkssvc.h \
605         packet-dcerpc.h \
606         packet-ddtp.h  \
607         packet-diameter-defs.h \
608         packet-diffserv-mpls-common.h \
609         packet-dns.h   \
610         packet-dvmrp.h \
611         packet-edonkey.h \
612         packet-esis.h  \
613         packet-eth.h   \
614         packet-fc.h \
615         packet-fcbls.h \
616         packet-fcct.h \
617         packet-fcdns.h \
618         packet-fcels.h \
619         packet-fcfcs.h \
620         packet-fcfzs.h \
621         packet-fclctl.h \
622         packet-fcp.h \
623         packet-fcswils.h \
624         packet-fddi.h  \
625         packet-frame.h  \
626         packet-giop.h  \
627         packet-gnutella.h \
628         packet-gssapi.h \
629         packet-gtp.h    \
630         packet-h225.h    \
631         packet-h245.h    \
632         packet-hclnfsd.h  \
633         packet-hpext.h  \
634         packet-http.h  \
635         packet-ieee80211.h \
636         packet-ieee8023.h \
637         packet-igmp.h  \
638         packet-ip.h    \
639         packet-ipfc.h  \
640         packet-ipsec.h \
641         packet-ipv6.h  \
642         packet-ipx.h   \
643         packet-isis-clv.h \
644         packet-isis-hello.h \
645         packet-isis-lsp.h \
646         packet-isis-snp.h \
647         packet-isis.h  \
648         packet-isl.h   \
649         packet-kerberos.h \
650         packet-klm.h   \
651         packet-ldap.h  \
652         packet-llc.h   \
653         packet-mip6.h  \
654         packet-mount.h \
655         packet-mrdisc.h \
656         packet-msnip.h \
657         packet-mtp3.h  \
658         packet-ncp-int.h \
659         packet-ndps.h    \
660         packet-netbios.h \
661         packet-nfs.h   \
662         packet-nisplus.h \
663         packet-nlm.h   \
664         packet-ntp.h  \
665         packet-null.h  \
666         packet-osi-options.h \
667         packet-osi.h   \
668         packet-pcnfsd.h \
669         packet-per.h   \
670         packet-pflog.h \
671         packet-pim.h   \
672         packet-portmap.h   \
673         packet-ppp.h   \
674         packet-prism.h \
675         packet-q931.h  \
676         packet-raw.h   \
677         packet-ripng.h \
678         packet-rmi.h   \
679         packet-rpc.h   \
680         packet-rquota.h \
681         packet-rsvp.h  \
682         packet-rtcp.h  \
683         packet-rtp.h   \
684         packet-rtp-events.h \
685         packet-rwall.h  \
686         packet-rx.h  \
687         packet-scsi.h  \
688         packet-sll.h   \
689         packet-smb-browse.h \
690         packet-smb-common.h \
691         packet-smb-logon.h \
692         packet-smb-mailslot.h \
693         packet-smb-pipe.h \
694         packet-smb-sidsnooping.h \
695         packet-sna.h   \
696         packet-snmp.h   \
697         packet-spray.h \
698         packet-stat-notify.h \
699         packet-stat.h   \
700         packet-tacacs.h \
701         packet-tcap.h  \
702         packet-tcp.h   \
703         packet-tns.h \
704         packet-tpkt.h  \
705         packet-tr.h    \
706         packet-udp.h   \
707         packet-vines.h \
708         packet-vlan.h \
709         packet-wap.h \
710         packet-wccp.h \
711         packet-wlancap.h \
712         packet-wsp.h \
713         packet-wtls.h \
714         packet-wtp.h \
715         packet-x11-keysym.h     \
716         packet-ypbind.h \
717         packet-yppasswd.h \
718         packet-ypserv.h \
719         packet-ypxfr.h
720
721 ETHEREAL_COMMON_SRC = \
722         adler32.c      \
723         adler32.h      \
724         afn.c          \
725         afn.h          \
726         aftypes.h      \
727         alignment.h    \
728         arcnet_pids.h  \
729         asn1.c         \
730         asn1.h         \
731         bridged_pids.h \
732         capture_stop_conditions.c   \
733         capture_stop_conditions.h   \
734         cfile.c         \
735         cfile.h         \
736         chdlctypes.h   \
737         color.h        \
738         column.c       \
739         column.h       \
740         conditions.c   \
741         conditions.h   \
742         crc32.c        \
743         crc32.h        \
744         crypt-des.c    \
745         crypt-des.h    \
746         crypt-md4.c    \
747         crypt-md4.h    \
748         crypt-md5.c    \
749         crypt-md5.h    \
750         crypt-rc4.c    \
751         crypt-rc4.h    \
752         disabled_protos.c      \
753         disabled_protos.h      \
754         etypes.h       \
755         file.h         \
756         follow.c       \
757         follow.h       \
758         format-oid.h   \
759         g711.c          \
760         g711.h          \
761         greproto.h     \
762         in_cksum.c     \
763         in_cksum.h     \
764         ip_opts.h      \
765         ipproto.c      \
766         ipproto.h      \
767         llcsaps.h      \
768         nlpid.h        \
769         oui.h          \
770         packet-dcerpc-nt.c \
771         pcap-util.c    \
772         pcap-util.h    \
773         pcap-util-int.h \
774         pcap-util-unix.c \
775         ppptypes.h     \
776         prefs-int.h    \
777         prefs.c        \
778         prefs.h        \
779         print.c        \
780         print.h        \
781         ps.c           \
782         ps.h           \
783         ptvcursor.c     \
784         ptvcursor.h     \
785         reassemble.c   \
786         reassemble.h   \
787         register.h     \
788         ringbuffer.c   \
789         ringbuffer.h   \
790         rpc_defrag.h   \
791         rtp_pt.h       \
792         sctpppids.h    \
793         smb.h          \
794         t35.c           \
795         t35.h           \
796         tap.c           \
797         tap.h           \
798         timestats.c     \
799         timestats.h     \
800         util.c         \
801         util.h         \
802         x11-declarations.h \
803         x11-register-info.h \
804         x264_prt_id.h  \
805         xdlc.c         \
806         xdlc.h         \
807         xmlstub.c      \
808         xmlstub.h
809
810 BUILT_SOURCES = \
811         x11-declarations.h \
812         x11-register-info.h
813
814 ethereal_SOURCES = \
815         $(DISSECTOR_SRC) \
816         $(ETHEREAL_COMMON_SRC) \
817         register.c     \
818         capture.c      \
819         capture.h      \
820         file.c         \
821         filters.c      \
822         filters.h      \
823         globals.h      \
824         menu.h         \
825         progress_dlg.h \
826         proto_hier_stats.h      \
827         proto_hier_stats.c      \
828         simple_dialog.h \
829         statusbar.h    \
830         summary.c      \
831         summary.h      \
832         ui_util.h
833
834 EXTRA_ethereal_SOURCES = \
835         snprintf.c      \
836         snprintf.h      \
837         snprintf-imp.h  \
838         strerror.c      \
839         strerror.h      \
840         strcasecmp.c    \
841         strncasecmp.c   \
842         mkstemp.c       \
843         mkstemp.h       \
844         strptime.c      \
845         strptime.h
846
847 # Optional objects that I know how to build. These will be
848 # linked into the ethereal executable.
849 # They will also be linked into the tethereal executable; if this
850 # list ever grows to include something that can't be linked with
851 # tethereal, or if tethereal needs something that ethereal doesn't,
852 # we should probably split this into stuff needed both
853 # by ethereal and tethereal and stuff needed only by one or the
854 # other.
855 ethereal_optional_objects = @SNPRINTF_O@ @STRERROR_O@ \
856         @STRCASECMP_O@ @STRNCASECMP_O@ @MKSTEMP_O@ @STRPTIME_O@
857
858 # Additional libs that I know how to build. These will be
859 # linked into the ethereal executable.
860 ethereal_additional_libs = \
861         wiretap/libwiretap.a    \
862         gtk/libui.a             \
863         epan/libethereal.a      \
864         epan/ftypes/libftypes.a \
865         epan/dfilter/libdfilter.a
866
867 # This is the automake dependency variable for the executable
868 ethereal_DEPENDENCIES = \
869         $(ethereal_optional_objects)    \
870         $(ethereal_additional_libs)     \
871         $(plugin_libs)
872
873 # This automake variable adds to the link-line for the executable.
874 #
875 # Note that Ethereal doesn't have to be linked with @GLIB_LIBS@, as
876 # they are included in @GTK_LIBS@, and doesn't have to be linked with
877 # @SOCKET_LIBS@ or @NSL_LIBS@, as those should also be included in
878 # @GTK_LIBS@ (as those are also needed for X applications, and GTK+
879 # applications are X applications).
880
881 if ENABLE_STATIC
882 ethereal_LDFLAGS = -Wl,-static -all-static
883 else
884 ethereal_LDFLAGS = -export-dynamic
885 endif
886
887 ethereal_LDADD = \
888         $(ethereal_optional_objects)    \
889         $(ethereal_additional_libs)     \
890         @SNMP_LIBS@ @SSL_LIBS@          \
891         $(plugin_ldadd)                 \
892         @PCAP_LIBS@ @GTK_LIBS@ @ADNS_LIBS@
893
894 TETHEREAL_TAP_SRC = \
895         tap-bootpstat.c         \
896         tap-dcerpcstat.c        \
897         tap-httpstat.c          \
898         tap-iostat.c            \
899         tap-iousers.c           \
900         tap-mgcpstat.c          \
901         tap-protocolinfo.c      \
902         tap-protohierstat.c     \
903         tap-rpcstat.c           \
904         tap-rpcprogs.c          \
905         tap-smbsids.c           \
906         tap-smbstat.c           \
907         tap-wspstat.c
908
909 tethereal_SOURCES = \
910         $(DISSECTOR_SRC) \
911         $(ETHEREAL_COMMON_SRC) \
912         $(TETHEREAL_TAP_SRC) \
913         tethereal-tap-register.c \
914         register.c     \
915         tethereal.c
916
917 # Additional libs that I know how to build. These will be
918 # linked into the tethereal executable.
919 tethereal_additional_libs =             \
920         wiretap/libwiretap.a            \
921         epan/libethereal.a              \
922         epan/ftypes/libftypes.a         \
923         epan/dfilter/libdfilter.a
924
925 # This is the automake dependency variable for the executable
926 tethereal_DEPENDENCIES = \
927         $(ethereal_optional_objects)    \
928         $(tethereal_additional_libs)    \
929         $(plugin_libs)
930
931 # This automake variable adds to the link-line for the executable
932 tethereal_LDADD = \
933         $(ethereal_optional_objects)    \
934         $(tethereal_additional_libs)    \
935         @SNMP_LIBS@ @SSL_LIBS@          \
936         $(plugin_ldadd)                 \
937         @GLIB_LIBS@ -lm                 \
938         @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@
939
940 if ENABLE_STATIC
941 tethereal_LDFLAGS = -Wl,-static -all-static
942 else
943 tethereal_LDFLAGS = -export-dynamic
944 endif
945
946 # Optional objects that I know how to build, and that are needed by
947 # text2pcap.
948 text2pcap_optional_objects = @STRERROR_O@ @STRPTIME_O@
949
950 text2pcap_SOURCES = text2pcap.c text2pcap-scanner.l
951 text2pcap_DEPENDENCIES = text2pcap.h
952
953 # This automake variable adds to the link-line for the executable
954 text2pcap_LDADD = $(text2pcap_optional_objects) \
955         @GLIB_LIBS@ -lm
956
957 mergecap_SOURCES = mergecap.c
958 mergecap_DEPENDENCIES = wiretap/libwiretap.a
959
960 editcap_SOURCES = editcap.c
961
962 # This is the automake dependency variable for the executable
963 editcap_DEPENDENCIES = wiretap/libwiretap.a
964
965 # This automake variable adds to the link-line for the executable
966 editcap_LDADD = wiretap/libwiretap.a @GLIB_LIBS@
967 mergecap_LDADD = wiretap/libwiretap.a @GLIB_LIBS@
968
969 # Common headers
970 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap
971
972 #
973 # Build various header files for the X11 dissector.
974 #
975 x11-declarations.h x11-register-info.h: x11-fields process-x11-fields.pl
976         $(PERL) $(srcdir)/process-x11-fields.pl <$(srcdir)/x11-fields
977
978 #
979 # Build shell scripts by doing variable substitution.
980 # Taken from autoconf 2.13.
981 #
982 editsh = sed -e 's,@''SHELL''@,$(SHELL),g'
983
984 SUFFIXES = .sh
985 .sh:
986         rm -f $@ $@.tmp
987         $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
988
989 #
990 # Build "register.c", which contains a function "register_all_protocols()"
991 # that calls the register routines for all protocols.
992 #
993 # We do this by grepping through sources.  If that turns out to be too slow,
994 # maybe we could just require every .o file to have an register routine
995 # of a given name (packet-aarp.o -> proto_register_aarp, etc.).
996 #
997 # Formatting conventions:  The name of the proto_register_* routines must
998 # start in column zero, or must be preceded only by "void " starting in
999 # column zero, and must not be inside #if.
1000 #
1001 # We assume that all dissector routines are in "packet-XXX.c" files.
1002 #
1003 # For some unknown reason, having a big "for" loop in the Makefile
1004 # to scan all the "packet-XXX.c" files doesn't work with some "make"s;
1005 # they seem to pass only the first few names in the list to the shell,
1006 # for some reason.
1007 #
1008 # Therefore, we have a script to generate the "register.c" file.
1009 #
1010 # The first argument is the name of the file to write.
1011 # The second argument is the directory in which the source files live.
1012 # All subsequent arguments are the files to scan.
1013 #
1014 register.c: $(plugin_src) $(DISSECTOR_SRC) $(srcdir)/make-reg-dotc
1015         @if test -n $(PYTHON); then \
1016                 echo Making register.c with python ; \
1017                 $(PYTHON) $(srcdir)/make-reg-dotc.py $(srcdir) $(DISSECTOR_SRC) ; \
1018         else \
1019                 echo Making register.c with shell script ; \
1020                 $(srcdir)/make-reg-dotc register.c $(srcdir) \
1021                         $(plugin_src) $(DISSECTOR_SRC) ; \
1022         fi
1023
1024 #
1025 # Build "tethereal-tap-register.c", which contains a function 
1026 # "register_all_tap_listeners()"
1027 # that calls the register routines for all tehtereal tap listeners.
1028 #
1029 # We do this by grepping through sources.
1030 #
1031 # Formatting conventions:  The name of the tap_listener_register_* 
1032 # routines must start in column zero, or must be preceded only by 
1033 # "void " starting in column zero, and must not be inside #if.
1034 #
1035 # The first argument is the directory in which the source files live.
1036 # All subsequent arguments are the files to scan.
1037 #
1038 tethereal-tap-register.c: $(TETHEREAL_TAP_SRC) $(srcdir)/make-tapreg-dotc
1039         @echo Making tethereal-tap-register.c
1040         @$(srcdir)/make-tapreg-dotc tethereal-tap-register.c $(srcdir) $(TETHEREAL_TAP_SRC)
1041
1042 ps.c: print.ps rdps
1043         ./rdps $(srcdir)/print.ps ps.c
1044
1045 rdps: rdps.c
1046         $(CC) $(CFLAGS) -o rdps $(srcdir)/rdps.c
1047
1048 randpkt.o: randpkt.c
1049         $(CC) -DHAVE_CONFIG_H -I. `glib-config --cflags` -c $(srcdir)/randpkt.c
1050
1051 randpkt: randpkt.o wiretap/libwiretap.a
1052         $(LINK) -o randpkt randpkt.o wiretap/libwiretap.a `glib-config --libs` -lz
1053
1054
1055 dftest_SOURCES = \
1056         $(DISSECTOR_SRC) \
1057         $(ETHEREAL_COMMON_SRC) \
1058         register.c     \
1059         dftest.c
1060
1061 dftest_additional_libs =                \
1062         wiretap/libwiretap.a            \
1063         epan/libethereal.a              \
1064         epan/ftypes/libftypes.a         \
1065         epan/dfilter/libdfilter.a
1066
1067 dftest_DEPENDENCIES = \
1068         $(ethereal_optional_objects)    \
1069         $(dftest_additional_libs)       \
1070         $(plugin_libs)
1071
1072 # This automake variable adds to the link-line for the executable
1073 dftest_LDADD = \
1074         $(ethereal_optional_objects)    \
1075         $(dftest_additional_libs)       \
1076         @SNMP_LIBS@ @SSL_LIBS@          \
1077         $(plugin_ldadd)                 \
1078         @GLIB_LIBS@ -lm \
1079         @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@
1080
1081 dftest_LDFLAGS = -export-dynamic
1082
1083 CLEANFILES =    \
1084         idl2eth
1085
1086 DISTCLEANFILES =        \
1087         aclocal-missing/*.m4 \
1088         ps.c            \
1089         rdps            \
1090         *~
1091
1092 MAINTAINERCLEANFILES =          \
1093         register.c              \
1094         ps.c
1095
1096 EXTRA_DIST = \
1097         Ethereal.desktop        \
1098         FAQ                     \
1099         FAQ.include             \
1100         INSTALL.configure       \
1101         Makefile.nmake          \
1102         README.aix              \
1103         README.bsd              \
1104         README.hpux             \
1105         README.irix             \
1106         README.linux            \
1107         README.tru64            \
1108         README.vmware           \
1109         README.win32            \
1110         TODO                    \
1111         aclocal-fallback/glib-2.0.m4 \
1112         aclocal-fallback/glib.m4 \
1113         aclocal-fallback/gtk-2.0.m4 \
1114         aclocal-fallback/gtk.m4 \
1115         aclocal-flags           \
1116         aclocal-missing/dummy   \
1117         autogen.sh              \
1118         capture-wpcap.c         \
1119         capture-wpcap.h         \
1120         cleanbld.bat            \
1121         config.h.win32          \
1122         config.nmake            \
1123         debian/README.debian    \
1124         debian/changelog        \
1125         debian/control          \
1126         debian/copyright        \
1127         debian/dirs             \
1128         debian/docs             \
1129         debian/menu             \
1130         debian/postinst         \
1131         debian/prerm            \
1132         debian/rules            \
1133         dictionary.dtd          \
1134         dictionary.xml          \
1135         doc/Makefile.am         \
1136         doc/Makefile.nmake      \
1137         doc/README.design       \
1138         doc/README.developer    \
1139         doc/README.idl2eth      \
1140         doc/README.plugins      \
1141         doc/README.regression   \
1142         doc/README.tapping      \
1143         doc/README.tvbuff       \
1144         doc/dfilter2pod.pl      \
1145         doc/editcap.pod         \
1146         doc/ethereal-filter.pod.template \
1147         doc/ethereal.pod        \
1148         doc/idl2eth.pod         \
1149         doc/mergecap.pod        \
1150         doc/randpkt.txt         \
1151         doc/tethereal.pod       \
1152         doc/text2pcap.pod       \
1153         editcap.c               \
1154         ethereal_be.py          \
1155         ethereal_gen.py         \
1156         getopt.c                \
1157         getopt.h                \
1158         idl2eth.sh              \
1159         image/Makefile.nmake    \
1160         image/README.image      \
1161         image/clist_ascend.xpm  \
1162         image/clist_descend.xpm \
1163         image/dn_arrow.xpm      \
1164         image/editcap.rc.in     \
1165         image/eexcl3d64.xpm     \
1166         image/eicon3d16.xpm     \
1167         image/eicon3d32.xpm     \
1168         image/eicon3d48.xpm     \
1169         image/eicon3d64.xpm     \
1170         image/elogo3d48x48.png  \
1171         image/ethereal.ico      \
1172         image/ethereal.rc.in    \
1173         image/ethereal48x48-trans.png  \
1174         image/ethereal48x48.png \
1175         image/hi16-app-ethereal.png     \
1176         image/hi32-app-ethereal.png     \
1177         image/hi48-app-ethereal.png     \
1178         image/icon-ethereal.xpm \
1179         image/icon-excl.xpm     \
1180         image/lo16-app-ethereal.png     \
1181         image/lo32-app-ethereal.png     \
1182         image/lo48-app-ethereal.png     \
1183         image/mergecap.rc.in    \
1184         image/nsis-checked.bmp  \
1185         image/nsis-unchecked.bmp        \
1186         image/tethereal.rc.in   \
1187         image/text2pcap.rc.in   \
1188         image/up_arrow.xpm      \
1189         make-manuf              \
1190         make-reg-dotc           \
1191         make-reg-dotc.py        \
1192         make-tapreg-dotc                \
1193         manuf                   \
1194         manuf.tmpl              \
1195         mergecap.c              \
1196         mobileipv4.xml          \
1197         nasreq.xml              \
1198         ncp2222.py              \
1199         packet-ncp2222.inc      \
1200         print.ps                \
1201         process-x11-fields.pl   \
1202         randpkt.c               \
1203         rdps.c                  \
1204         sunping.xml             \
1205         text2pcap-scanner.l     \
1206         text2pcap.c             \
1207         text2pcap.h             \
1208         wka.tmpl                \
1209         x11-fields
1210
1211 if SETUID_INSTALL
1212 install-exec-hook:
1213         -chmod +s $(DESTDIR)$(bindir)/ethereal
1214         -chmod +s $(DESTDIR)$(bindir)/tethereal
1215 else
1216 install-exec-hook:
1217 endif
1218
1219 #
1220 # Currently register.c can be included in the distribution because
1221 # we always build all protocol dissectors. We used to have to check
1222 # whether or not to build the snmp dissector. If we again need to
1223 # variably build something, making register.c non-portable, uncomment
1224 # the dist-hook line below.
1225 #
1226 # Oh, yuk.  We don't want to include "register.c" in the distribution, as
1227 # its contents depend on the configuration, and therefore we want it
1228 # to be built when the first "make" is done; however, Automake insists
1229 # on putting *all* source into the distribution.
1230 #
1231 # We work around this by having a "dist-hook" rule that deletes
1232 # "register.c", so that "dist" won't pick it up.
1233 #
1234 #dist-hook:
1235 #       @rm -f $(distdir)/register.c
1236
1237 DIST_SUBDIRS = tools wiretap doc epan plugins packaging gtk
1238
1239 if HAVE_PLUGINS
1240 SUBDIRS = tools wiretap doc epan plugins packaging @ethereal_SUBDIRS@
1241 else
1242 SUBDIRS = tools wiretap doc epan packaging @ethereal_SUBDIRS@
1243 endif
1244
1245 ethereal.1: ethereal doc/ethereal.pod
1246         (cd doc ; \
1247         $(MAKE) ../ethereal.1 )
1248
1249 tethereal.1: tethereal doc/tethereal.pod
1250         (cd doc ; \
1251         $(MAKE) ../tethereal.1 )
1252
1253 ethereal-filter.4: tethereal doc/ethereal-filter.pod.template
1254         (cd doc ; \
1255         $(MAKE) ../ethereal-filter.4 )
1256
1257 editcap.1: doc/editcap.pod
1258         (cd doc ; \
1259         $(MAKE) ../editcap.1 )
1260
1261 idl2eth.1: doc/idl2eth.pod
1262         (cd doc ; \
1263         $(MAKE) ../idl2eth.1 )
1264
1265 mergecap.1: doc/mergecap.pod
1266         (cd doc ; \
1267         $(MAKE) ../mergecap.1 )
1268
1269 text2pcap.1: doc/text2pcap.pod
1270         (cd doc ; \
1271         $(MAKE) ../text2pcap.1 )
1272
1273 packet-ncp2222.c : ncp2222.py
1274         $(PYTHON) $(srcdir)/ncp2222.py -o $@
1275
1276 libtool: $(LIBTOOL_DEPS)
1277         $(SHELL) ./config.status --recheck
1278
1279 # We load top_stagedir with an explicit path so that libtool doesn't freak.
1280 top_stagedir=`cd $(top_srcdir) && pwd`/packaging/svr4.stage
1281 stagedir=$(top_stagedir)/$(PACKAGE).stage
1282 host_cpu=@host_cpu@
1283 host_os=@host_os@
1284
1285 svr4-package: $(bin_SCRIPTS) $(lib_LTLIBRARIES)
1286         if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
1287                 rm -rf $(stagedir) ; \
1288                 $(MAKE) DESTDIR=$(stagedir) install; \
1289                 $(srcdir)/packaging/svr4/mkpkg \
1290                         $(PACKAGE) \
1291                         $(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
1292                         $(prefix) \
1293                         $(top_stagedir) ; \
1294         else \
1295                 echo "Error: SVR4 packaging tools not found." ; \
1296                 echo "Package build abandoned." ; \
1297         fi
1298
1299 solaris-package: svr4-package
1300
1301 rpm_topdir=`cd $(top_srcdir) && pwd`/packaging/rpm
1302 rpm-package: dist
1303         if test x$(HAVE_RPM) = xyes ; then \
1304                 cd $(rpm_topdir) ; \
1305                 mkdir -p BUILD RPMS SOURCES ; \
1306                 cd SOURCES ; \
1307                 ln -s ../../../$(distdir).tar.gz ; \
1308                 cd .. ; \
1309                 rpm --define "_topdir `cd . && pwd`" -bb SPECS/ethereal.spec && \
1310                         echo "Package successfully built in `pwd`/RPMS." ; \
1311         else \
1312                 echo "Error: RPM executable and/or source directory not found." ; \
1313         fi
1314 srpm-package: dist
1315         if test x$(HAVE_RPM) = xyes ; then \
1316                 cd $(rpm_topdir) ; \
1317                 mkdir -p BUILD SRPMS SOURCES ; \
1318                 cd SOURCES ; \
1319                 ln -s ../../../$(distdir).tar.gz ; \
1320                 cd .. ; \
1321                 rpm --define "_topdir `cd . && pwd`" -bs SPECS/ethereal.spec && \
1322                         echo "Package successfully built in `pwd`/SRPMS." ; \
1323         else \
1324                 echo "Error: RPM executable and/or source directory not found." ; \
1325         fi
1326
1327 debian-package: debian/rules
1328         dpkg-buildpackage -rfakeroot -us -uc
1329
1330 clean-local:
1331         rm -rf $(top_stagedir)
1332
1333 test-splint: $(ethereal_SOURCES)
1334         splint \
1335                 -gnu-extensions -D_U_=""        \
1336                 -I. `glib-config --cflags` \
1337                 -I./epan \
1338                 -I./tools/lemon \
1339                 -I./wiretap     \
1340                 $(ethereal_SOURCES)