Modernise build structure

* Change capitalisation of CMHG file to match several #includes of the
  derived header file
* Use generic specifiers for include paths and warning suppression options
* Change to `CUSTOMRES=no` so `CModule` provides a no-op `resources` rule
  on our behalf
* Add `.gitignore`
* Enable GitLab CI
* Fix issues identified by CI, including:
  - Tabs-after-spaces
  - Buffer overflows in Auth_LMOWFv2(), LLC_AttachDriver()
  - Dead code: SMBTime(), Auth_NTv2ChallengeResponse(), Func_ReadDir(),
    Transact_getpointer(), Transact_addroutepath()
20 jobs for CrossCompilationSupport in 4 minutes and 49 seconds (queued for 5 seconds)
latest
Status Job ID Name Coverage
  Static Analysis
passed #17235
cross
cppcheck

00:00:10

passed #17228
cross
gitattributes

00:00:01

passed #17229
cross
gitignore

00:00:01

passed #17232
cross
head_log

00:00:00

passed #17234
cross
head_whitesp

00:00:01

passed #17230
cross
license

00:00:01

passed #17233
cross
makefile

00:00:01

passed #17231
cross
versionnum

00:00:01

 
  Softload
passed #17236
cross
softload

00:00:06

failed #17237
cross allowed to fail
softload_gnu

00:00:06

 
  Disc
failed #17238
cross allowed to fail
disc_Disc

00:00:30

 
  Rom
failed #17239
cross allowed to fail
rom_BCM2835

00:00:28

failed #17246
cross allowed to fail
rom_iMx6

00:00:29

failed #17240
cross allowed to fail
rom_IOMD32

00:00:26

failed #17241
cross allowed to fail
rom_OMAP3

00:00:29

failed #17242
cross allowed to fail
rom_OMAP4

00:00:28

failed #17243
cross allowed to fail
rom_OMAP5

00:00:28

failed #17244
cross allowed to fail
rom_Titanium

00:00:27

failed #17245
cross allowed to fail
rom_Tungsten

00:00:27

 
  Cleanup
passed #17247
cross
cleanup

00:00:01

 
Name Stage Failure
failed
rom_iMx6 Rom
Batched errors...
Error running make export (hdrs) on module 'FileCore'.
Error running make export (hdrs) on module 'ADFS'.
Error running make export (hdrs) on module 'RamFS'.
Error running make export (hdrs) on module 'SCSIFS'.
Error running make export (hdrs) on module 'SDFS'.
------------------------------------------------------------------------------
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
rom_Tungsten Rom
------------------------------------------------------------------------------
Batched errors...
Error running make export (hdrs) on module 'FileCore'.
Error running make export (hdrs) on module 'ADFS'.
Error running make export (hdrs) on module 'RamFS'.
Error running make export (hdrs) on module 'SCSIFS'.
------------------------------------------------------------------------------
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
rom_Titanium Rom
Batched errors...
Error running make export (hdrs) on module 'FileCore'.
Error running make export (hdrs) on module 'ADFS4'.
Error running make export (hdrs) on module 'RamFS'.
Error running make export (hdrs) on module 'SCSIFS'.
Error running make export (hdrs) on module 'SDFS'.
------------------------------------------------------------------------------
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
rom_OMAP5 Rom
Batched errors...
Error running make export (hdrs) on module 'FileCore'.
Error running make export (hdrs) on module 'ADFS4'.
Error running make export (hdrs) on module 'RamFS'.
Error running make export (hdrs) on module 'SCSIFS'.
Error running make export (hdrs) on module 'SDFS'.
------------------------------------------------------------------------------
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
rom_OMAP4 Rom
Batched errors...
Error running make export (hdrs) on module 'FileCore'.
Error running make export (hdrs) on module 'ADFS'.
Error running make export (hdrs) on module 'RamFS'.
Error running make export (hdrs) on module 'SCSIFS'.
Error running make export (hdrs) on module 'SDFS'.
------------------------------------------------------------------------------
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
rom_OMAP3 Rom
Batched errors...
Error running make export (hdrs) on module 'FileCore'.
Error running make export (hdrs) on module 'ADFS'.
Error running make export (hdrs) on module 'RamFS'.
Error running make export (hdrs) on module 'SCSIFS'.
Error running make export (hdrs) on module 'SDFS'.
------------------------------------------------------------------------------
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
rom_IOMD32 Rom
------------------------------------------------------------------------------
Batched errors...
Error running make export (hdrs) on module 'FileCore'.
Error running make export (hdrs) on module 'ADFS'.
Error running make export (hdrs) on module 'RamFS'.
Error running make export (hdrs) on module 'SCSIFS'.
------------------------------------------------------------------------------
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
rom_BCM2835 Rom
Batched errors...
Error running make export (hdrs) on module 'FileCore'.
Error running make export (hdrs) on module 'ADFS'.
Error running make export (hdrs) on module 'RamFS'.
Error running make export (hdrs) on module 'SCSIFS'.
Error running make export (hdrs) on module 'SDFS'.
------------------------------------------------------------------------------
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
disc_Disc Disc
Error running make export (hdrs) on module 'PDumperE2'.
Error running make export (hdrs) on module 'PDumperIW'.
Error running make export (hdrs) on module 'PDumperLJ'.
Error running make export (hdrs) on module 'DesktopBoot'.
Error running make export (hdrs) on module 'PatchesPatch'.
Error running make export (hdrs) on module 'ChangeFSI'.
------------------------------------------------------------------------------
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
softload_gnu Softload
cmunge -tgcc  -I/home/gitlab-runner/builds/hYz1sbzj/0/bavison/OmniLanManFS/RiscOS/Export/APCS-32/Lib/RISC_OSLib -I/home/gitlab-runner/builds/hYz1sbzj/0/bavison/OmniLanManFS/RiscOS/Export/APCS-32/C -I/home/gitlab-runner/builds/hYz1sbzj/0/bavison/OmniLanManFS/RiscOS/Export/APCS-32/Lib -I. -p    -32bit -apcs 3/32bit/fpe3 -o LanMan_MH.o LanMan_MH.cmhg
CMunge 0.76 (10 May 2006) [with GCCSDK 4 changes r7307 at /trunk/gcc4/riscos/cmunge]
Copyright (c) 1999-2006 Robin Watts/Justin Fletcher
Copyright (c) 2007-2014 GCCSDK Developers and contributors
make[1]: Target 'install' not remade because of errors.
CModule:235: recipe for target 'install' failed
make: *** [install] Error 2
Cleaning up file based variables
ERROR: Job failed: exit status 1