DEPS_RM is currently the same as DEPS, so no functional change.
This patch is the result of two perl runes:
git-grep -l 'rm.*DEPS' | xargs perl -i~ -pe 'next unless m/^\t+rm\b/; s/\bDEPS\b/DEPS_RM/;'
git-grep -l 'RM.*DEPS' | xargs perl -i~ -pe 'next unless m/^\t+\$\(RM\)/; s/\bDEPS\b/DEPS_RM/;'
And editing tools/xenstat/libxenstat/Makefile by hand.
I verified that I didn't miss anything with this rune:
git-grep '\bDEPS\b' | grep -v include |less
Reported-by: Jan Beulich <JBeulich@suse.com>
CC: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
SUBDIRS-$(CONFIG_Linux) += control
clean:
- rm -rf *.a *.so *.o *.rpm $(LIB) *~ $(DEPS) TAGS
+ rm -rf *.a *.so *.o *.rpm $(LIB) *~ $(DEPS_RM) TAGS
distclean: clean
$(INSTALL_DATA) xenblktapctl.pc $(DESTDIR)$(PKG_INSTALLDIR)
clean:
- rm -f $(OBJS) $(PICS) $(DEPS) $(IBIN) $(LIB_STATIC) $(LIB_SHARED)
+ rm -f $(OBJS) $(PICS) $(DEPS_RM) $(IBIN) $(LIB_STATIC) $(LIB_SHARED)
rm -f $(LIBNAME).so $(LIBSONAME)
rm -f *~
rm -f xenblktapctl.pc
$(CC) -DLVM_UTIL $(LDFLAGS) -o lvm-util lvm-util.c
clean:
- rm -rf *.o *.opic *~ $(DEPS) $(IBIN)
+ rm -rf *.o *.opic *~ $(DEPS_RM) $(IBIN)
distclean: clean
rm -f $(addprefix $(DESTDIR)$(INST_DIR)/, $(IBIN))
clean: subdirs-clean
- rm -rf *.o *~ $(DEPS) $(IBIN)
+ rm -rf *.o *~ $(DEPS_RM) $(IBIN)
distclean: clean
rm -f $(DESTDIR)$(INST-DIR)/libvhd.a
clean:
- rm -rf *.a *.so* *.o *.opic *~ $(DEPS) $(LIBVHD)
+ rm -rf *.a *.so* *.o *.opic *~ $(DEPS_RM) $(LIBVHD)
distclean: clean
.PHONY: clean
clean:
- $(RM) *.a *.so *.o *.rpm $(BIN) $(DEPS)
+ $(RM) *.a *.so *.o *.rpm $(BIN) $(DEPS_RM)
$(RM) client/*.o daemon/*.o
$(RM) client/_paths.h
$(RM) daemon/_paths.h
.PHONY: clean
clean:
- rm -f $(OBJS) $(DEPS) kdd
+ rm -f $(OBJS) $(DEPS_RM) kdd
.PHONY: distclean
distclean: clean
.PHONY: clean
clean: subdirs-clean
rm -f roms.inc roms.inc.new acpi.h
- rm -f hvmloader hvmloader.tmp *.o $(DEPS)
+ rm -f hvmloader hvmloader.tmp *.o $(DEPS_RM)
$(MAKE) -C $(ACPI_PATH) ACPI_BUILD_DIR=$(CURDIR) clean
.PHONY: distclean
.PHONY: clean
clean: subdirs-clean
- rm -rf *.o $(TARGET) $(DEPS)
+ rm -rf *.o $(TARGET) $(DEPS_RM)
.PHONY: distclean
distclean: subdirs-distclean
.PHONY: clean
clean:
- rm -rf *.o $(TARGET) $(DEPS)
+ rm -rf *.o $(TARGET) $(DEPS_RM)
.PHONY: distclean
distclean: clean
rm -f as86-sym.txt ld86-sym.txt
rm -f rombios*.txt rombios*.sym usage biossums
rm -f BIOS-bochs-*
- rm -f $(DEPS)
+ rm -f $(DEPS_RM)
.PHONY: distclean
distclean: clean
clean:
rm -f *.o *.opic *.so
rm -f $(CLIENTS)
- $(RM) $(DEPS)
+ $(RM) $(DEPS_RM)
.PHONY: distclean
distclean: clean
.PHONY: clean
clean:
- $(RM) -f *.o $(PROGS) $(DEPS) _paths.h
+ $(RM) -f *.o $(PROGS) $(DEPS_RM) _paths.h
distclean: clean
$(CC) $(LDFLAGS) $(SHLIB_LDFLAGS) -o $@ $^ -lfsimage $(FS_LIBDEPS) $(APPEND_LDFLAGS)
clean distclean::
- rm -f $(PIC_OBJS) $(FSLIB) $(DEPS)
+ rm -f $(PIC_OBJS) $(FSLIB) $(DEPS_RM)
-include $(DEPS)
.PHONY: clean
clean:
- rm -rf *.rpm $(LIB) *~ $(DEPS) $(LIB_OBJS) $(PIC_OBJS)
+ rm -rf *.rpm $(LIB) *~ $(DEPS_RM) $(LIB_OBJS) $(PIC_OBJS)
rm -f libxencall.so.$(MAJOR).$(MINOR) libxencall.so.$(MAJOR)
rm -f headers.chk
rm -f xencall.pc
.PHONY: clean
clean:
- rm -rf *.rpm $(LIB) *~ $(DEPS) $(LIB_OBJS) $(PIC_OBJS)
+ rm -rf *.rpm $(LIB) *~ $(DEPS_RM) $(LIB_OBJS) $(PIC_OBJS)
rm -f libxendevicemodel.so.$(MAJOR).$(MINOR) libxendevicemodel.so.$(MAJOR)
rm -f headers.chk
rm -f xendevicemodel.pc
.PHONY: clean
clean:
- rm -rf *.rpm $(LIB) *~ $(DEPS) $(LIB_OBJS) $(PIC_OBJS)
+ rm -rf *.rpm $(LIB) *~ $(DEPS_RM) $(LIB_OBJS) $(PIC_OBJS)
rm -f libxenevtchn.so.$(MAJOR).$(MINOR) libxenevtchn.so.$(MAJOR)
rm -f headers.chk
rm -f xenevtchn.pc
.PHONY: clean
clean:
- rm -rf *.rpm $(LIB) *~ $(DEPS) $(LIB_OBJS) $(PIC_OBJS)
+ rm -rf *.rpm $(LIB) *~ $(DEPS_RM) $(LIB_OBJS) $(PIC_OBJS)
rm -f libxenforeignmemory.so.$(MAJOR).$(MINOR) libxenforeignmemory.so.$(MAJOR)
rm -f headers.chk
rm -f xenforeignmemory.pc
.PHONY: clean
clean:
- rm -rf *.rpm $(LIB) *~ $(DEPS) $(LIB_OBJS) $(PIC_OBJS)
+ rm -rf *.rpm $(LIB) *~ $(DEPS_RM) $(LIB_OBJS) $(PIC_OBJS)
rm -f libxengnttab.so.$(MAJOR).$(MINOR) libxengnttab.so.$(MAJOR)
rm -f headers.chk
rm -f xengnttab.pc
.PHONY: clean
clean:
- rm -rf *.rpm $(LIB) *~ $(DEPS) $(LIB_OBJS) $(PIC_OBJS)
+ rm -rf *.rpm $(LIB) *~ $(DEPS_RM) $(LIB_OBJS) $(PIC_OBJS)
rm -f libxentoollog.so.$(MAJOR).$(MINOR) libxentoollog.so.$(MAJOR)
rm -f headers.chk
rm -f xentoollog.pc
.PHONY: clean
clean:
- $(RM) -f *.o *.opic *.so* *.a vchan-node1 vchan-node2 $(DEPS)
+ $(RM) -f *.o *.opic *.so* *.a vchan-node1 vchan-node2 $(DEPS_RM)
$(RM) -f xenvchan.pc
distclean: clean
.PHONY: clean
clean:
- rm -rf *.rpm $(LIB) *~ $(DEPS) \
+ rm -rf *.rpm $(LIB) *~ $(DEPS_RM) \
_paths.h \
xencontrol.pc xenguest.pc \
$(CTRL_LIB_OBJS) $(CTRL_PIC_OBJS) \
.PHONY: clean
clean:
- $(RM) -f _*.h *.o *.so* *.a $(CLIENTS) $(DEPS)
+ $(RM) -f _*.h *.o *.so* *.a $(CLIENTS) $(DEPS_RM)
$(RM) -f _*.c *.pyc _paths.*.tmp _*.api-for-check
$(RM) -f testidl.c.new testidl.c *.api-ok
$(RM) -f xenlight.pc
uninstall:
clean:
- rm -rf *.a *.o *~ $(DEPS)
+ rm -rf *.a *.o *~ $(DEPS_RM)
.PHONY: distclean
distclean: clean
.PHONY: clean
clean:
- $(RM) *.o $(TARGETS_BUILD) *~ $(DEPS)
+ $(RM) *.o $(TARGETS_BUILD) *~ $(DEPS_RM)
.PHONY: distclean
distclean: clean
.PHONY: clean
clean:
- rm -rf build tmp *.pyc *.pyo *.o *.a *~ a.out $(INSTALL_LOG) $(DEPS)
+ rm -rf build tmp *.pyc *.pyo *.o *.a *~ a.out $(INSTALL_LOG) $(DEPS_RM)
.PHONY: distclean
distclean: clean
clean:
find . \( -name "*.py[ocd]" -o -name "*~" -o -name "_*.[hc]" \) -delete
rm -rf build/
- rm -f $(DEPS)
+ rm -f $(DEPS_RM)
.PHONY: distclean
distclean: clean
.PHONY: clean
clean:
- $(RM) *.o $(TARGETS) *~ $(DEPS)
+ $(RM) *.o $(TARGETS) *~ $(DEPS_RM)
.PHONY: distclean
distclean: clean
.PHONY: clean
clean:
- $(RM) *.o $(TARGETS) *~ $(DEPS)
+ $(RM) *.o $(TARGETS) *~ $(DEPS_RM)
.PHONY: distclean
distclean: clean
.PHONY: clean
clean:
- $(RM) *.o $(TARGETS) *~ $(DEPS)
+ $(RM) *.o $(TARGETS) *~ $(DEPS_RM)
.PHONY: distclean
distclean: clean
.PHONY: clean
clean:
$(RM) *.o $(PROGRAMS)
- $(RM) $(DEPS)
+ $(RM) $(DEPS_RM)
.PHONY: distclean
distclean: clean
.PHONY: clean
clean:
- $(RM) *.a *.so *.o $(DEPS) xenbackendd _paths.h
+ $(RM) *.a *.so *.o $(DEPS_RM) xenbackendd _paths.h
.PHONY: distclean
distclean: clean
.PHONY: clean
clean:
- $(RM) -f $(DEPS)
+ $(RM) -f $(DEPS_RM)
$(RM) -f xenbaked xenbaked.o
$(RM) -f xentrace_setmask setmask.o
rm -f $(addprefix $(DESTDIR)$(LIBEXEC_BIN)/, $(IBINS))
clean:
- rm -f *.o *~ $(DEPS) xen TAGS $(IBINS) $(LIB)
+ rm -f *.o *~ $(DEPS_RM) xen TAGS $(IBINS) $(LIB)
distclean: clean
.PHONY: clean
clean:
- $(RM) -f xenpmd xenpmd.o $(DEPS)
+ $(RM) -f xenpmd xenpmd.o $(DEPS_RM)
.PHONY: distclean
distclean: clean
.PHONY: clean
clean:
rm -f $(LIB) $(SHLIB) $(SHLIB_LINKS) $(OBJECTS-y) \
- $(BINDINGS) $(BINDINGSRC) $(DEPS) src/_paths.h
+ $(BINDINGS) $(BINDINGSRC) $(DEPS_RM) src/_paths.h
rm -f xenstat.pc
.PHONY: distclean
.PHONY: clean
clean:
- rm -f xentop xentop.o $(DEPS)
+ rm -f xentop xentop.o $(DEPS_RM)
.PHONY: distclean
distclean: clean
rm -f xs_tdb_dump xenstore-control init-xenstore-domain
rm -f xenstore $(CLIENTS)
rm -f xenstore.pc
- $(RM) $(DEPS)
+ $(RM) $(DEPS_RM)
.PHONY: distclean
distclean: clean
.PHONY: clean
clean:
- $(RM) *.a *.so *.o *.rpm $(BIN) $(SBIN) $(LIBBIN) $(DEPS)
+ $(RM) *.a *.so *.o *.rpm $(BIN) $(SBIN) $(LIBBIN) $(DEPS_RM)
.PHONY: distclean
distclean: clean
.PHONY: clean
clean:
- $(RM) -f *.o xl _paths.h $(DEPS)
+ $(RM) -f *.o xl _paths.h $(DEPS_RM)
distclean: clean
.PHONY: clean
clean:: $(addprefix _clean_, $(subdir-all))
- rm -f *.o *~ core $(DEPS)
+ rm -f *.o *~ core $(DEPS_RM)
_clean_%/: FORCE
$(MAKE) -f $(BASEDIR)/Rules.mk -C $* clean
.PHONY: clean
clean::
- rm -f $(ALL_H_FILES) *.o $(DEPS) policy.* $(POLICY_SRC)
+ rm -f $(ALL_H_FILES) *.o $(DEPS_RM) policy.* $(POLICY_SRC)