67624bcc99da745c1a4d75e1eb8a7ae08e5017ba
[metze/wireshark/wip.git] / epan / dissectors / CMakeLists.txt
1 # CMakeLists.txt
2 #
3 # Wireshark - Network traffic analyzer
4 # By Gerald Combs <gerald@wireshark.org>
5 # Copyright 1998 Gerald Combs
6 #
7 # This program is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU General Public License
9 # as published by the Free Software Foundation; either version 2
10 # of the License, or (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21
22 ADD_CUSTOM_CMAKE_INCLUDE()
23
24 add_subdirectory(asn1 EXCLUDE_FROM_ALL)
25 add_subdirectory(dcerpc EXCLUDE_FROM_ALL)
26 add_subdirectory(pidl EXCLUDE_FROM_ALL)
27
28 include_directories(
29         ${CMAKE_CURRENT_BINARY_DIR}
30         ${CMAKE_CURRENT_SOURCE_DIR}
31 )
32
33 add_custom_command(
34         OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/packet-ncp2222.c
35         COMMAND ${PYTHON_EXECUTABLE}
36                 ${CMAKE_SOURCE_DIR}/tools/ncp2222.py
37                 -o ${CMAKE_CURRENT_BINARY_DIR}/packet-ncp2222.c
38         DEPENDS
39                 packet-ncp2222.inc
40                 ${CMAKE_SOURCE_DIR}/tools/ncp2222.py
41 )
42
43 add_custom_target(x11-dissector
44         COMMAND ${PERL_EXECUTABLE}
45                 ${CMAKE_SOURCE_DIR}/tools/process-x11-fields.pl ${CMAKE_CURRENT_SOURCE_DIR}
46                 < ${CMAKE_CURRENT_SOURCE_DIR}/x11-fields
47         COMMAND ${PERL_EXECUTABLE}
48                 ${CMAKE_SOURCE_DIR}/tools/process-x11-xcb.pl ${CMAKE_CURRENT_SOURCE_DIR}
49         DEPENDS
50                 x11-fields
51                 ${CMAKE_SOURCE_DIR}/tools/process-x11-fields.pl
52                 ${CMAKE_SOURCE_DIR}/tools/process-x11-xcb.pl
53                 ${CMAKE_CURRENT_SOURCE_DIR}/xcbproto
54                 ${CMAKE_CURRENT_SOURCE_DIR}/mesa
55 )
56
57 set_target_properties(x11-dissector PROPERTIES FOLDER "Generated Dissectors/X11")
58
59 set(CLEAN_ASN1_DISSECTOR_SRC
60         packet-ansi_map.c
61         packet-acp133.c
62         packet-acse.c
63         packet-ansi_tcap.c
64         packet-atn-ulcs.c
65         packet-atn-cm.c
66         packet-atn-cpdlc.c
67         packet-c1222.c
68         packet-camel.c
69         packet-cdt.c
70         packet-charging_ase.c
71         packet-cmip.c
72         packet-cmp.c
73         packet-cms.c
74         packet-credssp.c
75         packet-crmf.c
76         packet-dap.c
77         packet-disp.c
78         packet-dop.c
79         packet-dsp.c
80         packet-ecp.c
81         packet-ess.c
82         packet-ftam.c
83         packet-goose.c
84         packet-gsm_map.c
85         packet-HI2Operations.c
86         packet-h225.c
87         packet-h235.c
88         packet-h245.c
89         packet-h248.c
90         packet-h282.c
91         packet-h283.c
92         packet-h323.c
93         packet-h450.c
94         packet-h450-ros.c
95         packet-h460.c
96         packet-h501.c
97         packet-hnbap.c
98         packet-idmp.c
99         packet-ilp.c
100         packet-inap.c
101         packet-isdn-sup.c
102         packet-kerberos.c
103         packet-lcsap.c
104         packet-ldap.c
105         packet-logotypecertextn.c
106         packet-lpp.c
107         packet-lppa.c
108         packet-lppe.c
109         packet-lte-rrc.c
110         packet-m2ap.c
111         packet-m3ap.c
112         packet-mms.c
113         packet-mpeg-audio.c
114         packet-mpeg-pes.c
115         packet-mudurl.c
116         packet-nbap.c
117         packet-novell_pkis.c
118         packet-ns_cert_exts.c
119         packet-ocsp.c
120         packet-p1.c
121         packet-p22.c
122         packet-p7.c
123         packet-p772.c
124         packet-pcap.c
125         packet-pkcs1.c
126         packet-pkcs12.c
127         packet-pkinit.c
128         packet-pkix1explicit.c
129         packet-pkix1implicit.c
130         packet-pkixac.c
131         packet-pkixproxy.c
132         packet-pkixqualified.c
133         packet-pkixtsp.c
134         packet-pres.c
135         packet-q932.c
136         packet-q932-ros.c
137         packet-qsig.c
138         packet-ranap.c
139         packet-rnsap.c
140         packet-ros.c
141         packet-rrc.c
142         packet-rrlp.c
143         packet-rtse.c
144         packet-rua.c
145         packet-s1ap.c
146         packet-sabp.c
147         packet-sbc-ap.c
148         packet-smrse.c
149         packet-snmp.c
150         packet-spnego.c
151         packet-sv.c
152         packet-t124.c
153         packet-t125.c
154         packet-t38.c
155         packet-tcap.c
156         packet-tetra.c
157         packet-ulp.c
158         packet-wlancertextn.c
159         packet-x2ap.c
160         packet-x509af.c
161         packet-x509ce.c
162         packet-x509if.c
163         packet-x509sat.c
164 )
165
166 set(DIRTY_ASN1_DISSECTOR_SRC
167 )
168
169 set(ASN1_DISSECTOR_SRC
170         ${CLEAN_ASN1_DISSECTOR_SRC}
171         ${DIRTY_ASN1_DISSECTOR_SRC}
172 )
173
174 set(DIRTY_CORBA_IDL_DISSECTOR_SRC
175         packet-cosnaming.c
176         packet-gias.c
177         packet-parlay.c
178         packet-tango.c
179 )
180
181 set(CLEAN_CORBA_IDL_DISSECTOR_SRC
182         packet-coseventcomm.c
183 )
184
185 set(CORBA_IDL_DISSECTOR_SRC
186         ${CLEAN_CORBA_IDL_DISSECTOR_SRC}
187         ${DIRTY_CORBA_IDL_DISSECTOR_SRC}
188 )
189
190 source_group(dissectors-corba FILES ${CORBA_IDL_DISSECTOR_SRC})
191
192 add_library(dissectors-corba OBJECT
193         ${CORBA_IDL_DISSECTOR_SRC}
194 )
195
196 set_target_properties(dissectors-corba PROPERTIES
197         FOLDER "Libs/epan/dissectors"
198         COMPILE_DEFINITIONS "WS_BUILD_DLL"
199         COMPILE_OPTIONS "${WS_WARNINGS_C_FLAGS}"
200 )
201
202 if(WIN32 AND "${CMAKE_GENERATOR}" STREQUAL "Visual Studio 12 2013 Win64")
203         # CORBA IDL dissectors are triggering a MSVC 2013 x64 /O2 bug leading to a NULL pointer dereference (see bug 12495)
204         target_compile_options(dissectors-corba PRIVATE $<$<CONFIG:Release>:/Ox> $<$<CONFIG:RelWithDebInfo>:/Ox>)
205 endif()
206
207 set(NCP2222_DISSECTOR_SRC
208         packet-ncp2222.c
209 )
210
211 source_group(dissectors-ncp2222 FILES ${NCP2222_DISSECTOR_SRC})
212
213 set(DISSECTOR_SRC
214         file-btsnoop.c
215         file-elf.c
216         file-file.c
217         file-gif.c
218         file-jpeg.c
219         file-mp4.c
220         file-pcap.c
221         file-pcapng.c
222         file-png.c
223         packet-2dparityfec.c
224         packet-3com-njack.c
225         packet-3com-xns.c
226         packet-3g-a11.c
227         packet-6lowpan.c
228         packet-9p.c
229         packet-a21.c
230         packet-aarp.c
231         packet-aastra-aasp.c
232         packet-acap.c
233         packet-acn.c
234         packet-acr122.c
235         packet-actrace.c
236         packet-adb.c
237         packet-adb_cs.c
238         packet-adb_service.c
239         packet-adwin-config.c
240         packet-adwin.c
241         packet-aeron.c
242         packet-afp.c
243         packet-afs.c
244         packet-agentx.c
245         packet-aim.c
246         packet-ajp13.c
247         packet-alcap.c
248         packet-alljoyn.c
249         packet-amqp.c
250         packet-amr.c
251         packet-ancp.c
252         packet-ans.c
253         packet-ansi_637.c
254         packet-ansi_683.c
255         packet-ansi_801.c
256         packet-ansi_a.c
257         packet-aodv.c
258         packet-aoe.c
259         packet-aol.c
260         packet-ap1394.c
261         packet-app-pkix-cert.c
262         packet-applemidi.c
263         packet-aprs.c
264         packet-arcnet.c
265         packet-armagetronad.c
266         packet-arp.c
267         packet-artnet.c
268         packet-aruba-adp.c
269         packet-aruba-erm.c
270         packet-aruba-iap.c
271         packet-aruba-papi.c
272         packet-ar_drone.c
273         packet-asap.c
274         packet-ascend.c
275         packet-asf.c
276         packet-assa_r3.c
277         packet-asterix.c
278         packet-at.c
279         packet-atalk.c
280         packet-ath.c
281         packet-atm.c
282         packet-atmtcp.c
283         packet-auto_rp.c
284         packet-ax25.c
285         packet-ax25-kiss.c
286         packet-ax25-nol3.c
287         packet-ax4000.c
288         packet-ayiya.c
289         packet-babel.c
290         packet-bacapp.c
291         packet-bacnet.c
292         packet-banana.c
293         packet-bat.c
294         packet-batadv.c
295         packet-bctp.c
296         packet-beep.c
297         packet-bencode.c
298         packet-ber.c
299         packet-bfcp.c
300         packet-bfd.c
301         packet-bgp.c
302         packet-bitcoin.c
303         packet-bittorrent.c
304         packet-bjnp.c
305         packet-bluecom.c
306         packet-bluetooth.c
307         packet-bmc.c
308         packet-bmp.c
309         packet-bofl.c
310         packet-bootp.c
311         packet-bootparams.c
312         packet-bpdu.c
313         packet-bpq.c
314         packet-brdwlk.c
315         packet-brp.c
316         packet-bssap.c
317         packet-bssgp.c
318         packet-bt-dht.c
319         packet-bt-utp.c
320         packet-bt3ds.c
321         packet-btamp.c
322         packet-btatt.c
323         packet-btbnep.c
324         packet-btbredr_rf.c
325         packet-btavctp.c
326         packet-btavdtp.c
327         packet-btavrcp.c
328         packet-bthci_acl.c
329         packet-bthci_cmd.c
330         packet-bthci_evt.c
331         packet-bthci_sco.c
332         packet-bthci_vendor.c
333         packet-bthcrp.c
334         packet-bthfp.c
335         packet-bthid.c
336         packet-bthsp.c
337         packet-btl2cap.c
338         packet-btle.c
339         packet-btle_rf.c
340         packet-btmcap.c
341         packet-btrfcomm.c
342         packet-btsap.c
343         packet-btsdp.c
344         packet-btsmp.c
345         packet-bvlc.c
346         packet-bzr.c
347         packet-c15ch.c
348         packet-calcappprotocol.c
349         packet-canopen.c
350         packet-capwap.c
351         packet-carp.c
352         packet-cast.c
353         packet-catapult-dct2000.c
354         packet-cattp.c
355         packet-cbor.c
356         packet-ccsds.c
357         packet-cdp.c
358         packet-cell_broadcast.c
359         packet-ceph.c
360         packet-cfdp.c
361         packet-cfm.c
362         packet-cgmp.c
363         packet-chargen.c
364         packet-chdlc.c
365         packet-cigi.c
366         packet-cimd.c
367         packet-cimetrics.c
368         packet-cip.c
369         packet-cipmotion.c
370         packet-cipsafety.c
371         packet-cisco-erspan.c
372         packet-cisco-fp-mim.c
373         packet-cisco-marker.c
374         packet-cisco-metadata.c
375         packet-cisco-oui.c
376         packet-cisco-sm.c
377         packet-cisco-ttag.c
378         packet-cisco-wids.c
379         packet-classicstun.c
380         packet-clearcase.c
381         packet-clip.c
382         packet-clique-rm.c
383         packet-clnp.c
384         packet-cmpp.c
385         packet-cnip.c
386         packet-coap.c
387         packet-collectd.c
388         packet-componentstatus.c
389         packet-cops.c
390         packet-corosync-totemnet.c
391         packet-corosync-totemsrp.c
392         packet-cosine.c
393         packet-couchbase.c
394         packet-cp2179.c
395         packet-cpfi.c
396         packet-cpha.c
397         packet-cql.c
398         packet-csm-encaps.c
399         packet-csn1.c
400         packet-ctdb.c
401         packet-cups.c
402         packet-daap.c
403         packet-data.c
404         packet-daytime.c
405         packet-db-lsp.c
406         packet-dbus.c
407         packet-dcc.c
408         packet-dccp.c
409         packet-dcerpc-bossvr.c
410         packet-dcerpc-browser.c
411         packet-dcerpc-cds_clerkserver.c
412         packet-dcerpc-cds_solicit.c
413         packet-dcerpc-conv.c
414         packet-dcerpc-cprpc_server.c
415         packet-dcerpc-dce122.c
416         packet-dcerpc-dtsprovider.c
417         packet-dcerpc-dtsstime_req.c
418         packet-dcerpc-epm.c
419         packet-dcerpc-fileexp.c
420         packet-dcerpc-fldb.c
421         packet-dcerpc-frsapi.c
422         packet-dcerpc-frsrpc.c
423         packet-dcerpc-ftserver.c
424         packet-dcerpc-icl_rpc.c
425         packet-dcerpc-krb5rpc.c
426         packet-dcerpc-llb.c
427         packet-dcerpc-messenger.c
428         packet-dcerpc-mgmt.c
429         packet-dcerpc-ndr.c
430         packet-dcerpc-netlogon.c
431         packet-dcerpc-pnp.c
432         packet-dcerpc-rdaclif.c
433         packet-dcerpc-rep_proc.c
434         packet-dcerpc-roverride.c
435         packet-dcerpc-rpriv.c
436         packet-dcerpc-rras.c
437         packet-dcerpc-rs_acct.c
438         packet-dcerpc-rs_attr.c
439         packet-dcerpc-rs_attr_schema.c
440         packet-dcerpc-rs_bind.c
441         packet-dcerpc-rs_misc.c
442         packet-dcerpc-rs_pgo.c
443         packet-dcerpc-rs_plcy.c
444         packet-dcerpc-rs_prop_acct.c
445         packet-dcerpc-rs_prop_acl.c
446         packet-dcerpc-rs_prop_attr.c
447         packet-dcerpc-rs_prop_pgo.c
448         packet-dcerpc-rs_prop_plcy.c
449         packet-dcerpc-rs_pwd_mgmt.c
450         packet-dcerpc-rs_repadm.c
451         packet-dcerpc-rs_replist.c
452         packet-dcerpc-rs_repmgr.c
453         packet-dcerpc-rs_unix.c
454         packet-dcerpc-rsec_login.c
455         packet-dcerpc-samr.c
456         packet-dcerpc-secidmap.c
457         packet-dcerpc-spoolss.c
458         packet-dcerpc-svcctl.c
459         packet-dcerpc-tapi.c
460         packet-dcerpc-tkn4int.c
461         packet-dcerpc-trksvr.c
462         packet-dcerpc-ubikdisk.c
463         packet-dcerpc-ubikvote.c
464         packet-dcerpc-update.c
465         packet-dcerpc.c
466         packet-dcm.c
467         packet-dcom-dispatch.c
468         packet-dcom-oxid.c
469         packet-dcom-remact.c
470         packet-dcom-remunkn.c
471         packet-dcom-sysact.c
472         packet-dcom.c
473         packet-dcp-etsi.c
474         packet-ddtp.c
475         packet-dec-bpdu.c
476         packet-dec-dnart.c
477         packet-dect.c
478         packet-devicenet.c
479         packet-dhcp-failover.c
480         packet-dhcpv6.c
481         packet-diameter.c
482         packet-diameter_3gpp.c
483         packet-diffserv-mpls-common.c
484         packet-dis.c
485         packet-distcc.c
486         packet-dji-uav.c
487         packet-dlm3.c
488         packet-dlsw.c
489         packet-dmp.c
490         packet-dmx.c
491         packet-dnp.c
492         packet-dns.c
493         packet-dof.c
494         packet-dplay.c
495         packet-dpnet.c
496         packet-dpnss-link.c
497         packet-dpnss.c
498         packet-drda.c
499         packet-dsi.c
500         packet-dsr.c
501         packet-dtcp-ip.c
502         packet-dtls.c
503         packet-dtn.c
504         packet-dtp.c
505         packet-dtpt.c
506         packet-dua.c
507         packet-dvb-ait.c
508         packet-dvb-bat.c
509         packet-dvb-data-mpe.c
510         packet-dvb-eit.c
511         packet-dvb-ipdc.c
512         packet-dvb-nit.c
513         packet-dvb-s2-bb.c
514         packet-dvb-sdt.c
515         packet-dvb-tdt.c
516         packet-dvb-tot.c
517         packet-dvbci.c
518         packet-dvmrp.c
519         packet-e100.c
520         packet-e164.c
521         packet-e212.c
522         packet-eap.c
523         packet-eapol.c
524         packet-echo.c
525         packet-ecmp.c
526         packet-ecp-oui.c
527         packet-edonkey.c
528         packet-egd.c
529         packet-ehdlc.c
530         packet-ehs.c
531         packet-eigrp.c
532         packet-eiss.c
533         packet-elasticsearch.c
534         packet-elcom.c
535         packet-elmi.c
536         packet-enc.c
537         packet-enip.c
538         packet-enrp.c
539         packet-enttec.c
540         packet-epl.c
541         packet-epl_v1.c
542         packet-epmd.c
543         packet-epon.c
544         packet-erf.c
545         packet-erldp.c
546         packet-esio.c
547         packet-esis.c
548         packet-etag.c
549         packet-etch.c
550         packet-eth.c
551         packet-etherip.c
552         packet-ethertype.c
553         packet-etsi_card_app_toolkit.c
554         packet-etv.c
555         packet-evrc.c
556         packet-exec.c
557         packet-exported_pdu.c
558         packet-extreme.c
559         packet-fc00.c
560         packet-fc.c
561         packet-fcct.c
562         packet-fcdns.c
563         packet-fcels.c
564         packet-fcfcs.c
565         packet-fcfzs.c
566         packet-fcgi.c
567         packet-fcip.c
568         packet-fclctl.c
569         packet-fcoe.c
570         packet-fcoib.c
571         packet-fcp.c
572         packet-fcsb3.c
573         packet-fcsp.c
574         packet-fcswils.c
575         packet-fddi.c
576         packet-fefd.c
577         packet-ff.c
578         packet-finger.c
579         packet-fip.c
580         packet-fix.c
581         packet-flexnet.c
582         packet-flexray.c
583         packet-flip.c
584         packet-fmp.c
585         packet-fmp_notify.c
586         packet-fmtp.c
587         packet-force10-oui.c
588         packet-forces.c
589         packet-foundry.c
590         packet-fp_hint.c
591         packet-fr.c
592         packet-fractalgeneratorprotocol.c
593         packet-frame.c
594         packet-ftp.c
595         packet-fw1.c
596         packet-g723.c
597         packet-gadu-gadu.c
598         packet-gdb.c
599         packet-gdsdb.c
600         packet-gearman.c
601         packet-ged125.c
602         packet-geneve.c
603         packet-gfp.c
604         packet-gift.c
605         packet-giop.c
606         packet-git.c
607         packet-glbp.c
608         packet-gluster_cli.c
609         packet-gluster_pmap.c
610         packet-glusterd.c
611         packet-glusterfs.c
612         packet-glusterfs_hndsk.c
613         packet-gmhdr.c
614         packet-gmr1_bcch.c
615         packet-gmr1_common.c
616         packet-gmr1_dtap.c
617         packet-gmr1_rach.c
618         packet-gmr1_rr.c
619         packet-gmrp.c
620         packet-gnutella.c
621         packet-gopher.c
622         packet-gpef.c
623         packet-gprs-llc.c
624         packet-gprscdr.c
625         packet-gre.c
626         packet-gsm_a_bssmap.c
627         packet-gsm_a_common.c
628         packet-gsm_a_dtap.c
629         packet-gsm_a_gm.c
630         packet-gsm_a_rp.c
631         packet-gsm_a_rr.c
632         packet-gsm_abis_om2000.c
633         packet-gsm_abis_oml.c
634         packet-gsm_abis_tfp.c
635         packet-gsm_abis_pgsl.c
636         packet-gsm_bsslap.c
637         packet-gsm_bssmap_le.c
638         packet-gsm_cbch.c
639         packet-gsm_ipa.c
640         packet-gsm_osmux.c
641         packet-gsm_rlcmac.c
642         packet-gsm_sim.c
643         packet-gsm_sms.c
644         packet-gsm_sms_ud.c
645         packet-gsm_um.c
646         packet-gsmtap.c
647         packet-gsmtap_log.c
648         packet-gssapi.c
649         packet-gtp.c
650         packet-gtpv2.c
651         packet-gvcp.c
652         packet-gvrp.c
653         packet-gvsp.c
654         packet-h1.c
655         packet-h221_nonstd.c
656         packet-h223.c
657         packet-h248_10.c
658         packet-h248_2.c
659         packet-h248_3gpp.c
660         packet-h248_7.c
661         packet-h248_annex_c.c
662         packet-h248_annex_e.c
663         packet-h248_q1950.c
664         packet-h261.c
665         packet-h263.c
666         packet-h263p.c
667         packet-h264.c
668         packet-hartip.c
669         packet-hazelcast.c
670         packet-hci_h1.c
671         packet-hci_h4.c
672         packet-hci_mon.c
673         packet-hci_usb.c
674         packet-hclnfsd.c
675         packet-hcrt.c
676         packet-hdcp.c
677         packet-hdcp2.c
678         packet-hdfs.c
679         packet-hdfsdata.c
680         packet-hdmi.c
681         packet-hip.c
682         packet-hiqnet.c
683         packet-hislip.c
684         packet-hl7.c
685         packet-homeplug-av.c
686         packet-homeplug.c
687         packet-homepna.c
688         packet-hp-erm.c
689         packet-hpext.c
690         packet-hpfeeds.c
691         packet-hpsw.c
692         packet-hpteam.c
693         packet-hsms.c
694         packet-hsr-prp-supervision.c
695         packet-hsr.c
696         packet-hsrp.c
697         packet-http.c
698         packet-http2.c
699         packet-http-urlencoded.c
700         packet-hyperscsi.c
701         packet-i2c.c
702         packet-iana-oui.c
703         packet-iapp.c
704         packet-iax2.c
705         packet-icap.c
706         packet-icep.c
707         packet-icmp.c
708         packet-icmpv6.c
709         packet-icp.c
710         packet-icq.c
711         packet-idp.c
712         packet-idrp.c
713         packet-iec104.c
714         packet-ieee1722.c
715         packet-ieee17221.c
716         packet-ieee80211-netmon.c
717         packet-ieee80211-prism.c
718         packet-ieee80211-radio.c
719         packet-ieee80211-radiotap-iter.c
720         packet-ieee80211-radiotap.c
721         packet-ieee80211-wlancap.c
722         packet-ieee80211.c
723         packet-ieee802154.c
724         packet-ieee8021ah.c
725         packet-ieee8023.c
726         packet-ieee802a.c
727         packet-ifcp.c
728         packet-igap.c
729         packet-igmp.c
730         packet-igrp.c
731         packet-imap.c
732         packet-imf.c
733         packet-indigocare-icall.c
734         packet-indigocare-netrix.c
735         packet-infiniband.c
736         packet-infiniband_sdp.c
737         packet-interlink.c
738         packet-ip.c
739         packet-ipars.c
740         packet-ipdc.c
741         packet-ipdr.c
742         packet-iperf.c
743         packet-ipfc.c
744         packet-ipmi.c
745         packet-ipmi-app.c
746         packet-ipmi-bridge.c
747         packet-ipmi-chassis.c
748         packet-ipmi-picmg.c
749         packet-ipmi-se.c
750         packet-ipmi-session.c
751         packet-ipmi-storage.c
752         packet-ipmi-trace.c
753         packet-ipmi-transport.c
754         packet-ipmi-pps.c
755         packet-ipmi-update.c
756         packet-ipmi-vita.c
757         packet-ipnet.c
758         packet-ipoib.c
759         packet-ipos.c
760         packet-ipp.c
761         packet-ipsec-tcp.c
762         packet-ipsec-udp.c
763         packet-ipsec.c
764         packet-ipsi-ctl.c
765         packet-ipv6.c
766         packet-ipvs-syncd.c
767         packet-ipx.c
768         packet-ipxwan.c
769         packet-irc.c
770         packet-isakmp.c
771         packet-iscsi.c
772         packet-isdn.c
773         packet-iser.c
774         packet-isi.c
775         packet-isis-clv.c
776         packet-isis-hello.c
777         packet-isis-lsp.c
778         packet-isis-snp.c
779         packet-isis.c
780         packet-isl.c
781         packet-ismacryp.c
782         packet-ismp.c
783         packet-isns.c
784         packet-iso14443.c
785         packet-iso15765.c
786         packet-iso7816.c
787         packet-iso8583.c
788         packet-isup.c
789         packet-itdm.c
790         packet-iua.c
791         packet-iuup.c
792         packet-iwarp-ddp-rdmap.c
793         packet-iwarp-mpa.c
794         packet-ixiatrailer.c
795         packet-ixveriwave.c
796         packet-j1939.c
797         packet-jmirror.c
798         packet-jpeg.c
799         packet-json.c
800         packet-juniper.c
801         packet-jxta.c
802         packet-k12.c
803         packet-kadm5.c
804         packet-kafka.c
805         packet-kdp.c
806         packet-kdsp.c
807         packet-kerberos4.c
808         packet-kingfisher.c
809         packet-kink.c
810         packet-kismet.c
811         packet-klm.c
812         packet-knet.c
813         packet-knxnetip.c
814         packet-kpasswd.c
815         packet-kt.c
816         packet-l1-events.c
817         packet-l2tp.c
818         packet-lacp.c
819         packet-lanforge.c
820         packet-lapb.c
821         packet-lapbether.c
822         packet-lapd.c
823         packet-lapdm.c
824         packet-laplink.c
825         packet-lapsat.c
826         packet-lat.c
827         packet-lbm.c
828         packet-lbmc.c
829         packet-lbmpdm.c
830         packet-lbmpdmtcp.c
831         packet-lbmr.c
832         packet-lbtrm.c
833         packet-lbtru.c
834         packet-lbttcp.c
835         packet-ldp.c
836         packet-ldss.c
837         packet-lg8979.c
838         packet-lge_monitor.c
839         packet-link16.c
840         packet-linx.c
841         packet-lisp-data.c
842         packet-lisp-tcp.c
843         packet-lisp.c
844         packet-llc.c
845         packet-lldp.c
846         packet-llrp.c
847         packet-llt.c
848         packet-lltd.c
849         packet-lmi.c
850         packet-lmp.c
851         packet-logcat.c
852         packet-logcat-text.c
853         packet-lon.c
854         packet-loop.c
855         packet-lpd.c
856         packet-lsc.c
857         packet-lsd.c
858         packet-ltp.c
859         packet-lwapp.c
860         packet-lwm.c
861         packet-lwm2mtlv.c
862         packet-lwres.c
863         packet-m2pa.c
864         packet-m2tp.c
865         packet-m2ua.c
866         packet-m3ua.c
867         packet-maap.c
868         packet-mac-lte-framed.c
869         packet-mac-lte.c
870         packet-maccontrol.c
871         packet-macsec.c
872         packet-mactelnet.c
873         packet-manolito.c
874         packet-marker.c
875         packet-mausb.c
876         packet-mbim.c
877         packet-mbtcp.c
878         packet-mcpe.c
879         packet-mdshdr.c
880         packet-media.c
881         packet-megaco.c
882         packet-memcache.c
883         packet-mesh.c
884         packet-meta.c
885         packet-metamako.c
886         packet-mgcp.c
887         packet-mih.c
888         packet-mikey.c
889         packet-mime-encap.c
890         packet-mint.c
891         packet-miop.c
892         packet-mip.c
893         packet-mip6.c
894         packet-mka.c
895         packet-mle.c
896         packet-mmse.c
897         packet-mndp.c
898         packet-mojito.c
899         packet-moldudp.c
900         packet-moldudp64.c
901         packet-mongo.c
902         packet-mount.c
903         packet-mp2t.c
904         packet-mp4ves.c
905         packet-mpeg-ca.c
906         packet-mpeg-descriptor.c
907         packet-mpeg-dsmcc.c
908         packet-mpeg-pat.c
909         packet-mpeg-pmt.c
910         packet-mpeg-sect.c
911         packet-mpeg1.c
912         packet-mpls-echo.c
913         packet-mpls-pm.c
914         packet-mpls-psc.c
915         packet-mplstp-oam.c
916         packet-mpls-y1711.c
917         packet-mpls.c
918         packet-mq-base.c
919         packet-mq-pcf.c
920         packet-mq.c
921         packet-mqtt.c
922         packet-mqtt-sn.c
923         packet-mrcpv2.c
924         packet-mrdisc.c
925         packet-mrp-mmrp.c
926         packet-mrp-msrp.c
927         packet-mrp-mvrp.c
928         packet-ms-mms.c
929         packet-msdp.c
930         packet-msn-messenger.c
931         packet-msnip.c
932         packet-msnlb.c
933         packet-msproxy.c
934         packet-msrp.c
935         packet-mstp.c
936         packet-mswsp.c
937         packet-mtp2.c
938         packet-mtp3.c
939         packet-mtp3mg.c
940         packet-multipart.c
941         packet-mux27010.c
942         packet-mysql.c
943         packet-nas_eps.c
944         packet-nasdaq-itch.c
945         packet-nasdaq-soup.c
946         packet-nat-pmp.c
947         packet-nb_rtpmux.c
948         packet-nbd.c
949         packet-nbifom.c
950         packet-nbipx.c
951         packet-nbt.c
952         packet-ncp-nmas.c
953         packet-ncp-sss.c
954         packet-ncp.c
955         packet-ncs.c
956         packet-ndmp.c
957         packet-ndp.c
958         packet-ndps.c
959         packet-negoex.c
960         packet-netanalyzer.c
961         packet-netbios.c
962         packet-netdump.c
963         packet-netgear.c
964         packet-netflow.c
965         packet-netlink-generic.c
966         packet-netlink-netfilter.c
967         packet-netlink-nl80211.c
968         packet-netlink-route.c
969         packet-netlink-sock_diag.c
970         packet-netlink.c
971         packet-netperfmeter.c
972         packet-netrom.c
973         packet-netsync.c
974         packet-nettl.c
975         packet-newmail.c
976         packet-nflog.c
977         packet-nfs.c
978         packet-nfsacl.c
979         packet-nfsauth.c
980         packet-nhrp.c
981         packet-nisplus.c
982         packet-nlm.c
983         packet-nlsp.c
984         packet-nntp.c
985         packet-noe.c
986         packet-nordic_ble.c
987         packet-ns-ha.c
988         packet-ns-mep.c
989         packet-ns-rpc.c
990         packet-nsip.c
991         packet-nsh.c
992         packet-nsrp.c
993         packet-nstrace.c
994         packet-nt-oui.c
995         packet-nt-tpcp.c
996         packet-ntlmssp.c
997         packet-ntp.c
998         packet-null.c
999         packet-nvme.c
1000         packet-nvme-rdma.c
1001         packet-nwmtp.c
1002         packet-nwp.c
1003         packet-oampdu.c
1004         packet-obex.c
1005         packet-ocfs2.c
1006         packet-oicq.c
1007         packet-oipf.c
1008         packet-olsr.c
1009         packet-omapi.c
1010         packet-omron-fins.c
1011         packet-opa.c
1012         packet-opa-fe.c
1013         packet-opa-mad.c
1014         packet-opa-snc.c
1015         packet-openflow.c
1016         packet-openflow_v1.c
1017         packet-openflow_v4.c
1018         packet-openflow_v5.c
1019         packet-opensafety.c
1020         packet-openthread.c
1021         packet-openvpn.c
1022         packet-openwire.c
1023         packet-opsi.c
1024         packet-optommp.c
1025         packet-osc.c
1026         packet-osi-options.c
1027         packet-osi.c
1028         packet-ositp.c
1029         packet-ospf.c
1030         packet-ossp.c
1031         packet-ouch.c
1032         packet-p_mul.c
1033         packet-pathport.c
1034         packet-packetbb.c
1035         packet-packetlogger.c
1036         packet-pagp.c
1037         packet-paltalk.c
1038         packet-pana.c
1039         packet-pcap_pktdata.c
1040         packet-pcapng_block.c
1041         packet-pcep.c
1042         packet-pcli.c
1043         packet-pcnfsd.c
1044         packet-pcp.c
1045         packet-pdc.c
1046         packet-pdcp-lte.c
1047         packet-peekremote.c
1048         packet-per.c
1049         packet-pflog.c
1050         packet-pgm.c
1051         packet-pgsql.c
1052         packet-pim.c
1053         packet-pingpongprotocol.c
1054         packet-pktap.c
1055         packet-pktc.c
1056         packet-pktgen.c
1057         packet-pmproxy.c
1058         packet-pnrp.c
1059         packet-pop.c
1060         packet-portmap.c
1061         packet-ppcap.c
1062         packet-ppi-antenna.c
1063         packet-ppi-geolocation-common.c
1064         packet-ppi-gps.c
1065         packet-ppi-sensor.c
1066         packet-ppi-vector.c
1067         packet-ppi.c
1068         packet-ppp.c
1069         packet-pppoe.c
1070         packet-pptp.c
1071         packet-prp.c
1072         packet-ptp.c
1073         packet-ptpip.c
1074         packet-pulse.c
1075         packet-pvfs2.c
1076         packet-pw-atm.c
1077         packet-pw-cesopsn.c
1078         packet-pw-common.c
1079         packet-pw-eth.c
1080         packet-pw-fr.c
1081         packet-pw-hdlc.c
1082         packet-pw-oam.c
1083         packet-pw-satop.c
1084         packet-q2931.c
1085         packet-q708.c
1086         packet-q931.c
1087         packet-q933.c
1088         packet-qllc.c
1089         packet-qnet6.c
1090         packet-quake.c
1091         packet-quake2.c
1092         packet-quake3.c
1093         packet-quakeworld.c
1094         packet-quic.c
1095         packet-radius.c
1096         packet-radius_packetcable.c
1097         packet-raknet.c
1098         packet-raw.c
1099         packet-rdm.c
1100         packet-rdp.c
1101         packet-rdt.c
1102         packet-redback.c
1103         packet-redbackli.c
1104         packet-reload-framing.c
1105         packet-reload.c
1106         packet-retix-bpdu.c
1107         packet-rfc2190.c
1108         packet-rfid-felica.c
1109         packet-rfid-mifare.c
1110         packet-rfid-pn532.c
1111         packet-rfid-pn532-hci.c
1112         packet-rftap.c
1113         packet-rgmp.c
1114         packet-riemann.c
1115         packet-rip.c
1116         packet-ripng.c
1117         packet-rlc-lte.c
1118         packet-rlc.c
1119         packet-rlm.c
1120         packet-rlogin.c
1121         packet-rmcp.c
1122         packet-rmi.c
1123         packet-rmp.c
1124         packet-rmt-alc.c
1125         packet-rmt-fec.c
1126         packet-rmt-lct.c
1127         packet-rmt-norm.c
1128         packet-rohc.c
1129         packet-roofnet.c
1130         packet-rpc.c
1131         packet-rpcap.c
1132         packet-rpcrdma.c
1133         packet-rpki-rtr.c
1134         packet-rpl.c
1135         packet-rquota.c
1136         packet-rsh.c
1137         packet-rsip.c
1138         packet-rsl.c
1139         packet-rstat.c
1140         packet-rsvd.c
1141         packet-rsvp.c
1142         packet-rsync.c
1143         packet-rtacser.c
1144         packet-rtcdc.c
1145         packet-rtcp.c
1146         packet-rtitcp.c
1147         packet-rtls.c
1148         packet-rtmpt.c
1149         packet-rtnet.c
1150         packet-rtp-events.c
1151         packet-rtp-midi.c
1152         packet-rtp.c
1153         packet-rtpproxy.c
1154         packet-rtps.c
1155         packet-rtsp.c
1156         packet-rudp.c
1157         packet-rwall.c
1158         packet-rx.c
1159         packet-s5066sis.c
1160         packet-s5066dts.c
1161         packet-s7comm.c
1162         packet-s7comm_szl_ids.c
1163         packet-sadmind.c
1164         packet-sametime.c
1165         packet-sap.c
1166         packet-sasp.c
1167         packet-sbus.c
1168         packet-sbc.c
1169         packet-sccp.c
1170         packet-sccpmg.c
1171         packet-scop.c
1172         packet-scriptingservice.c
1173         packet-scsi-mmc.c
1174         packet-scsi-osd.c
1175         packet-scsi-sbc.c
1176         packet-scsi-smc.c
1177         packet-scsi-ssc.c
1178         packet-scsi.c
1179         packet-scte35.c
1180         packet-sctp.c
1181         packet-sdh.c
1182         packet-sdlc.c
1183         packet-sdp.c
1184         packet-sebek.c
1185         packet-selfm.c
1186         packet-sercosiii.c
1187         packet-ses.c
1188         packet-sflow.c
1189         packet-sgsap.c
1190         packet-shim6.c
1191         packet-sigcomp.c
1192         packet-simple.c
1193         packet-simulcrypt.c
1194         packet-sip.c
1195         packet-sipfrag.c
1196         packet-sita.c
1197         packet-skinny.c
1198         packet-skype.c
1199         packet-slimp3.c
1200         packet-sll.c
1201         packet-slowprotocols.c
1202         packet-slsk.c
1203         packet-smb-browse.c
1204         packet-smb-common.c
1205         packet-smb-logon.c
1206         packet-smb-mailslot.c
1207         packet-smb-pipe.c
1208         packet-smb-sidsnooping.c
1209         packet-smb-direct.c
1210         packet-smb.c
1211         packet-smb2.c
1212         packet-smcr.c
1213         packet-sml.c
1214         packet-smpp.c
1215         packet-smtp.c
1216         packet-sna.c
1217         packet-snaeth.c
1218         packet-sndcp-xid.c
1219         packet-sndcp.c
1220         packet-snort.c
1221         packet-socketcan.c
1222         packet-socks.c
1223         packet-soupbintcp.c
1224         packet-spdy.c
1225         packet-spice.c
1226         packet-spp.c
1227         packet-spray.c
1228         packet-sprt.c
1229         packet-srp.c
1230         packet-srvloc.c
1231         packet-sscf-nni.c
1232         packet-sscop.c
1233         packet-ssh.c
1234         packet-ssl-utils.c
1235         packet-ssl.c
1236         packet-sstp.c
1237         packet-stanag4607.c
1238         packet-starteam.c
1239         packet-stat-notify.c
1240         packet-stat.c
1241         packet-stt.c
1242         packet-stun.c
1243         packet-sua.c
1244         packet-swipe.c
1245         packet-symantec.c
1246         packet-sync.c
1247         packet-synergy.c
1248         packet-synphasor.c
1249         packet-sysdig-event.c
1250         packet-sysex.c
1251         packet-syslog.c
1252         packet-t30.c
1253         packet-tacacs.c
1254         packet-tali.c
1255         packet-tapa.c
1256         packet-tcp.c
1257         packet-tcpros.c
1258         packet-tdmoe.c
1259         packet-tdmop.c
1260         packet-tds.c
1261         packet-teamspeak2.c
1262         packet-teimanagement.c
1263         packet-teklink.c
1264         packet-telkonet.c
1265         packet-telnet.c
1266         packet-teredo.c
1267         packet-text-media.c
1268         packet-tfp.c
1269         packet-tftp.c
1270         packet-thread.c
1271         packet-thrift.c
1272         packet-time.c
1273         packet-tipc.c
1274         packet-tivoconnect.c
1275         packet-tn3270.c
1276         packet-tn5250.c
1277         packet-tnef.c
1278         packet-tns.c
1279         packet-tpkt.c
1280         packet-tpncp.c
1281         packet-tr.c
1282         packet-trill.c
1283         packet-trmac.c
1284         packet-tsp.c
1285         packet-tte-pcf.c
1286         packet-tte.c
1287         packet-turbocell.c
1288         packet-turnchannel.c
1289         packet-tuxedo.c
1290         packet-tzsp.c
1291         packet-u3v.c
1292         packet-ua.c
1293         packet-ua3g.c
1294         packet-uasip.c
1295         packet-uaudp.c
1296         packet-ubertooth.c
1297         packet-ucp.c
1298         packet-udld.c
1299         packet-udp.c
1300         packet-udp-nm.c
1301         packet-uds.c
1302         packet-udt.c
1303         packet-uftp.c
1304         packet-uftp4.c
1305         packet-uhd.c
1306         packet-uma.c
1307         packet-umts_fp.c
1308         packet-umts_mac.c
1309         packet-usb-audio.c
1310         packet-usb-ccid.c
1311         packet-usb-com.c
1312         packet-usb-dfu.c
1313         packet-usb-hid.c
1314         packet-usb-hub.c
1315         packet-usb-i1d3.c
1316         packet-usb-masstorage.c
1317         packet-usb-video.c
1318         packet-usb.c
1319         packet-usbip.c
1320         packet-user_encap.c
1321         packet-userlog.c
1322         packet-uts.c
1323         packet-v120.c
1324         packet-v150fw.c
1325         packet-v52.c
1326         packet-v5dl.c
1327         packet-v5ef.c
1328         packet-v5ua.c
1329         packet-vcdu.c
1330         packet-vicp.c
1331         packet-vines.c
1332         packet-vlan.c
1333         packet-vmlab.c
1334         packet-vnc.c
1335         packet-vntag.c
1336         packet-vp8.c
1337         packet-vrrp.c
1338         packet-vrt.c
1339         packet-vsip.c
1340         packet-vsock.c
1341         packet-vssmonitoring.c
1342         packet-vtp.c
1343         packet-vuze-dht.c
1344         packet-vxi11.c
1345         packet-vxlan.c
1346         packet-wai.c
1347         packet-wap.c
1348         packet-wassp.c
1349         packet-waveagent.c
1350         packet-wbxml.c
1351         packet-wccp.c
1352         packet-wcp.c
1353         packet-websocket.c
1354         packet-wfleet-hdlc.c
1355         packet-who.c
1356         packet-whois.c
1357         packet-wifi-display.c
1358         packet-wifi-p2p.c
1359         packet-windows-common.c
1360         packet-winsrepl.c
1361         packet-wlccp.c
1362         packet-wol.c
1363         packet-wow.c
1364         packet-wps.c
1365         packet-wreth.c
1366         packet-wsmp.c
1367         packet-wsp.c
1368         packet-wtls.c
1369         packet-wtp.c
1370         packet-x11.c
1371         packet-x25.c
1372         packet-x29.c
1373         packet-xcsl.c
1374         packet-xdmcp.c
1375         packet-xip.c
1376         packet-xip-serval.c
1377         packet-xmcp.c
1378         packet-xml.c
1379         packet-xmpp-conference.c
1380         packet-xmpp-core.c
1381         packet-xmpp-gtalk.c
1382         packet-xmpp-jingle.c
1383         packet-xmpp-other.c
1384         packet-xmpp-utils.c
1385         packet-xmpp.c
1386         packet-xot.c
1387         packet-xtp.c
1388         packet-xyplex.c
1389         packet-yami.c
1390         packet-yhoo.c
1391         packet-ymsg.c
1392         packet-ypbind.c
1393         packet-yppasswd.c
1394         packet-ypserv.c
1395         packet-ypxfr.c
1396         packet-zbee-aps.c
1397         packet-zbee-nwk.c
1398         packet-zbee-nwk-gp.c
1399         packet-zbee-security.c
1400         packet-zbee-zcl.c
1401         packet-zbee-zcl-closures.c
1402         packet-zbee-zcl-general.c
1403         packet-zbee-zcl-ha.c
1404         packet-zbee-zcl-hvac.c
1405         packet-zbee-zcl-lighting.c
1406         packet-zbee-zcl-meas-sensing.c
1407         packet-zbee-zcl-misc.c
1408         packet-zbee-zcl-sas.c
1409         packet-zbee-zcl-se.c
1410         packet-zbee-zdp.c
1411         packet-zbee-zdp-binding.c
1412         packet-zbee-zdp-discovery.c
1413         packet-zbee-zdp-management.c
1414         packet-zebra.c
1415         packet-zep.c
1416         packet-ziop.c
1417         packet-zrtp.c
1418         packet-zvt.c
1419 )
1420
1421 set(DISSECTOR_SUPPORT_SRC
1422         packet-dcerpc-nt.c
1423         usb.c
1424         snort-config.c
1425         register.c
1426 )
1427 source_group(dissector-support FILES ${DISSECTOR_SUPPORT_SRC})
1428
1429 set(DISSECTOR_FILES
1430         ${DISSECTOR_SRC}
1431         ${PIDL_DISSECTOR_SRC}
1432         ${PIDL_DISSECTOR_AUTOGEN_SRC}
1433         ${ASN1_DISSECTOR_SRC}
1434         ${NCP2222_DISSECTOR_SRC}
1435         ${CUSTOM_DISSECTOR_SRC}
1436         ${CUSTOM_DIRTY_ASN1_DISSECTOR_SRC}
1437 )
1438 source_group(dissectors FILES ${DISSECTOR_FILES})
1439
1440 set(ALL_DISSECTOR_SRC
1441         ${DISSECTOR_FILES}
1442         ${CORBA_IDL_DISSECTOR_SRC}
1443 )
1444
1445 register_dissector_files(register.c
1446         dissectors
1447         ${ALL_DISSECTOR_SRC}
1448 )
1449
1450 set(CLEAN_FILES
1451         ${DISSECTOR_SRC}
1452         ${PIDL_DISSECTOR_SRC}
1453         ${CLEAN_ASN1_DISSECTOR_SRC}
1454         ${CLEAN_CORBA_IDL_DISSECTOR_SRC}
1455         ${NCP2222_DISSECTOR_SRC}
1456         ${DISSECTOR_SUPPORT_SRC}
1457 )
1458
1459 set_source_files_properties(
1460         ${CLEAN_FILES}
1461         PROPERTIES
1462         COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
1463 )
1464
1465 add_library(dissectors OBJECT
1466         ${DISSECTOR_FILES}
1467         ${DISSECTOR_SUPPORT_SRC}
1468 )
1469
1470 set_target_properties(dissectors PROPERTIES
1471         FOLDER "Libs/epan/dissectors"
1472         COMPILE_DEFINITIONS "WS_BUILD_DLL"
1473         COMPILE_OPTIONS "${WS_WARNINGS_C_FLAGS}"
1474 )
1475
1476 set(CHECKAPI_FILE_LIST "${CMAKE_CURRENT_BINARY_DIR}/files.txt")
1477 file(GLOB DISSECTOR_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.h")
1478 file(WRITE "${CHECKAPI_FILE_LIST}" "${DISSECTOR_FILES}" ";" "${CORBA_IDL_DISSECTOR_SRC}")
1479 CHECKAPI(
1480         NAME
1481           dissectors
1482         SWITCHES
1483           -g abort -g termoutput -build --file ${CHECKAPI_FILE_LIST}
1484         SOURCES
1485           ${DISSECTOR_SUPPORT_SRC}
1486           ${DISSECTOR_HEADERS}
1487 )
1488
1489 #
1490 # Editor modelines  -  http://www.wireshark.org/tools/modelines.html
1491 #
1492 # Local variables:
1493 # c-basic-offset: 8
1494 # tab-width: 8
1495 # indent-tabs-mode: t
1496 # End:
1497 #
1498 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
1499 # :indentSize=8:tabSize=8:noTabs=false:
1500 #