autotools: Don't use "user variables" to set build flags
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>
Fri, 27 Nov 2015 02:28:17 +0000 (02:28 +0000)
committerJoão Valverde <j@v6e.pt>
Thu, 28 Jan 2016 18:13:48 +0000 (18:13 +0000)
commit265a41e14da6b3ebf1e49e726eee62d1372110bf
treef1a524f8e66ebd43691de84649f231f32ee125f6
parent97a1a50e200a6c50e0014dde7e8ec932c30190a1
autotools: Don't use "user variables" to set build flags

GNU coding standards recommend against it and automake is designed
around it.

This allows overriding the global build flags using AM_CFLAGS, etc.,
or per object flags, something that is difficult or impossible currently
because of automake precedence rules.

Change-Id: I3f1ea12e560af5a46b2f04b342b1882bbf123f12
Reviewed-on: https://code.wireshark.org/review/13455
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
38 files changed:
Makefile.am
Makefile.am.inc
acinclude.m4
capchild/Makefile.am
caputils/Makefile.am
codecs/Makefile.am
configure.ac
echld/Makefile.am
epan/Makefile.am
epan/compress/Makefile.am
epan/crypt/Makefile.am
epan/dfilter/Makefile.am
epan/dissectors/Makefile.am
epan/dissectors/dcerpc/Makefile.am
epan/ftypes/Makefile.am
epan/nghttp2/Makefile.am
epan/wmem/Makefile.am
epan/wslua/Makefile.am
plugins/docsis/Makefile.am
plugins/ethercat/Makefile.am
plugins/gryphon/Makefile.am
plugins/irda/Makefile.am
plugins/m2m/Makefile.am
plugins/mate/Makefile.am
plugins/opcua/Makefile.am
plugins/profinet/Makefile.am
plugins/stats_tree/Makefile.am
plugins/tpg/Makefile.am
plugins/unistim/Makefile.am
plugins/wimax/Makefile.am
plugins/wimaxasncp/Makefile.am
plugins/wimaxmacphy/Makefile.am
ui/Makefile.am
ui/cli/Makefile.am
ui/gtk/Makefile.am
ui/qt/Makefile.am
wiretap/Makefile.am
wsutil/Makefile.am