[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 15/20] libxl: include <_libxl_paths.h> in libxl_internal.h



2012/3/20 Ian Campbell <Ian.Campbell@xxxxxxxxxx>:
> On Fri, 2012-03-16 at 16:26 +0000, Ian Jackson wrote:
>> Ie, we permit general code in libxl direct access to the manifest
>> constants such as XEN_RUN_DIR. ÂThis simplifies their use in (eg)
>> format strings.
>>
>> This might be controversial because it will make it difficult to make
>> any of these runtime-configurable later without changing lots of use
>> sites. ÂBut I don't think it's likely we'll want to do that.
>
> I don't have any particular feeling one way or the other about this
>
> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

_libxl_paths.h should be generated before trying to use
libxl_internal.h, if not the build fails.

8<-------------------------------------------------------------

libxl: add _libxl_paths.h as a prerequisite to libxl_internal.h

Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>
---
 tools/libxl/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile
index b30d11f..c0f83a9 100644
--- a/tools/libxl/Makefile
+++ b/tools/libxl/Makefile
@@ -106,7 +106,7 @@ libxl_paths.c: _libxl_paths.h

 libxl.h: _libxl_types.h
 libxl_json.h: _libxl_types_json.h
-libxl_internal.h: _libxl_types_internal.h
+libxl_internal.h: _libxl_types_internal.h _libxl_paths.h
 libxl_internal_json.h: _libxl_types_internal_json.h

 $(LIBXL_OBJS) $(LIBXLU_OBJS) $(XL_OBJS): libxl.h
-- 
1.7.2.5

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.