wireshark/epan
João Valverde 262a84c384 Fix (and chop) static build option
This sets the scope of the static build option to Wireshark support
libraries only.

Before the patch:

Static plugins don't work with CMake and autotools.

autotools static build is broken, and most likely will always be, as
building Wireshark all-static is difficult and time-consuming.

After the patch:

For CMake Wireshark will be built with static or shared libraries and
dynamic plugins. Everything just works. CMake apparently doesn't want
you building static and shared libraries at the same time.

For autotools Wireshark will be built with shared libraries by default.
--disable-shared and --enable-static options work as usual. Dlopened
plugins are not built if --disable-shared is given to configure (to
disable shared libraries). This is a limitations imposed by libtool.

Tested on Linux. This removes broken support for building plugins
statically.

Change-Id: Ib8e8176976f136eea93a2ce8f9857b6cf9bec64c
Reviewed-on: https://code.wireshark.org/review/24241
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2017-11-19 20:16:50 +00:00
..
crypt autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
dfilter autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
dissectors Fix (and chop) static build option 2017-11-19 20:16:50 +00:00
ftypes autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
wmem autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
wslua autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
.editorconfig Remove circuit API 2017-11-13 05:21:36 +00:00
CMakeLists.txt Fix (and chop) static build option 2017-11-19 20:16:50 +00:00
Makefile.am Fix (and chop) static build option 2017-11-19 20:16:50 +00:00
addr_and_mask.c Add a ws_in6_addr typedef for struct e_in6_addr. 2017-10-26 08:50:34 +00:00
addr_and_mask.h Add a ws_in6_addr typedef for struct e_in6_addr. 2017-10-26 08:50:34 +00:00
addr_resolv.c Get rid of MAX_IP_STR_LEN and MAX_IP6_STR_LEN. 2017-10-29 05:51:25 +00:00
addr_resolv.h Add a ws_in6_addr typedef for struct e_in6_addr. 2017-10-26 08:50:34 +00:00
address.h Remove circuit API 2017-11-13 05:21:36 +00:00
address_types.c sizeof(buf) is not what you want here 2017-10-29 15:15:41 +00:00
address_types.h
afn.c
afn.h
aftypes.c
aftypes.h A bunch of "{Mac} OS X" -> "macOS" changes. 2017-04-05 19:16:22 +00:00
app_mem_usage.c
app_mem_usage.h
arcnet_pids.h
arptypes.h
asn1.c
asn1.h
ax25_pids.h
bridged_pids.h
capture_dissectors.c
capture_dissectors.h Put all the capture dissector structures into epan/capture_dissectors.h. 2017-04-21 19:26:33 +00:00
charsets.c Fix SURROGATE_VALUE() to match what RFC 2781 says. 2017-06-16 18:41:00 +00:00
charsets.h
chdlctypes.h
color_filters.c Remove superfluous null-checks before strdup/free 2017-10-15 12:38:51 +00:00
color_filters.h Put the non-filter part of epan/color_filters.h into wsutil/color.h. 2017-06-10 02:56:31 +00:00
column-info.h
column-utils.c Rename routines to clarify what they do. 2017-04-12 04:56:49 +00:00
column-utils.h
column.c Instroduce col_finalize(), to allow creating column_info based not only on preferences. 2017-10-04 03:48:12 +00:00
column.h Instroduce col_finalize(), to allow creating column_info based not only on preferences. 2017-10-04 03:48:12 +00:00
conv_id.h
conversation.c Remove circuit API 2017-11-13 05:21:36 +00:00
conversation.h Remove circuit API 2017-11-13 05:21:36 +00:00
conversation_debug.h
conversation_table.c Use endpoint_type in conversation tables and hostlists 2017-10-29 20:17:03 +00:00
conversation_table.h conversation_table(.h): fix parameter 'ptype/port_type_val' not found in the function declaration [-Wdocumentation] 2017-11-05 13:30:25 +00:00
crc6-tvb.c
crc6-tvb.h
crc8-tvb.c
crc8-tvb.h
crc10-tvb.c
crc10-tvb.h
crc16-tvb.c
crc16-tvb.h
crc32-tvb.c
crc32-tvb.h
decode_as.c Add support for dissector tables of type FT_NONE. 2017-09-16 11:12:52 +00:00
decode_as.h Have register_decode_as_next_proto create dissector table. 2017-09-16 11:12:29 +00:00
diam_dict.h
diam_dict.l Disable flex-generated [-Wsign-compare] warnings 2017-09-19 10:06:07 +00:00
disabled_protos.c Fix routine name. 2017-04-09 02:43:26 +00:00
disabled_protos.h Pull all the "load settings" calls into a epan_load_settings() routine. 2017-04-09 22:40:30 +00:00
dissector_filters.c Fix filter for "Next Packet in Conversation" 2017-06-20 20:34:23 +00:00
dissector_filters.h Fix filter for "Next Packet in Conversation" 2017-06-20 20:34:23 +00:00
doxygen.cfg.in
dtd.h plugins: config.h must not be included by public headers 2017-09-06 08:10:56 +00:00
dtd_grammar.lemon Remove superfluous null-checks before strdup/free 2017-10-15 12:38:51 +00:00
dtd_parse.h
dtd_parse.l Remove superfluous null-checks before strdup/free 2017-10-15 12:38:51 +00:00
dtd_preparse.l Remove superfluous null-checks before strdup/free 2017-10-15 12:38:51 +00:00
dvb_chartbl.c
dvb_chartbl.h
eap.h
eapol_keydes_types.h
epan-int.h
epan.c Remove circuit API 2017-11-13 05:21:36 +00:00
epan.h Remove circuit API 2017-11-13 05:21:36 +00:00
epan_dissect.h
etypes.h Initial coding of the ieee1905 dissector with Multi-AP support. 2017-10-26 20:24:03 +00:00
ex-opt.c
ex-opt.h
except.c
except.h plugins: config.h must not be included by public headers 2017-09-06 08:10:56 +00:00
exceptions.h
exntest.c
expert.c Remove superfluous null-checks before strdup/free 2017-10-15 12:38:51 +00:00
expert.h
export_object.c Improve http object export for URLs with long extensions 2017-10-23 04:42:51 +00:00
export_object.h
exported_pdu.c Convert PT_EXCHG into using conversation endpoints 2017-11-06 15:19:15 +00:00
exported_pdu.h "Hardcode" the port types used by Export PDU functionality 2017-10-29 19:55:24 +00:00
filter_expressions.c Filter expressions: Rename UAT field to make it more obvious what it does 2017-07-09 19:58:36 +00:00
filter_expressions.h Add support for comments for a display filter button 2017-06-26 02:48:58 +00:00
follow.c
follow.h Add a ws_in6_addr typedef for struct e_in6_addr. 2017-10-26 08:50:34 +00:00
frame_data.c
frame_data.h Optimize frame_data layout. 2017-03-31 20:29:37 +00:00
frame_data_sequence.c
frame_data_sequence.h
funnel.c
funnel.h
garrayfix.h
geoip_db.c Explain where GeoIP_free comes from 2017-11-15 20:39:37 +00:00
geoip_db.h Add a ws_in6_addr typedef for struct e_in6_addr. 2017-10-26 08:50:34 +00:00
golay.c
golay.h
guid-utils.c
guid-utils.h
iana_charsets.c
iana_charsets.h
iax2_codec_type.h
in_cksum.c
in_cksum.h
ip_opts.h
ipproto.c Remove unused netdb.h #includes 2017-10-31 00:11:08 +00:00
ipproto.h Remove IP "dummy" protocol number 2017-09-01 03:37:40 +00:00
ipv4.h Add wsutil/inet_ipv4.h. 2017-10-30 02:11:22 +00:00
ipv6.h Add a ws_in6_addr typedef for struct e_in6_addr. 2017-10-26 08:50:34 +00:00
lapd_sapi.h
llcsaps.h
media_params.c
media_params.h
next_tvb.c
next_tvb.h
nlpid.h
oids.c Clean up handling of enabled/disabled protocols/heuristic dissectors. 2017-04-08 20:40:08 +00:00
oids.h
oids_test.c
osi-utils.c osi-utils: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang 2017-04-04 17:00:49 +00:00
osi-utils.h Fix some dissection errors. 2017-03-31 21:48:25 +00:00
oui.h Wi-SUN Protocol dissection and IEEE 802.15.4 IE cleanup. 2017-11-11 19:11:44 +00:00
packet.c Remove circuit API 2017-11-13 05:21:36 +00:00
packet.h Add support for dissector tables of type FT_NONE. 2017-09-16 11:12:52 +00:00
packet_info.h Remove circuit API 2017-11-13 05:21:36 +00:00
params.h
plugin_if.c Remove superfluous null-checks before strdup/free 2017-10-15 12:38:51 +00:00
plugin_if.h plugins: config.h must not be included by public headers 2017-09-06 08:10:56 +00:00
ppptypes.h
prefs-int.h Qt: Provide both file save and open preferences 2017-04-17 10:51:10 +00:00
prefs.c Include VLAN ID in key for ICMP request/response tracking 2017-10-26 21:33:19 +00:00
prefs.h Include VLAN ID in key for ICMP request/response tracking 2017-10-26 21:33:19 +00:00
print.c Fix Elasticsearch hex dump 2017-11-07 13:22:05 +00:00
print.h Tshark: Optional packet summary for Elasticsearch 2017-10-15 00:58:42 +00:00
print.ps
print_stream.c print_stream.c: Fix compile error on Windows regression 2017-06-12 06:01:24 +00:00
print_stream.h print_stream: add a new print_line_color() method 2017-06-11 13:36:06 +00:00
proto.c proto.c: fix field display test in hfinfo_number_value_format_display64() 2017-11-08 06:59:40 +00:00
proto.h dissect_uleb128 -> tvb_get_varint/proto_tree_add_item_ret_length 2017-11-19 05:14:27 +00:00
proto_data.c
proto_data.h
ps.h
ptvcursor.h Add ptvcursor APIs that return the values it retrieves 2017-10-13 06:45:37 +00:00
radius_dict.l Remove superfluous null-checks before strdup/free 2017-10-15 12:38:51 +00:00
range.c We really only need one range_foreach routine. 2017-08-08 22:06:27 +00:00
range.h We really only need one range_foreach routine. 2017-08-08 22:06:27 +00:00
reassemble.c Remove superfluous null-checks before strdup/free 2017-10-15 12:38:51 +00:00
reassemble.h
reassemble_test.c
reedsolomon.c
reedsolomon.h
req_resp_hdrs.c
req_resp_hdrs.h
rtd_table.c
rtd_table.h
rtp_pt.h
sctpppids.h [SCTP] Update SCTP Payload Protocol Identifiers from IANA registry. 2017-09-11 12:44:35 +00:00
sequence_analysis.c Add Flow Graph functionality to TShark 2017-09-22 04:49:48 +00:00
sequence_analysis.h Have sequence analysis properly use filters from taps. 2017-09-23 03:42:14 +00:00
show_exception.c
show_exception.h
slow_protocol_subtypes.h
sminmpec.h Parse enterprise-numbers at run time 2017-06-26 22:40:50 +00:00
srt_table.c Remove superfluous null-checks before strdup/free 2017-10-15 12:38:51 +00:00
srt_table.h
stat_groups.h
stat_tap_ui.c sharkd: output JSON for new_stat_ API. 2017-05-15 09:16:51 +00:00
stat_tap_ui.h sharkd: output JSON for new_stat_ API. 2017-05-15 09:16:51 +00:00
stats_tree.c stats tree: (trivial) reformat assignments 2017-10-01 15:11:51 +00:00
stats_tree.h simplify some include file paths 2017-10-01 15:10:19 +00:00
stats_tree_priv.h
stream.c
stream.h
strutil.c
strutil.h
t35.c t35: fix conflicting entry in its value_string 2017-04-27 14:59:13 +00:00
t35.h
tap-voip.h
tap.c Remove superfluous null-checks before strdup/free 2017-10-15 12:38:51 +00:00
tap.h
tfs.c MAC LTE: upgrade dissector to v14.3.0 2017-08-02 17:34:19 +00:00
tfs.h MAC LTE: upgrade dissector to v14.3.0 2017-08-02 17:34:19 +00:00
time_fmt.h
timestamp.c
timestamp.h
timestats.c
timestats.h
to_str-int.h
to_str.c Convert PT_EXCHG into using conversation endpoints 2017-11-06 15:19:15 +00:00
to_str.h Improve our ip6_to_str_buf() implementation 2017-10-29 15:15:31 +00:00
tvbparse.c Add a ws_in6_addr typedef for struct e_in6_addr. 2017-10-26 08:50:34 +00:00
tvbparse.h
tvbtest.c
tvbuff-int.h
tvbuff.c Add a ws_in6_addr typedef for struct e_in6_addr. 2017-10-26 08:50:34 +00:00
tvbuff.h Add a ws_in6_addr typedef for struct e_in6_addr. 2017-10-26 08:50:34 +00:00
tvbuff_base64.c
tvbuff_composite.c
tvbuff_real.c
tvbuff_subset.c
tvbuff_zlib.c
uat-int.h Qt: Drag/Drop Filter buttons to order 2017-06-28 15:09:03 +00:00
uat.c Use UAT model for I/O graph 2017-08-07 17:25:02 +00:00
uat.h Use UAT model for I/O graph 2017-08-07 17:25:02 +00:00
uat_load.l Disable flex-generated [-Wsign-compare] warnings 2017-09-19 10:06:07 +00:00
unit_strings.c Dissector: SolarEdge inverter monitoring protocol 2017-10-02 04:14:31 +00:00
unit_strings.h Dissector: SolarEdge inverter monitoring protocol 2017-10-02 04:14:31 +00:00
value_string.c
value_string.h
x264_prt_id.h
xdlc.c packet-lapd.c: Replace heuristic UDP dissector with "deterministic" one with prefs. 2017-06-08 20:22:33 +00:00
xdlc.h packet-lapd.c: Replace heuristic UDP dissector with "deterministic" one with prefs. 2017-06-08 20:22:33 +00:00