libxl: fix api check Makefile
authorIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 3 Sep 2012 10:22:01 +0000 (11:22 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 3 Sep 2012 10:22:01 +0000 (11:22 +0100)
commitd5047e1a1ce16d9d00d485c563c08e6662a91fb4
tree2ba8c1cb9c8efa3ed062d14686eef51a57e69b83
parentd0a6bfdbf8a3f11e807624c6ff7b93f1f7b25a56
libxl: fix api check Makefile

Touch the libxl.api-ok stamp file, and unconditionally put in place
the new _libxl.api-for-check.  This avoids needlessly rerunning the
preprocessor on libxl.h each time we call "make".

Ensure that _libxl.api-for-check gets the CFLAGS used for xl, so that
if it is asked for in a standalone make run it can find xentoollog.h.

Remove *.api-ok on clean.

Also fix .gitignore.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
.gitignore
.hgignore
tools/libxl/Makefile