Move dissectors to epan/dissectors 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
27
28 # corresponding headers
29 DISSECTOR_SUPPORT_INCLUDES =    \
30         adler32.h       \
31         afn.h   \
32         aftypes.h       \
33         arcnet_pids.h   \
34         asn1.h  \
35         bridged_pids.h  \
36         chdlctypes.h    \
37         column.h        \
38         crc16.h \
39         crc32.h \
40         crypt-des.h     \
41         crypt-md4.h     \
42         crypt-md5.h     \
43         crypt-rc4.h     \
44         etypes.h        \
45         follow.h        \
46         format-oid.h    \
47         greproto.h      \
48         h225-persistentdata.h   \
49         iax2_codec_type.h       \
50         in_cksum.h      \
51         ip_opts.h       \
52         ipproto.h       \
53         isprint.h       \
54         lapd_sapi.h     \
55         llcsaps.h       \
56         nlpid.h \
57         oui.h   \
58         ppptypes.h      \
59         prefs-int.h     \
60         prefs.h \
61         print.h \
62         ps.h    \
63         ptvcursor.h     \
64         reassemble.h    \
65         req_resp_hdrs.h \
66         rpc_defrag.h    \
67         rtp_pt.h        \
68         sctpppids.h     \
69         smb.h   \
70         t35.h   \
71         tap.h   \
72         util.h  \
73         x264_prt_id.h   \
74         xdlc.h  \
75         xmlstub.h
76
77 # "BUILT_SOURCES" are built before any "make all" or "make check" targets.
78 BUILT_SOURCES =         \
79         svnversion.h \
80         ps.c
81
82 # sources common for ethereal and tethereal
83 ETHEREAL_COMMON_SRC =   \
84         $(PLATFORM_SRC) \
85         capture_stop_conditions.c       \
86         cfile.c \
87         conditions.c    \
88         disabled_protos.c       \
89         pcap-util.c     \
90         range.c \
91         ringbuffer.c    \
92         timestats.c     \
93         version_info.c
94
95 # corresponding headers
96 ETHEREAL_COMMON_INCLUDES =      \
97         $(DISSECTOR_SUPPORT_INCLUDES)   \
98         $(BUILT_SOURCES)                \
99         capture_stop_conditions.h       \
100         cfile.h \
101         color.h \
102         conditions.h    \
103         disabled_protos.h       \
104         file.h  \
105         pcap-util.h     \
106         pcap-util-int.h \
107         range.h \
108         register.h      \
109         ringbuffer.h    \
110         timestats.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-sipstat.c \
130         tap-smbsids.c   \
131         tap-smbstat.c   \
132         tap-wspstat.c
133
134 # helpers alraedy available on some platforms (and on others not)
135 EXTRA_ethereal_SOURCES =        \
136         snprintf.c      \
137         strerror.c      \
138         strcasecmp.c    \
139         strncasecmp.c   \
140         mkstemp.c       \
141         strptime.c
142
143 # corresponding headers
144 EXTRA_ethereal_INCLUDES =       \
145         snprintf.h      \
146         snprintf-imp.h  \
147         strerror.h      \
148         mkstemp.h       \
149         strptime.h
150
151 # ethereal specifics
152 ethereal_SOURCES =      \
153         $(ETHEREAL_COMMON_SRC)  \
154         alert_box.c     \
155         capture.c       \
156         file.c  \
157         filters.c       \
158         g711.c \
159         merge.c \
160         proto_hier_stats.c      \
161         summary.c
162
163 # corresponding headers
164 ethereal_INCLUDES =     \
165         alert_box.h     \
166         capture.h       \
167         filters.h       \
168         g711.h  \
169         globals.h       \
170         menu.h  \
171         merge.h \
172         progress_dlg.h  \
173         proto_hier_stats.h      \
174         simple_dialog.h \
175         statusbar.h     \
176         summary.h       \
177         tap_dfilter_dlg.h       \
178         ui_util.h
179
180 # tethereal specifics
181 tethereal_SOURCES =     \
182         $(ETHEREAL_COMMON_SRC)  \
183         $(TETHEREAL_TAP_SRC)    \
184         tethereal-tap-register.c        \
185         tethereal.c
186
187 # text2pcap specifics
188 text2pcap_SOURCES = \
189         text2pcap.c \
190         text2pcap-scanner.l
191
192 # mergecap specifics
193 mergecap_SOURCES = \
194         mergecap.c \
195         merge.c \
196         svnversion.h
197
198 # editcap specifics
199 editcap_SOURCES = \
200         editcap.c
201
202 # dftest specifics
203 dftest_SOURCES =        \
204         dftest.c
205
206 # randpkt specifics
207 randpkt_SOURCES = \
208         randpkt.c
209
210 # this target needed for distribution only
211 noinst_HEADERS =        \
212         $(DISSECTOR_SUPPORT_INCLUDES) \
213         $(ETHEREAL_COMMON_INCLUDES) \
214         $(ethereal_INCLUDES) \
215         $(EXTRA_ethereal_INCLUDES)
216