From Xiao Xiangquan:
[obnox/wireshark/wip.git] / tools / Makefile.am
1 # Makefile.am
2 # Automake file for Wireshark
3 #
4 # $Id$
5 #
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
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 SUBDIRS = lemon
25
26 PIDL_FILES= \
27         pidl/MANIFEST                                   \
28         pidl/META.yml                                   \
29         pidl/Makefile.PL                                \
30         pidl/README                                     \
31         pidl/TODO                                       \
32         pidl/expr.yp                                    \
33         pidl/idl.yp                                     \
34         pidl/lib/Parse/Pidl.pm                          \
35         pidl/lib/Parse/Pidl/CUtil.pm                    \
36         pidl/lib/Parse/Pidl/Compat.pm                   \
37         pidl/lib/Parse/Pidl/Dump.pm                     \
38         pidl/lib/Parse/Pidl/Expr.pm                     \
39         pidl/lib/Parse/Pidl/IDL.pm                      \
40         pidl/lib/Parse/Pidl/NDR.pm                      \
41         pidl/lib/Parse/Pidl/ODL.pm                      \
42         pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm         \
43         pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm         \
44         pidl/lib/Parse/Pidl/Samba4.pm                   \
45         pidl/lib/Parse/Pidl/Samba4/COM/Header.pm        \
46         pidl/lib/Parse/Pidl/Samba4/COM/Proxy.pm         \
47         pidl/lib/Parse/Pidl/Samba4/COM/Stub.pm          \
48         pidl/lib/Parse/Pidl/Samba4/Header.pm            \
49         pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm        \
50         pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm        \
51         pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm        \
52         pidl/lib/Parse/Pidl/Samba4/Python.pm            \
53         pidl/lib/Parse/Pidl/Samba4/TDR.pm               \
54         pidl/lib/Parse/Pidl/Samba4/Template.pm          \
55         pidl/lib/Parse/Pidl/Typelist.pm                 \
56         pidl/lib/Parse/Pidl/Util.pm                     \
57         pidl/lib/Parse/Pidl/Wireshark/Conformance.pm    \
58         pidl/lib/Parse/Pidl/Wireshark/NDR.pm            \
59         pidl/lib/Parse/Yapp/Driver.pm                   \
60         pidl/pidl                                       \
61         pidl/tests/Util.pm                              \
62         pidl/tests/cutil.pl                             \
63         pidl/tests/dump.pl                              \
64         pidl/tests/header.pl                            \
65         pidl/tests/ndr.pl                               \
66         pidl/tests/ndr_align.pl                         \
67         pidl/tests/ndr_alloc.pl                         \
68         pidl/tests/ndr_array.pl                         \
69         pidl/tests/ndr_compat.pl                        \
70         pidl/tests/ndr_deprecations.pl                  \
71         pidl/tests/ndr_fullptr.pl                       \
72         pidl/tests/ndr_refptr.pl                        \
73         pidl/tests/ndr_represent.pl                     \
74         pidl/tests/ndr_simple.pl                        \
75         pidl/tests/ndr_string.pl                        \
76         pidl/tests/ndr_tagtype.pl                       \
77         pidl/tests/parse_idl.pl                         \
78         pidl/tests/samba-ndr.pl                         \
79         pidl/tests/samba3-cli.pl                        \
80         pidl/tests/samba3-srv.pl                        \
81         pidl/tests/tdr.pl                               \
82         pidl/tests/test_util.pl                         \
83         pidl/tests/typelist.pl                          \
84         pidl/tests/util.pl                              \
85         pidl/tests/wireshark-conf.pl                    \
86         pidl/tests/wireshark-ndr.pl
87
88 EXTRA_DIST = \
89         $(PIDL_FILES)                                   \
90         asn2wrs.py                                      \
91         checkhf.pl                                      \
92         colorfilters2js.pl                              \
93         compare-abis.sh                                 \
94         checkAPIs.pl                                    \
95         dfilter-test.py                                 \
96         extract_asn1_from_spec.pl                       \
97         fixhf.pl                                        \
98         ftsanity.py                                     \
99         fuzz-test.sh                                    \
100         html2text.py                                    \
101         idl2wrs                                         \
102         indexcap.py                                     \
103         lex.py                                          \
104         list_protos_in_cap.sh                           \
105         Makefile.nmake                                  \
106         make-dissector-reg                              \
107         make-dissector-reg.py                           \
108         make-manuf                                      \
109         make-sminmpec.pl                                \
110         make-services.pl                                \
111         make-tapreg-dotc                                \
112         make-tap-reg.py                                 \
113         msnchat                                         \
114         native-nmake.cmd                                \
115         ncp2222.py                                      \
116         netscreen2dump.py                               \
117         pkt-from-core.py                                \
118         process-x11-fields.pl                           \
119         process-x11-xcb.pl                              \
120         randpkt-test.sh                                 \
121         rdps.py                                         \
122         runlex.sh                                       \
123         setuid-root.pl.in                               \
124         test-fuzzed-cap.sh                              \
125         textify.sh                                      \
126         valgrind-wireshark.sh                           \
127         win32-setup.sh                                  \
128         win64-setup.sh                                  \
129         win-setup.sh                                    \
130         wireshark_be.py                                 \
131         wireshark_gen.py                                \
132         WiresharkXML.py                                 \
133         ws-coding-style.cfg                             \
134         yacc.py
135
136 noinst_SCRIPTS = setuid-root.pl
137 setuid-root.pl: setuid-root.pl.in Makefile
138         sed \
139                 -e 's,@BIN_PREFIX\@,$(bindir),' \
140                 -e 's,@TSHARK_BIN\@,$(tshark_bin)$(EEXT),' \
141                 -e 's,@DUMPCAP_BIN\@,$(dumpcap_bin)$(EEXT),' \
142                 < $(srcdir)/setuid-root.pl.in > setuid-root.pl
143         chmod +x setuid-root.pl
144
145 CLEANFILES = \
146         *.pyc
147
148 DISTCLEANFILES = \
149         setuid-root.pl
150
151 MAINTAINERCLEANFILES = \
152         Makefile.in