Compile .l files (flex) with the waf rule at runtime
authorAndrew Bartlett <abartlet@samba.org>
Wed, 27 May 2020 09:31:43 +0000 (21:31 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Fri, 7 Aug 2020 03:23:44 +0000 (03:23 +0000)
commitc51c15144e3fbdd3ebed301a077c687e23882e09
tree5541bcab328bf23960108786fa84342e78c922ea
parent8a148193da0ba801f5302a6a2285b39ab6f4d247
Compile .l files (flex) with the waf rule at runtime

Other parts of Samba already compile these directly.

This makes these files compile with modern compiler warnings.

The primary difference (other than being built with a newer
flex) is the loss of the #include "config.h" but
this is not used in the other .l files elsewehre and does not
seem to matter on modern systems.

The generated output from compile_et asn1_compile has not changed
(so I think the hx509 case is safe).

The mdssvc case just has changed file locations and line numbers.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/heimdal/lib/asn1/lex.c [deleted file]
source4/heimdal/lib/com_err/lex.c [deleted file]
source4/heimdal/lib/hx509/sel-lex.c [deleted file]
source4/heimdal_build/lexyacc.sh
source4/heimdal_build/wscript_build
wscript