add dissection of pa-prov-srv-location preauthentication type used by packetcable.
[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.44 2004/05/13 20:20:33 gerald 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-h245.h   \
107         packet-hclnfsd.h        \
108         packet-hpext.h  \
109         packet-http.h   \
110         packet-iax2.h   \
111         packet-ieee80211.h      \
112         packet-ieee8023.h       \
113         packet-igap.h   \
114         packet-igmp.h   \
115         packet-ip.h     \
116         packet-ipdc.h   \
117         packet-ipfc.h   \
118         packet-ipsec.h  \
119         packet-ipv6.h   \
120         packet-ipx.h    \
121         packet-isis-clv.h       \
122         packet-isis-hello.h     \
123         packet-isis-lsp.h       \
124         packet-isis-snp.h       \
125         packet-isis.h   \
126         packet-isl.h    \
127         packet-isup.h   \
128         packet-kerberos.h       \
129         packet-klm.h    \
130         packet-ldap.h   \
131         packet-ldp.h    \
132         packet-llc.h    \
133         packet-mip6.h   \
134         packet-mount.h  \
135         packet-mq.h     \
136         packet-mrdisc.h \
137         packet-msnip.h  \
138         packet-mtp3.h   \
139         packet-ncp-int.h        \
140         packet-ncp-nmas.h       \
141         packet-ndps.h   \
142         packet-netbios.h        \
143         packet-nfs.h    \
144         packet-nisplus.h        \
145         packet-nlm.h    \
146         packet-ntp.h    \
147         packet-null.h   \
148         packet-osi-options.h    \
149         packet-osi.h    \
150         packet-pcnfsd.h \
151         packet-per.h    \
152         packet-pflog.h  \
153         packet-pim.h    \
154         packet-portmap.h        \
155         packet-ppp.h    \
156         packet-pres.h   \
157         packet-prism.h  \
158         packet-q931.h   \
159         packet-radiotap.h       \
160         packet-raw.h    \
161         packet-ripng.h  \
162         packet-rmi.h    \
163         packet-rpc.h    \
164         packet-rquota.h \
165         packet-rsvp.h   \
166         packet-rtcp.h   \
167         packet-rtp.h    \
168         packet-rtps.h   \
169         packet-rtp-events.h     \
170         packet-rwall.h  \
171         packet-rx.h     \
172         packet-scsi.h   \
173         packet-sctp.h   \
174         packet-ses.h    \
175         packet-sip.h    \
176         packet-sll.h    \
177         packet-smb-browse.h     \
178         packet-smb-common.h     \
179         packet-smb-mailslot.h   \
180         packet-smb-pipe.h       \
181         packet-smb-sidsnooping.h        \
182         packet-sna.h    \
183         packet-snmp.h   \
184         packet-spray.h  \
185         packet-stat-notify.h    \
186         packet-stat.h   \
187         packet-tacacs.h \
188         packet-tcap.h   \
189         packet-tcp.h    \
190         packet-tns.h    \
191         packet-tpkt.h   \
192         packet-tr.h     \
193         packet-udp.h    \
194         packet-vines.h  \
195         packet-vlan.h   \
196         packet-wap.h    \
197         packet-wccp.h   \
198         packet-wlancap.h        \
199         packet-wsp.h    \
200         packet-wtls.h   \
201         packet-wtp.h    \
202         packet-x11-keysym.h     \
203         packet-x11-keysymdef.h  \
204         packet-ypbind.h \
205         packet-yppasswd.h       \
206         packet-ypserv.h \
207         packet-ypxfr.h
208
209 # corresponding headers
210 DISSECTOR_SUPPORT_INCLUDES =    \
211         adler32.h       \
212         afn.h   \
213         aftypes.h       \
214         arcnet_pids.h   \
215         asn1.h  \
216         bridged_pids.h  \
217         chdlctypes.h    \
218         column.h        \
219         crc32.h \
220         crypt-des.h     \
221         crypt-md4.h     \
222         crypt-md5.h     \
223         crypt-rc4.h     \
224         etypes.h        \
225         follow.h        \
226         format-oid.h    \
227         greproto.h      \
228         h225-persistentdata.h   \
229         in_cksum.h      \
230         ip_opts.h       \
231         ipproto.h       \
232         lapd_sapi.h     \
233         llcsaps.h       \
234         nlpid.h \
235         oui.h   \
236         ppptypes.h      \
237         prefs-int.h     \
238         prefs.h \
239         print.h \
240         ps.h    \
241         ptvcursor.h     \
242         reassemble.h    \
243         req_resp_hdrs.h \
244         rpc_defrag.h    \
245         rtp_pt.h        \
246         sctpppids.h     \
247         smb.h   \
248         t35.h   \
249         tap.h   \
250         util.h  \
251         x264_prt_id.h   \
252         xdlc.h  \
253         xmlstub.h
254
255 # "BUILT_SOURCES" are built before any "make all" or "make check" targets.
256 BUILT_SOURCES =         \
257         cvsversion.h \
258         ps.c
259
260 # sources common for ethereal and tethereal
261 ETHEREAL_COMMON_SRC =   \
262         $(PLATFORM_SRC) \
263         capture_stop_conditions.c       \
264         cfile.c \
265         conditions.c    \
266         disabled_protos.c       \
267         pcap-util.c     \
268         range.c \
269         ringbuffer.c    \
270         timestats.c     \
271         version_info.c
272
273 # corresponding headers
274 ETHEREAL_COMMON_INCLUDES =      \
275         $(DISSECTOR_SUPPORT_INCLUDES)   \
276         $(BUILT_SOURCES)                \
277         capture_stop_conditions.h       \
278         cfile.h \
279         color.h \
280         conditions.h    \
281         disabled_protos.h       \
282         file.h  \
283         pcap-util.h     \
284         pcap-util-int.h \
285         range.h \
286         register.h      \
287         ringbuffer.h    \
288         timestats.h     \
289         version_info.h
290
291 # sources for Tethereal taps
292 TETHEREAL_TAP_SRC =     \
293         tap-ansi_astat.c        \
294         tap-bootpstat.c \
295         tap-dcerpcstat.c        \
296         tap-gsm_astat.c \
297         tap-h225counter.c       \
298         tap-h225rassrt.c        \
299         tap-httpstat.c  \
300         tap-iostat.c    \
301         tap-iousers.c   \
302         tap-mgcpstat.c  \
303         tap-protocolinfo.c      \
304         tap-protohierstat.c     \
305         tap-rpcstat.c   \
306         tap-rpcprogs.c  \
307         tap-sipstat.c \
308         tap-smbsids.c   \
309         tap-smbstat.c   \
310         tap-wspstat.c
311
312 # helpers alraedy available on some platforms (and on others not)
313 EXTRA_ethereal_SOURCES =        \
314         snprintf.c      \
315         strerror.c      \
316         strcasecmp.c    \
317         strncasecmp.c   \
318         mkstemp.c       \
319         strptime.c
320
321 # corresponding headers
322 EXTRA_ethereal_INCLUDES =       \
323         snprintf.h      \
324         snprintf-imp.h  \
325         strerror.h      \
326         mkstemp.h       \
327         strptime.h
328
329 # ethereal specifics
330 ethereal_SOURCES =      \
331         $(ETHEREAL_COMMON_SRC)  \
332         alert_box.c     \
333         capture.c       \
334         file.c  \
335         filters.c       \
336         g711.c \
337         proto_hier_stats.c      \
338         summary.c
339
340 # corresponding headers
341 ethereal_INCLUDES =     \
342         alert_box.h     \
343         capture.h       \
344         filters.h       \
345         g711.h  \
346         globals.h       \
347         menu.h  \
348         progress_dlg.h  \
349         proto_hier_stats.h      \
350         simple_dialog.h \
351         statusbar.h     \
352         summary.h       \
353         tap_dfilter_dlg.h       \
354         ui_util.h
355
356 # tethereal specifics
357 tethereal_SOURCES =     \
358         $(ETHEREAL_COMMON_SRC)  \
359         $(TETHEREAL_TAP_SRC)    \
360         tethereal-tap-register.c        \
361         tethereal.c
362
363 # text2pcap specifics
364 text2pcap_SOURCES = \
365         text2pcap.c \
366         text2pcap-scanner.l
367
368 # mergecap specifics
369 mergecap_SOURCES = \
370         mergecap.c \
371         cvsversion.h
372
373 # editcap specifics
374 editcap_SOURCES = \
375         editcap.c
376
377 # dftest specifics
378 dftest_SOURCES =        \
379         dftest.c
380
381 # randpkt specifics
382 randpkt_SOURCES = \
383         randpkt.c
384
385 # this target needed for distribution only
386 noinst_HEADERS =        \
387         $(DISSECTOR_INCLUDES) \
388         $(DISSECTOR_SUPPORT_INCLUDES) \
389         $(ETHEREAL_COMMON_INCLUDES) \
390         $(ethereal_INCLUDES) \
391         $(EXTRA_ethereal_INCLUDES)
392