connectionless cancel PDU's don't have a dg_server_accepting_cancels field
[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: Makefile.common,v 1.46 2004/05/25 10:09:03 sahlberg Exp $
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 # corresponding headers
28 DISSECTOR_INCLUDES =    \
29         packet-acse.h   \
30         packet-afp.h    \
31         packet-afs-defs.h       \
32         packet-afs-macros.h     \
33         packet-afs-register-info.h      \
34         packet-afs.h    \
35         packet-aim.h    \
36         packet-ansi_a.h \
37         packet-ansi_map.h       \
38         packet-ap1394.h \
39         packet-arcnet.h \
40         packet-arp.h    \
41         packet-atalk.h  \
42         packet-atm.h    \
43         packet-ber.h    \
44         packet-bgp.h    \
45         packet-bootparams.h     \
46         packet-bssap.h  \
47         packet-chdlc.h  \
48         packet-clearcase.h      \
49         packet-clip.h   \
50         packet-data.h   \
51         packet-dccp.h   \
52         packet-dcerpc-atsvc.h   \
53         packet-dcerpc-browser.h \
54         packet-dcerpc-dce122.h  \
55         packet-dcerpc-dcom.h    \
56         packet-dcerpc-dfs.h     \
57         packet-dcerpc-dnsserver.h       \
58         packet-dcerpc-drsuapi.h \
59         packet-dcerpc-efs.h     \
60         packet-dcerpc-initshutdown.h    \
61         packet-dcerpc-lsa.h     \
62         packet-dcerpc-mapi.h    \
63         packet-dcerpc-netlogon.h        \
64         packet-dcerpc-nt.h      \
65         packet-dcerpc-reg.h     \
66         packet-dcerpc-samr.h    \
67         packet-dcerpc-spoolss.h \
68         packet-dcerpc-srvsvc.h  \
69         packet-dcerpc-svcctl.h  \
70         packet-dcerpc-tapi.h    \
71         packet-dcerpc-wkssvc.h  \
72         packet-dcerpc.h \
73         packet-ddtp.h   \
74         packet-diameter-defs.h  \
75         packet-diffserv-mpls-common.h   \
76         packet-dns.h    \
77         packet-dvmrp.h  \
78         packet-e164.h   \
79         packet-edonkey.h        \
80         packet-esis.h   \
81         packet-eth.h    \
82         packet-fc.h     \
83         packet-fcbls.h  \
84         packet-fcct.h   \
85         packet-fcdns.h  \
86         packet-fcels.h  \
87         packet-fcfcs.h  \
88         packet-fcfzs.h  \
89         packet-fclctl.h \
90         packet-fcp.h    \
91         packet-fcsb3.h  \
92         packet-fcsp.h   \
93         packet-fcswils.h        \
94         packet-fddi.h   \
95         packet-frame.h  \
96         packet-ftam.h   \
97         packet-giop.h   \
98         packet-gnutella.h       \
99         packet-gsm_a.h  \
100         packet-gsm_map.h        \
101         packet-gsm_sms.h        \
102         packet-gsm_ss.h \
103         packet-gssapi.h \
104         packet-gtp.h    \
105         packet-h225.h   \
106         packet-h235.h   \
107         packet-h245.h   \
108         packet-hclnfsd.h        \
109         packet-hpext.h  \
110         packet-http.h   \
111         packet-iax2.h   \
112         packet-ieee80211.h      \
113         packet-ieee8023.h       \
114         packet-igap.h   \
115         packet-igmp.h   \
116         packet-ip.h     \
117         packet-ipdc.h   \
118         packet-ipfc.h   \
119         packet-ipsec.h  \
120         packet-ipv6.h   \
121         packet-ipx.h    \
122         packet-isis-clv.h       \
123         packet-isis-hello.h     \
124         packet-isis-lsp.h       \
125         packet-isis-snp.h       \
126         packet-isis.h   \
127         packet-isl.h    \
128         packet-isup.h   \
129         packet-kerberos.h       \
130         packet-klm.h    \
131         packet-ldap.h   \
132         packet-ldp.h    \
133         packet-llc.h    \
134         packet-mip6.h   \
135         packet-mount.h  \
136         packet-mq.h     \
137         packet-mrdisc.h \
138         packet-msnip.h  \
139         packet-mtp3.h   \
140         packet-ncp-int.h        \
141         packet-ncp-nmas.h       \
142         packet-ndps.h   \
143         packet-netbios.h        \
144         packet-nfs.h    \
145         packet-nisplus.h        \
146         packet-nlm.h    \
147         packet-ntp.h    \
148         packet-null.h   \
149         packet-osi-options.h    \
150         packet-osi.h    \
151         packet-pcnfsd.h \
152         packet-per.h    \
153         packet-pflog.h  \
154         packet-pim.h    \
155         packet-pktc.h   \
156         packet-portmap.h        \
157         packet-ppp.h    \
158         packet-pres.h   \
159         packet-prism.h  \
160         packet-q931.h   \
161         packet-radiotap.h       \
162         packet-raw.h    \
163         packet-ripng.h  \
164         packet-rmi.h    \
165         packet-rpc.h    \
166         packet-rquota.h \
167         packet-rsvp.h   \
168         packet-rtcp.h   \
169         packet-rtp.h    \
170         packet-rtps.h   \
171         packet-rtp-events.h     \
172         packet-rwall.h  \
173         packet-rx.h     \
174         packet-scsi.h   \
175         packet-sctp.h   \
176         packet-ses.h    \
177         packet-sip.h    \
178         packet-sll.h    \
179         packet-smb-browse.h     \
180         packet-smb-common.h     \
181         packet-smb-mailslot.h   \
182         packet-smb-pipe.h       \
183         packet-smb-sidsnooping.h        \
184         packet-sna.h    \
185         packet-snmp.h   \
186         packet-spray.h  \
187         packet-stat-notify.h    \
188         packet-stat.h   \
189         packet-tacacs.h \
190         packet-tcap.h   \
191         packet-tcp.h    \
192         packet-tns.h    \
193         packet-tpkt.h   \
194         packet-tr.h     \
195         packet-udp.h    \
196         packet-vines.h  \
197         packet-vlan.h   \
198         packet-wap.h    \
199         packet-wccp.h   \
200         packet-wlancap.h        \
201         packet-wsp.h    \
202         packet-wtls.h   \
203         packet-wtp.h    \
204         packet-x11-keysym.h     \
205         packet-x11-keysymdef.h  \
206         packet-ypbind.h \
207         packet-yppasswd.h       \
208         packet-ypserv.h \
209         packet-ypxfr.h
210
211 # corresponding headers
212 DISSECTOR_SUPPORT_INCLUDES =    \
213         adler32.h       \
214         afn.h   \
215         aftypes.h       \
216         arcnet_pids.h   \
217         asn1.h  \
218         bridged_pids.h  \
219         chdlctypes.h    \
220         column.h        \
221         crc32.h \
222         crypt-des.h     \
223         crypt-md4.h     \
224         crypt-md5.h     \
225         crypt-rc4.h     \
226         etypes.h        \
227         follow.h        \
228         format-oid.h    \
229         greproto.h      \
230         h225-persistentdata.h   \
231         in_cksum.h      \
232         ip_opts.h       \
233         ipproto.h       \
234         lapd_sapi.h     \
235         llcsaps.h       \
236         nlpid.h \
237         oui.h   \
238         ppptypes.h      \
239         prefs-int.h     \
240         prefs.h \
241         print.h \
242         ps.h    \
243         ptvcursor.h     \
244         reassemble.h    \
245         req_resp_hdrs.h \
246         rpc_defrag.h    \
247         rtp_pt.h        \
248         sctpppids.h     \
249         smb.h   \
250         t35.h   \
251         tap.h   \
252         util.h  \
253         x264_prt_id.h   \
254         xdlc.h  \
255         xmlstub.h
256
257 # "BUILT_SOURCES" are built before any "make all" or "make check" targets.
258 BUILT_SOURCES =         \
259         cvsversion.h \
260         ps.c
261
262 # sources common for ethereal and tethereal
263 ETHEREAL_COMMON_SRC =   \
264         $(PLATFORM_SRC) \
265         capture_stop_conditions.c       \
266         cfile.c \
267         conditions.c    \
268         disabled_protos.c       \
269         pcap-util.c     \
270         range.c \
271         ringbuffer.c    \
272         timestats.c     \
273         version_info.c
274
275 # corresponding headers
276 ETHEREAL_COMMON_INCLUDES =      \
277         $(DISSECTOR_SUPPORT_INCLUDES)   \
278         $(BUILT_SOURCES)                \
279         capture_stop_conditions.h       \
280         cfile.h \
281         color.h \
282         conditions.h    \
283         disabled_protos.h       \
284         file.h  \
285         pcap-util.h     \
286         pcap-util-int.h \
287         range.h \
288         register.h      \
289         ringbuffer.h    \
290         timestats.h     \
291         version_info.h
292
293 # sources for Tethereal taps
294 TETHEREAL_TAP_SRC =     \
295         tap-ansi_astat.c        \
296         tap-bootpstat.c \
297         tap-dcerpcstat.c        \
298         tap-gsm_astat.c \
299         tap-h225counter.c       \
300         tap-h225rassrt.c        \
301         tap-httpstat.c  \
302         tap-iostat.c    \
303         tap-iousers.c   \
304         tap-mgcpstat.c  \
305         tap-protocolinfo.c      \
306         tap-protohierstat.c     \
307         tap-rpcstat.c   \
308         tap-rpcprogs.c  \
309         tap-sipstat.c \
310         tap-smbsids.c   \
311         tap-smbstat.c   \
312         tap-wspstat.c
313
314 # helpers alraedy available on some platforms (and on others not)
315 EXTRA_ethereal_SOURCES =        \
316         snprintf.c      \
317         strerror.c      \
318         strcasecmp.c    \
319         strncasecmp.c   \
320         mkstemp.c       \
321         strptime.c
322
323 # corresponding headers
324 EXTRA_ethereal_INCLUDES =       \
325         snprintf.h      \
326         snprintf-imp.h  \
327         strerror.h      \
328         mkstemp.h       \
329         strptime.h
330
331 # ethereal specifics
332 ethereal_SOURCES =      \
333         $(ETHEREAL_COMMON_SRC)  \
334         alert_box.c     \
335         capture.c       \
336         file.c  \
337         filters.c       \
338         g711.c \
339         proto_hier_stats.c      \
340         summary.c
341
342 # corresponding headers
343 ethereal_INCLUDES =     \
344         alert_box.h     \
345         capture.h       \
346         filters.h       \
347         g711.h  \
348         globals.h       \
349         menu.h  \
350         progress_dlg.h  \
351         proto_hier_stats.h      \
352         simple_dialog.h \
353         statusbar.h     \
354         summary.h       \
355         tap_dfilter_dlg.h       \
356         ui_util.h
357
358 # tethereal specifics
359 tethereal_SOURCES =     \
360         $(ETHEREAL_COMMON_SRC)  \
361         $(TETHEREAL_TAP_SRC)    \
362         tethereal-tap-register.c        \
363         tethereal.c
364
365 # text2pcap specifics
366 text2pcap_SOURCES = \
367         text2pcap.c \
368         text2pcap-scanner.l
369
370 # mergecap specifics
371 mergecap_SOURCES = \
372         mergecap.c \
373         cvsversion.h
374
375 # editcap specifics
376 editcap_SOURCES = \
377         editcap.c
378
379 # dftest specifics
380 dftest_SOURCES =        \
381         dftest.c
382
383 # randpkt specifics
384 randpkt_SOURCES = \
385         randpkt.c
386
387 # this target needed for distribution only
388 noinst_HEADERS =        \
389         $(DISSECTOR_INCLUDES) \
390         $(DISSECTOR_SUPPORT_INCLUDES) \
391         $(ETHEREAL_COMMON_INCLUDES) \
392         $(ethereal_INCLUDES) \
393         $(EXTRA_ethereal_INCLUDES)
394