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