aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/Makefile
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-08-03 09:54:05 +0100
committerIan Campbell <ian.campbell@citrix.com>2012-08-03 09:54:05 +0100
commit01580ccdb2063766ad4570ac1f16115b0f94007e (patch)
tree55d2c45bc52f385cbc54ebc6d6f7552ca4373ec5 /tools/libxl/Makefile
parent6163a9386636904b95cd25e354b0c7220d3c72a7 (diff)
downloadxen-01580ccdb2063766ad4570ac1f16115b0f94007e.tar.gz
xen-01580ccdb2063766ad4570ac1f16115b0f94007e.tar.bz2
xen-01580ccdb2063766ad4570ac1f16115b0f94007e.zip
libxl: prefix *.for-check with _ to mark it as a generated file.
Keeps it out of my greps etc. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/Makefile')
-rw-r--r--tools/libxl/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile
index 63a8157a62..47fb110830 100644
--- a/tools/libxl/Makefile
+++ b/tools/libxl/Makefile
@@ -114,10 +114,10 @@ $(LIBXL_OBJS) $(LIBXLU_OBJS) $(XL_OBJS) $(SAVE_HELPER_OBJS): $(AUTOINCS)
genpath-target = $(call buildmakevars2file,_paths.h.tmp)
$(eval $(genpath-target))
-libxl.api-ok: check-libxl-api-rules libxl.api-for-check
+libxl.api-ok: check-libxl-api-rules _libxl.api-for-check
$(PERL) $^
-%.api-for-check: %.h
+_%.api-for-check: %.h
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_$*.o) -c -E $< $(APPEND_CFLAGS) \
-DLIBXL_EXTERNAL_CALLERS_ONLY=LIBXL_EXTERNAL_CALLERS_ONLY \
>$@.new
@@ -210,7 +210,7 @@ install: all
.PHONY: clean
clean:
$(RM) -f _*.h *.o *.so* *.a $(CLIENTS) $(DEPS)
- $(RM) -f _*.c *.pyc _paths.*.tmp *.api-for-check
+ $(RM) -f _*.c *.pyc _paths.*.tmp _*.api-for-check
$(RM) -f testidl.c.new testidl.c
# $(RM) -f $(AUTOSRCS) $(AUTOINCS)