Module: check_mk
Branch: master
Commit: 4394562413c431735327a7d0ea86898c071be8b2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4394562413c431…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Fri Oct 6 16:52:08 2017 +0200
Use GNU autotools for building Windows agent
The Makefile for the Windows agent has been a source of many problems,
e.g. in its manual defition of build dependencies that
has been prone to errors and preventing e..g efficient build
parallelization. With GNU autoconf and automake the shortcomings of a
manually maintained Makefile can be overcome, immediately cutting build
times (-50% for a full build, even more for incremental builds due to
proper handling of dependencies) and hopefully making the build process
easier to maintain.
The 32 and 64 bit builds for Windows are now configured with different
parameters passed to the auto-generated configure script. The builds
are then run in parallel, with the possibility of specifying N parallel
jobs with the option '-jN' to the build scripts.
The README and CONTENTS files are brought up to date.
Change-Id: I8495d0ac3a47bd45d4193a4e0763fc202dd84bfe
---
agents/Makefile | 5 +-
agents/windows/.gitignore | 6 +-
agents/windows/CONTENTS | 1 +
agents/windows/Makefile | 178 ------------------------------------------
agents/windows/Makefile.am | 90 +++++++++++++++++++++
agents/windows/README | 33 ++++----
agents/windows/build-agent | 97 +++++++++++++++++++++++
agents/windows/build_version | 2 +-
agents/windows/chroot_version | 2 +-
agents/windows/configure.ac | 44 +++++++++++
agents/windows/make-agent | 101 ++++++++++--------------
agents/windows/make-chroot | 3 +
12 files changed, 301 insertions(+), 261 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=4394562413…