Removed ethereal.1 and copied make rule from doc/Makefile to top-level
[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         alignment.h    \
9         capture.c      \
10         capture.h      \
11         column.c       \
12         column.h       \
13         config.h       \
14         ethereal.c     \
15         ethereal.h     \
16         ethertype.c    \
17         etypes.h       \
18         file.c         \
19         file.h         \
20         filter.c       \
21         filter.h       \
22         follow.c       \
23         follow.h       \
24         gtkpacket.c    \
25         gtkpacket.h    \
26         menu.c         \
27         menu.h         \
28         packet-aarp.c  \
29         packet-arp.c   \
30         packet-atalk.c \
31         packet-bootp.c \
32         packet-cdp.c   \
33         packet-data.c  \
34         packet-dns.c   \
35         packet-dns.h   \
36         packet-eth.c   \
37         packet-fddi.c  \
38         packet-ftp.c   \
39         packet-giop.c  \
40         packet-http.c  \
41         packet-icmpv6.c \
42         packet-ip.c    \
43         packet-ip.h    \
44         packet-ipsec.c \
45         packet-ipv6.c  \
46         packet-ipv6.h  \
47         packet-ipx.c   \
48         packet-ipx.h   \
49         packet-llc.c   \
50         packet-lpd.c   \
51         packet-nbipx.c \
52         packet-nbns.c  \
53         packet-ncp.c   \
54         packet-ncp.h   \
55         packet-nntp.c  \
56         packet-null.c  \
57         packet-osi.c   \
58         packet-ospf.c  \
59         packet-ospf.h  \
60         packet-pop.c   \
61         packet-ppp.c   \
62         packet-raw.c   \
63         packet-rip.c   \
64         packet-rip.h   \
65         packet-smb.c   \
66         packet-tcp.c   \
67         packet-telnet.c \
68         packet-tftp.c  \
69         packet-tr.c    \
70         packet-trmac.c \
71         packet-udp.c   \
72         packet-vines.c \
73         packet-vines.h \
74         packet.c       \
75         packet.h       \
76         prefs.c        \
77         prefs.h        \
78         print.c        \
79         print.h        \
80         ps.c           \
81         ps.h           \
82         resolv.c       \
83         resolv.h       \
84         smb.h          \
85         util.c         \
86         util.h
87
88 EXTRA_ethereal_SOURCES = \
89         packet-snmp.c   \
90         snprintf.c      \
91         snprintf.h      \
92         snprintf-imp.h
93
94 ethereal_DEPENDENCIES = @SNMP_O@ @SNPRINTF_O@ @LIBWIRETAP_A@
95 ethereal_LDADD = @SNMP_O@ @SNPRINTF_O@ @LIBWIRETAP_A@ @SNMP_A@
96
97 ps.c: print.ps rdps
98         ./rdps print.ps ps.c
99
100 rdps: rdps.c
101         $(CC) -o rdps rdps.c
102
103 DISTCLEANFILES =        \
104         rdps            \
105         ps.c            \
106         *~
107
108 EXTRA_DIST =                \
109         doc/Makefile            \
110         doc/ethereal.pod        \
111         ethereal.1              \
112         ethereal.spec           \
113         image/icon-excl.xpm     \
114         image/icon-ethereal.xpm \
115         manuf                   \
116         print.ps                \
117         README.tru64            \
118         rdps.c                  \
119         ylwrap
120
121 SUBDIRS = @SUBDIRS@
122
123 ethereal.1: doc/ethereal.pod VERSION
124         (cd doc ; \
125         pod2man ethereal.pod                \
126         --center="The Ethereal Network Analyzer" \
127         --release=`cat ../VERSION`                  \
128         > ../ethereal.1 )