Rename capture_combo_utils.{c,h} to capture_ui_utils.{c,h}, as the code
[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         asn1.h  \
32         bridged_pids.h  \
33         chdlctypes.h    \
34         etypes.h        \
35         follow.h        \
36         format-oid.h    \
37         greproto.h      \
38         h225-persistentdata.h   \
39         iax2_codec_type.h       \
40         ip_opts.h       \
41         isprint.h       \
42         lapd_sapi.h     \
43         llcsaps.h       \
44         nlpid.h \
45         oui.h   \
46         ppptypes.h      \
47         ptvcursor.h     \
48         reassemble.h    \
49         rpc_defrag.h    \
50         rtp_pt.h        \
51         sctpppids.h     \
52         smb.h   \
53         x264_prt_id.h   \
54         xmlstub.h
55
56 # "BUILT_SOURCES" are built before any "make all" or "make check" targets.
57 BUILT_SOURCES =         \
58         svnversion.h \
59         ps.c
60
61 # sources common for ethereal and tethereal
62 ETHEREAL_COMMON_SRC =   \
63         $(PLATFORM_SRC) \
64         capture_stop_conditions.c       \
65         cfile.c \
66         clopts_common.c \
67         conditions.c    \
68         disabled_protos.c       \
69         packet-range.c  \
70         pcap-util.c     \
71         print.c \
72         ps.c    \
73         ringbuffer.c    \
74         timestats.c     \
75         util.c  \
76         version_info.c
77
78 # corresponding headers
79 ETHEREAL_COMMON_INCLUDES =      \
80         $(DISSECTOR_SUPPORT_INCLUDES)   \
81         svnversion.h            \
82         capture_stop_conditions.h       \
83         cfile.h \
84         clopts_common.h \
85         color.h \
86         conditions.h    \
87         disabled_protos.h       \
88         file.h  \
89         packet-range.h  \
90         pcap-util.h     \
91         pcap-util-int.h \
92         print.h \
93         ps.h    \
94         register.h      \
95         ringbuffer.h    \
96         timestats.h     \
97         util.h  \
98         version_info.h
99
100 # sources for Tethereal taps
101 TETHEREAL_TAP_SRC =     \
102         tap-ansi_astat.c        \
103         tap-bootpstat.c \
104         tap-dcerpcstat.c        \
105         tap-gsm_astat.c \
106         tap-h225counter.c       \
107         tap-h225rassrt.c        \
108         tap-httpstat.c  \
109         tap-iostat.c    \
110         tap-iousers.c   \
111         tap-mgcpstat.c  \
112         tap-protocolinfo.c      \
113         tap-protohierstat.c     \
114         tap-rpcstat.c   \
115         tap-rpcprogs.c  \
116         tap-sipstat.c \
117         tap-smbsids.c   \
118         tap-smbstat.c   \
119         tap-wspstat.c
120
121 # helpers alraedy available on some platforms (and on others not)
122 EXTRA_ethereal_SOURCES =        \
123         snprintf.c      \
124         strerror.c      \
125         strcasecmp.c    \
126         strncasecmp.c   \
127         mkstemp.c       \
128         strptime.c
129
130 # corresponding headers
131 EXTRA_ethereal_INCLUDES =       \
132         snprintf.h      \
133         snprintf-imp.h  \
134         strerror.h      \
135         mkstemp.h       \
136         strptime.h
137
138 # ethereal specifics
139 ethereal_SOURCES =      \
140         $(ETHEREAL_COMMON_SRC)  \
141         alert_box.c     \
142         capture.c       \
143         capture_sync.c  \
144         capture_loop.c  \
145         capture_ui_utils.c      \
146         color_filters.c \
147         file.c  \
148         filters.c       \
149         g711.c \
150         merge.c \
151         proto_hier_stats.c      \
152         summary.c
153
154 # corresponding headers
155 ethereal_INCLUDES =     \
156         alert_box.h     \
157         capture.h       \
158         capture_sync.h  \
159         capture_ui_utils.h      \
160         color_filters.h \
161         filters.h       \
162         g711.h  \
163         globals.h       \
164         menu.h  \
165         merge.h \
166         progress_dlg.h  \
167         proto_hier_stats.h      \
168         simple_dialog.h \
169         statusbar.h     \
170         summary.h       \
171         tap_dfilter_dlg.h       \
172         ui_util.h
173
174 # tethereal specifics
175 tethereal_SOURCES =     \
176         $(ETHEREAL_COMMON_SRC)  \
177         $(TETHEREAL_TAP_SRC)    \
178         tethereal-tap-register.c        \
179         tethereal.c
180
181 # text2pcap specifics
182 text2pcap_SOURCES = \
183         text2pcap.c \
184         text2pcap-scanner.l
185
186 # mergecap specifics
187 mergecap_SOURCES = \
188         mergecap.c \
189         merge.c \
190         svnversion.h
191
192 # editcap specifics
193 editcap_SOURCES = \
194         editcap.c
195
196 # dftest specifics
197 dftest_SOURCES =        \
198         dftest.c        \
199         util.c
200
201 # randpkt specifics
202 randpkt_SOURCES = \
203         randpkt.c
204
205 # this target needed for distribution only
206 noinst_HEADERS =        \
207         $(DISSECTOR_SUPPORT_INCLUDES) \
208         $(ETHEREAL_COMMON_INCLUDES) \
209         $(ethereal_INCLUDES) \
210         $(EXTRA_ethereal_INCLUDES)
211