From: Ian Campbell Date: Fri, 29 Jun 2012 10:24:10 +0000 (+0100) Subject: libxl: make libxl-save-helper depend on the autogenerated code targets X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~8246 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=65f28015b498ab0e58e3f2d381f761a774d691fc;p=xen.git libxl: make libxl-save-helper depend on the autogenerated code targets Fixes this build failure: In file included from libxl_save_helper.c:44: libxl.h:346:26: error: _libxl_types.h: No such file or directory Signed-off-by: Ian Campbell Acked-by: Ian Jackson Committed-by: Ian Jackson --- diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index ddc2624c44..48f352eb4e 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -100,7 +100,7 @@ testidl.c: libxl_types.idl gentest.py libxl.h $(AUTOINCS) all: $(CLIENTS) libxenlight.so libxenlight.a libxlutil.so libxlutil.a \ $(AUTOSRCS) $(AUTOINCS) -$(LIBXL_OBJS) $(LIBXLU_OBJS) $(XL_OBJS): $(AUTOINCS) +$(LIBXL_OBJS) $(LIBXLU_OBJS) $(XL_OBJS) $(SAVE_HELPER_OBJS): $(AUTOINCS) %.c %.h:: %.y @rm -f $*.[ch] @@ -134,7 +134,7 @@ libxl_internal.h: _libxl_types_internal.h _paths.h libxl_internal_json.h: _libxl_types_internal_json.h xl.h: _paths.h -$(LIBXL_OBJS) $(LIBXLU_OBJS) $(XL_OBJS): libxl.h +$(LIBXL_OBJS) $(LIBXLU_OBJS) $(XL_OBJS) $(SAVE_HELPER_OBJS): libxl.h $(LIBXL_OBJS): libxl_internal.h _libxl_type%.h _libxl_type%_json.h _libxl_type%.c: libxl_type%.idl gentypes.py idl.py