aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2007-12-14 10:16:52 +0000
committerKeir Fraser <keir.fraser@citrix.com>2007-12-14 10:16:52 +0000
commit891143e3217e4d43994feb729fdc84a6e3acffe7 (patch)
tree90bcbe62d8ec6eea9dd152e11f63dfce579cfbd4
parent625a82b59cc973fc6adcca234e05e53fff4a96b5 (diff)
downloadxen-891143e3217e4d43994feb729fdc84a6e3acffe7.tar.gz
xen-891143e3217e4d43994feb729fdc84a6e3acffe7.tar.bz2
xen-891143e3217e4d43994feb729fdc84a6e3acffe7.zip
tools: Some fixes for 'make clean'.
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
-rw-r--r--tools/libfsimage/Rules.mk2
-rw-r--r--tools/libfsimage/common/Makefile2
-rw-r--r--tools/libxc/Makefile3
-rw-r--r--tools/python/Makefile2
4 files changed, 5 insertions, 4 deletions
diff --git a/tools/libfsimage/Rules.mk b/tools/libfsimage/Rules.mk
index 9d49c6373d..ca6380a4a1 100644
--- a/tools/libfsimage/Rules.mk
+++ b/tools/libfsimage/Rules.mk
@@ -27,6 +27,6 @@ $(FSLIB): $(PIC_OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) $(SHLIB_CFLAGS) -o $@ $^ -lfsimage $(FS_LIBDEPS)
clean distclean:
- rm -f $(PIC_OBJS) $(FSLIB)
+ rm -f $(PIC_OBJS) $(FSLIB) $(DEPS)
-include $(DEPS)
diff --git a/tools/libfsimage/common/Makefile b/tools/libfsimage/common/Makefile
index 6efce44f02..5c22fa974d 100644
--- a/tools/libfsimage/common/Makefile
+++ b/tools/libfsimage/common/Makefile
@@ -32,7 +32,7 @@ install: all
$(INSTALL_DATA) fsimage_grub.h $(DESTDIR)/usr/include
clean distclean:
- rm -f $(PIC_OBJS) $(LIB)
+ rm -f $(PIC_OBJS) $(LIB) $(DEPS)
libfsimage.so: libfsimage.so.$(MAJOR)
ln -sf $< $@
diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile
index 3c9899d152..618b371615 100644
--- a/tools/libxc/Makefile
+++ b/tools/libxc/Makefile
@@ -125,7 +125,8 @@ TAGS:
clean:
rm -rf *.rpm $(LIB) *~ $(DEPS) xen \
$(CTRL_LIB_OBJS) $(CTRL_PIC_OBJS) \
- $(GUEST_LIB_OBJS) $(GUEST_PIC_OBJS)
+ $(GUEST_LIB_OBJS) $(GUEST_PIC_OBJS) \
+ $(LIBELF_SRCS) libelf-private.h
.PHONY: rpm
rpm: build
diff --git a/tools/python/Makefile b/tools/python/Makefile
index 880a19c9ff..21be26b99b 100644
--- a/tools/python/Makefile
+++ b/tools/python/Makefile
@@ -104,4 +104,4 @@ test:
.PHONY: clean
clean:
- rm -rf build *.pyc *.pyo *.o *.a *~ $(CATALOGS) xen/util/xsm/xsm.py
+ rm -rf build *.pyc *.pyo *.o *.a *~ $(CATALOGS) xen/util/xsm/xsm.py xen/util/auxbin.pyc