Slightly different fix for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9117 :
[metze/wireshark/wip.git] / epan / Makefile.common
1 # Makefile.common
2 #     Contains the stuff from Makefile.am and Makefile.nmake that is
3 #     a) common to both files and
4 #     b) portable between both files
5 #
6 # $Id$
7 #
8 # Wireshark - Network traffic analyzer
9 # By Gerald Combs <gerald@wireshark.org>
10 # Copyright 1998 Gerald Combs
11 #
12 # This program is free software; you can redistribute it and/or
13 # modify it under the terms of the GNU General Public License
14 # as published by the Free Software Foundation; either version 2
15 # of the License, or (at your option) any later version.
16 #
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 # GNU General Public License for more details.
21 #
22 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write to the Free Software
24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
25
26 LIBWIRESHARK_SRC =              \
27         addr_and_mask.c         \
28         addr_resolv.c           \
29         address_to_str.c        \
30         adler32.c               \
31         afn.c                   \
32         app_mem_usage.c         \
33         asn1.c                  \
34         atalk-utils.c           \
35         base64.c                \
36         bitswap.c               \
37         camel-persistentdata.c  \
38         charsets.c              \
39         circuit.c               \
40         codecs.c                \
41         column.c                \
42         column-utils.c          \
43         conversation.c          \
44         crc16-tvb.c             \
45         crc32-tvb.c             \
46         crc8-tvb.c              \
47         disabled_protos.c       \
48         dissector_filters.c     \
49         emem.c                  \
50         epan.c                  \
51         ex-opt.c                \
52         except.c                \
53         expert.c                \
54         exported_pdu.c          \
55         filesystem.c            \
56         filter_expressions.c    \
57         follow.c                \
58         frame_data.c            \
59         frame_data_sequence.c   \
60         frequency-utils.c       \
61         funnel.c                \
62         gcp.c                   \
63         geoip_db.c              \
64         golay.c                 \
65         guid-utils.c            \
66         h225-persistentdata.c   \
67         in_cksum.c              \
68         ipproto.c               \
69         ipv4.c                  \
70         next_tvb.c              \
71         oids.c                  \
72         osi-utils.c             \
73         packet-range.c          \
74         packet.c                \
75         plugins.c               \
76         prefs.c                 \
77         print.c                 \
78         proto.c                 \
79         range.c                 \
80         reassemble.c            \
81         reedsolomon.c           \
82         req_resp_hdrs.c         \
83         show_exception.c        \
84         sigcomp_state_hdlr.c    \
85         sigcomp-udvm.c          \
86         sminmpec.c              \
87         sna-utils.c             \
88         stat_cmd_args.c         \
89         stats_tree.c            \
90         strutil.c               \
91         stream.c                \
92         t35.c                   \
93         tap.c                   \
94         tcap-persistentdata.c   \
95         timestamp.c             \
96         timestats.c             \
97         tfs.c                   \
98         to_str.c                \
99         tvbparse.c              \
100         tvbuff_composite.c      \
101         tvbuff_real.c           \
102         tvbuff_subset.c         \
103         tvbuff.c                \
104         uat.c                   \
105         value_string.c          \
106         xdlc.c
107
108 #
109 # We distribute Lemon and rdps.py with Wireshark, so we don't distribute the
110 # files they produce.
111 #
112 NODIST_LIBWIRESHARK_GENERATED_C_FILES = \
113         dtd_grammar.c           \
114         ps.c
115
116 NODIST_LIBWIRESHARK_GENERATED_HEADER_FILES = \
117         dtd_grammar.h
118
119 #
120 # These don't get removed on "make distclean", as the tools we use to
121 # generate them aren't part of the Wireshark distribution, and aren't
122 # tools assumed to be present for any system capable of compiling
123 # from a tarball (e.g., make and a C compiler are assumed to be present,
124 # but Flex isn't).
125 #
126 LIBWIRESHARK_GENERATED_C_FILES = \
127         diam_dict.c             \
128         dtd_parse.c             \
129         dtd_preparse.c          \
130         radius_dict.c           \
131         uat_load.c
132
133 LIBWIRESHARK_GENERATED_HEADER_FILES = \
134         diam_dict_lex.h         \
135         dtd_parse_lex.h         \
136         dtd_preparse_lex.h      \
137         radius_dict_lex.h       \
138         uat_load_lex.h
139
140 LIBWIRESHARK_GENERATED_SRC =    \
141         $(LIBWIRESHARK_GENERATED_C_FILES) \
142         $(NODIST_LIBWIRESHARK_GENERATED_C_FILES)
143
144 LIBWIRESHARK_ALL_SRC =          \
145         $(LIBWIRESHARK_SRC)     \
146         $(LIBWIRESHARK_GENERATED_SRC)
147
148 LIBWIRESHARK_INCLUDES =         \
149         addr_and_mask.h         \
150         addr_resolv.h           \
151         address.h               \
152         adler32.h               \
153         afn.h                   \
154         aftypes.h               \
155         app_mem_usage.h         \
156         arcnet_pids.h           \
157         arptypes.h              \
158         asn1.h                  \
159         atalk-utils.h           \
160         ax25_pids.h             \
161         base64.h                \
162         bitswap.h               \
163         bridged_pids.h          \
164         camel-persistentdata.h  \
165         charsets.h              \
166         chdlctypes.h            \
167         circuit.h               \
168         codecs.h                \
169         column.h                \
170         column_info.h           \
171         column-utils.h          \
172         conversation.h          \
173         conv_id.h               \
174         crc16-tvb.h             \
175         crc32-tvb.h             \
176         crc8-tvb.h              \
177         diam_dict.h             \
178         disabled_protos.h       \
179         dissector_filters.h     \
180         dtd.h                   \
181         dtd_parse.h             \
182         eap.h                   \
183         emem.h                  \
184         epan-int.h              \
185         epan.h                  \
186         epan_dissect.h          \
187         etypes.h                \
188         ex-opt.h                \
189         except.h                \
190         exceptions.h            \
191         expert.h                \
192         exported_pdu.h          \
193         filter_expressions.h    \
194         filesystem.h            \
195         follow.h                \
196         frame_data.h            \
197         frame_data_sequence.h   \
198         frequency-utils.h       \
199         funnel.h                \
200         garrayfix.h             \
201         gcp.h                   \
202         geoip_db.h              \
203         golay.h                 \
204         greproto.h              \
205         guid-utils.h            \
206         h225-persistentdata.h   \
207         iana_snap_pid.h         \
208         iax2_codec_type.h       \
209         in_cksum.h              \
210         ip_opts.h               \
211         ipproto.h               \
212         ipv4.h                  \
213         ipv6-utils.h            \
214         lapd_sapi.h             \
215         llcsaps.h               \
216         next_tvb.h              \
217         nlpid.h                 \
218         oids.h                  \
219         osi-utils.h             \
220         oui.h                   \
221         packet-range.h          \
222         packet.h                \
223         packet_info.h           \
224         params.h                \
225         plugins.h               \
226         ppptypes.h              \
227         print.h                 \
228         prefs.h                 \
229         prefs-int.h             \
230         proto.h                 \
231         ps.h                    \
232         ptvcursor.h             \
233         range.h                 \
234         reassemble.h            \
235         reedsolomon.h           \
236         req_resp_hdrs.h         \
237         rtp_pt.h                \
238         sctpppids.h             \
239         show_exception.h        \
240         sigcomp_state_hdlr.h    \
241         sigcomp-udvm.h          \
242         sminmpec.h              \
243         sna-utils.h             \
244         stat_cmd_args.h         \
245         stats_tree.h            \
246         stats_tree_priv.h       \
247         stream.h                \
248         strutil.h               \
249         t35.h                   \
250         tap.h                   \
251         tap-voip.h              \
252         tcap-persistentdata.h   \
253         timestamp.h             \
254         timestats.h             \
255         tfs.h                   \
256         time_fmt.h              \
257         to_str.h                \
258         tvbparse.h              \
259         tvbuff.h                \
260         tvbuff-int.h            \
261         uat.h                   \
262         uat-int.h               \
263         value_string.h          \
264         x264_prt_id.h           \
265         xdlc.h