Blame 0063-Makefile-add-dependencies-for-dracut-install-generat.patch

Harald Hoyer 811c04
From c9baff669d659998edb5d8269ef8e004aaad1d4a Mon Sep 17 00:00:00 2001
Harald Hoyer 811c04
From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name>
Harald Hoyer 811c04
Date: Fri, 27 Jul 2012 09:34:32 +0200
Harald Hoyer 811c04
Subject: [PATCH] Makefile: add dependencies for dracut-install (generated
Harald Hoyer 811c04
 with gcc -MM)
Harald Hoyer 811c04
Harald Hoyer 811c04
---
Harald Hoyer 811c04
 Makefile | 10 +++++++++-
Harald Hoyer 811c04
 1 file changed, 9 insertions(+), 1 deletion(-)
Harald Hoyer 811c04
Harald Hoyer 811c04
diff --git a/Makefile b/Makefile
Harald Hoyer 811c04
index 28381df..cd15009 100644
Harald Hoyer 811c04
--- a/Makefile
Harald Hoyer 811c04
+++ b/Makefile
Harald Hoyer 811c04
@@ -41,6 +41,14 @@ DRACUT_INSTALL_OBJECTS = \
Harald Hoyer 811c04
         install/log.o \
Harald Hoyer 811c04
         install/util.o
Harald Hoyer 811c04
 
Harald Hoyer 811c04
+# deps generated with gcc -MM
Harald Hoyer 811c04
+install/dracut-install.o: install/dracut-install.c install/log.h install/macro.h \
Harald Hoyer 811c04
+	install/hashmap.h install/util.h
Harald Hoyer 811c04
+install/hashmap.o: install/hashmap.c install/util.h install/macro.h install/log.h \
Harald Hoyer 811c04
+	install/hashmap.h
Harald Hoyer 811c04
+install/log.o: install/log.c install/log.h install/macro.h install/util.h
Harald Hoyer 811c04
+install/util.o: install/util.c install/util.h install/macro.h install/log.h
Harald Hoyer 811c04
+
Harald Hoyer 811c04
 install/dracut-install: $(DRACUT_INSTALL_OBJECTS)
Harald Hoyer 811c04
 
Harald Hoyer 811c04
 dracut-install: install/dracut-install
Harald Hoyer 811c04
@@ -109,7 +117,7 @@ clean:
Harald Hoyer 811c04
 	$(RM) */*/*~
Harald Hoyer 811c04
 	$(RM) test-*.img
Harald Hoyer 811c04
 	$(RM) dracut-*.rpm dracut-*.tar.bz2
Harald Hoyer 811c04
-	$(RM) $(DRACUT_INSTALL_BIN) install/dracut-install $(DRACUT_INSTALL_OBJECTS)
Harald Hoyer 811c04
+	$(RM) dracut-install install/dracut-install $(DRACUT_INSTALL_OBJECTS)
Harald Hoyer 811c04
 	$(RM) $(manpages) dracut.html
Harald Hoyer 811c04
 	$(MAKE) -C test clean
Harald Hoyer 811c04