abi-dumper needs a list of the public header files for shared objects, and
only accepts this in the form of a file.
No functional change.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Ian Jackson <iwj@xenproject.org>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
--- /dev/null
+*/headers.lst
headers.chk: $(AUTOINCS)
+headers.lst: FORCE
+ @{ set -e; $(foreach h,$(LIBHEADERS),echo $(h);) } > $@.tmp
+ @$(call move-if-changed,$@.tmp,$@)
+
libxen$(LIBNAME).map:
echo 'VERS_$(MAJOR).$(MINOR) { global: *; };' >$@
clean:
rm -rf *.rpm $(LIB) *~ $(DEPS_RM) $(LIB_OBJS) $(PIC_OBJS)
rm -f lib$(LIB_FILE_NAME).so.$(MAJOR).$(MINOR) lib$(LIB_FILE_NAME).so.$(MAJOR)
- rm -f headers.chk
+ rm -f headers.chk headers.lst
rm -f $(PKG_CONFIG)
rm -f _paths.h
.PHONY: distclean
distclean: clean
+
+.PHONY: FORCE
+FORCE: