Skip to contentSkip to conversation

make make clean remove a few more files

PATCH In review Jacob Gorm Hansen 1 participant 2 messages Feb 15, 2005 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make make clean remove a few more files

attached patch should be self-explanatory.

Jacob

Makefile +1 -1
@@ -38,7 +38,7 @@
 install: install-xen install-tools install-kernels install-docs
 
 # build and install everything into local dist directory
-dist: xen tools kernels docs
+dist: xen tools docs
 	$(INSTALL_DIR) $(DISTDIR)/check
 	$(INSTALL_DATA) ./COPYING $(DISTDIR)
 	$(INSTALL_DATA) ./README $(DISTDIR)
tools/Makefile +1 -0
@@ -25,6 +25,7 @@
 	$(MAKE) -C ioemu install
 
 clean:
+	$(MAKE) -C check clean
 	$(MAKE) -C libxutil clean
 	$(MAKE) -C libxc clean
 	$(MAKE) -C misc clean
tools/xcs/Makefile +1 -1
@@ -31,7 +31,7 @@
 all: $(BIN) xcsdump
 
 clean:
-	$(RM) *.a *.so *.o *.rpm $(BIN) ctrl_dump
+	$(RM) *.a *.so *.o *.rpm $(BIN) ctrl_dump xcsdump
 
 xcsdump: xcsdump.c
 	$(CC) $(CFLAGS) -o xcsdump xcsdump.c -L$(XEN_LIBXC) -L$(XEN_LIBXUTIL) \
xen/Makefile +2 -2
@@ -42,7 +42,7 @@
 	$(MAKE) -C common clean
 	$(MAKE) -C drivers clean
 	$(MAKE) -C arch/$(TARGET_ARCH) clean
-	rm -f include/asm *.o $(TARGET)* *~ core include/xen/compile.h
+	rm -f include/asm *.o $(TARGET)* *~ core include/xen/compile.h include/xen/banner.h
 	rm -f include/asm-*/asm-offsets.h
 	rm -f tools/figlet/*.o tools/figlet/figlet
 
@@ -85,7 +85,7 @@
 	tools/figlet/figlet -d tools/figlet Xen $(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION) > [email protected]
 	@mv -f [email protected] $@
 
-include/asm-$(TARGET_ARCH)/asm-offsets.h: arch/$(TARGET_ARCH)/asm-offsets.s
+include/asm-$(TARGET_ARCH)/asm-offsets.h: arch/$(TARGET_ARCH)/asm-offsets.s $(HDRS)
 	@(set -e; \
 	  echo "/*"; \
 	  echo " * DO NOT MODIFY."; \
#1 lore raw

oops, the last part was unrelated to this change -- new version attached.

Jacob

Makefile +1 -1
@@ -38,7 +38,7 @@
 install: install-xen install-tools install-kernels install-docs
 
 # build and install everything into local dist directory
-dist: xen tools kernels docs
+dist: xen tools docs
 	$(INSTALL_DIR) $(DISTDIR)/check
 	$(INSTALL_DATA) ./COPYING $(DISTDIR)
 	$(INSTALL_DATA) ./README $(DISTDIR)
tools/Makefile +1 -0
@@ -25,6 +25,7 @@
 	$(MAKE) -C ioemu install
 
 clean:
+	$(MAKE) -C check clean
 	$(MAKE) -C libxutil clean
 	$(MAKE) -C libxc clean
 	$(MAKE) -C misc clean
tools/xcs/Makefile +1 -1
@@ -31,7 +31,7 @@
 all: $(BIN) xcsdump
 
 clean:
-	$(RM) *.a *.so *.o *.rpm $(BIN) ctrl_dump
+	$(RM) *.a *.so *.o *.rpm $(BIN) ctrl_dump xcsdump
 
 xcsdump: xcsdump.c
 	$(CC) $(CFLAGS) -o xcsdump xcsdump.c -L$(XEN_LIBXC) -L$(XEN_LIBXUTIL) \
xen/Makefile +1 -1
@@ -42,7 +42,7 @@
 	$(MAKE) -C common clean
 	$(MAKE) -C drivers clean
 	$(MAKE) -C arch/$(TARGET_ARCH) clean
-	rm -f include/asm *.o $(TARGET)* *~ core include/xen/compile.h
+	rm -f include/asm *.o $(TARGET)* *~ core include/xen/compile.h include/xen/banner.h
 	rm -f include/asm-*/asm-offsets.h
 	rm -f tools/figlet/*.o tools/figlet/figlet