Skip to contentSkip to conversation

Build fixes for make clean

PATCH New Kurt Hackel 1 participant 1 message Dec 12, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Build fixes for make clean

Hi,

Just a few fixes for "make clean".

Thanks
kurt

===================================================================

tools/libfsimage/Rules.mk +1 -1
diff -r 4054cd60895b tools/libfsimage/Rules.mk
@@ -27,6 +27,6 @@ fs-install: fs-all
 	$(CC) $(CFLAGS) $(LDFLAGS) $(SHLIB_CFLAGS) -o $@ $^ -lfsimage $(FS_LIBDEPS)
 
 clean distclean:
-	rm -f $(PIC_OBJS) $(FSLIB)
+	rm -f $(PIC_OBJS) $(FSLIB) $(DEPS)
 
 -include $(DEPS)
tools/libfsimage/common/Makefile +1 -1
diff -r 4054cd60895b 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 $< $@
tools/libxc/Makefile +2 -1
diff -r 4054cd60895b tools/libxc/Makefile
@@ -125,7 +125,8 @@ clean:
 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
tools/python/Makefile +1 -1
diff -r 4054cd60895b 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