Add value for FCS (no decoding).
[obnox/wireshark/wip.git] / 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 # Ethereal - Network traffic analyzer
9 # By Gerald Combs <gerald@ethereal.com>
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., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
25
26 # Header files for dissector helpers
27 # XXX - these should be moved to epan/dissectors
28 DISSECTOR_SUPPORT_INCLUDES =    \
29         aftypes.h       \
30         arcnet_pids.h   \
31         bridged_pids.h  \
32         chdlctypes.h    \
33         etypes.h        \
34         format-oid.h    \
35         greproto.h      \
36         iax2_codec_type.h       \
37         ip_opts.h       \
38         isprint.h       \
39         lapd_sapi.h     \
40         llcsaps.h       \
41         nlpid.h \
42         oui.h   \
43         ppptypes.h      \
44         rpc_defrag.h    \
45         rtp_pt.h        \
46         sctpppids.h     \
47         smb.h   \
48         x264_prt_id.h
49
50 # "BUILT_SOURCES" are built before any "make all" or "make check" targets.
51 BUILT_HEADER_FILES =    \
52         svnversion.h
53
54 BUILT_C_FILES =         \
55         ps.c
56
57 BUILT_SOURCES = $(BUILT_C_FILES) $(BUILT_HEADER_FILES)
58
59 # Header files generated from source files.
60 GENERATED_HEADER_FILES = \
61         $(BUILT_HEADER_FILES)
62
63 # C source files generated from source files.
64 GENERATED_C_FILES = \
65         $(BUILT_C_FILES)        \
66         tethereal-tap-register.c
67
68 # All the generated files.
69 GENERATED_FILES = $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES)
70
71 # sources common for ethereal and tethereal
72 ETHEREAL_COMMON_SRC =   \
73         $(PLATFORM_SRC) \
74         capture_stop_conditions.c       \
75         capture_ui_utils.c      \
76         cfile.c \
77         clopts_common.c \
78         conditions.c    \
79         disabled_protos.c       \
80         packet-range.c  \
81         pcap-util.c     \
82         print.c \
83         ps.c    \
84         ringbuffer.c    \
85         timestats.c     \
86         util.c  \
87         version_info.c
88
89 # corresponding headers
90 ETHEREAL_COMMON_INCLUDES =      \
91         $(DISSECTOR_SUPPORT_INCLUDES)   \
92         svnversion.h            \
93         capture_stop_conditions.h       \
94         capture_ui_utils.h      \
95         cfile.h \
96         clopts_common.h \
97         color.h \
98         conditions.h    \
99         disabled_protos.h       \
100         file.h  \
101         fileset.h       \
102         packet-range.h  \
103         pcap-util.h     \
104         pcap-util-int.h \
105         print.h \
106         ps.h    \
107         register.h      \
108         ringbuffer.h    \
109         timestats.h     \
110         util.h  \
111         version_info.h
112
113 # sources for Tethereal taps
114 TETHEREAL_TAP_SRC =     \
115         tap-ansi_astat.c        \
116         tap-bootpstat.c \
117         tap-dcerpcstat.c        \
118         tap-gsm_astat.c \
119         tap-h225counter.c       \
120         tap-h225rassrt.c        \
121         tap-httpstat.c  \
122         tap-iostat.c    \
123         tap-iousers.c   \
124         tap-mgcpstat.c  \
125         tap-protocolinfo.c      \
126         tap-protohierstat.c     \
127         tap-rpcstat.c   \
128         tap-rpcprogs.c  \
129         tap-sctpchunkstat.c     \
130         tap-sipstat.c \
131         tap-smbsids.c   \
132         tap-smbstat.c   \
133         tap-stats_tree.c        \
134         tap-wspstat.c
135
136 # helpers alraedy available on some platforms (and on others not)
137 EXTRA_ethereal_SOURCES =        \
138         snprintf.c      \
139         strerror.c      \
140         strcasecmp.c    \
141         strncasecmp.c   \
142         mkstemp.c       \
143         strptime.c
144
145 # corresponding headers
146 EXTRA_ethereal_INCLUDES =       \
147         snprintf.h      \
148         snprintf-imp.h  \
149         strerror.h      \
150         mkstemp.h       \
151         strptime.h
152
153 # ethereal specifics
154 ethereal_SOURCES =      \
155         $(ETHEREAL_COMMON_SRC)  \
156         alert_box.c     \
157         capture.c       \
158         capture_opts.c \
159         capture_sync.c  \
160         capture_loop.c  \
161         color_filters.c \
162         file.c  \
163         fileset.c       \
164         filters.c       \
165         g711.c \
166         merge.c \
167         proto_hier_stats.c      \
168         summary.c
169
170 # corresponding headers
171 ethereal_INCLUDES =     \
172         alert_box.h     \
173         capture.h       \
174         capture_sync.h  \
175         color_filters.h \
176         filters.h       \
177         g711.h  \
178         globals.h       \
179         log.h   \
180         main_window.h   \
181         menu.h  \
182         merge.h \
183         progress_dlg.h  \
184         proto_hier_stats.h      \
185         simple_dialog.h \
186         statusbar.h     \
187         summary.h       \
188         tap_dfilter_dlg.h       \
189         ui_util.h
190
191 # tethereal specifics
192 tethereal_SOURCES =     \
193         $(ETHEREAL_COMMON_SRC)  \
194         $(TETHEREAL_TAP_SRC)    \
195         capture_opts.c          \
196         tethereal-tap-register.c        \
197         tethereal.c
198
199 # text2pcap specifics
200 text2pcap_SOURCES = \
201         text2pcap.c \
202         text2pcap-scanner.l
203
204 # mergecap specifics
205 mergecap_SOURCES = \
206         mergecap.c \
207         merge.c \
208         svnversion.h
209
210 # editcap specifics
211 editcap_SOURCES = \
212         editcap.c
213
214 # dftest specifics
215 dftest_SOURCES =        \
216         dftest.c        \
217         util.c
218
219 # randpkt specifics
220 randpkt_SOURCES = \
221         randpkt.c
222
223 # this target needed for distribution only
224 noinst_HEADERS =        \
225         $(DISSECTOR_SUPPORT_INCLUDES) \
226         $(ETHEREAL_COMMON_INCLUDES) \
227         $(ethereal_INCLUDES) \
228         $(EXTRA_ethereal_INCLUDES)
229