[gimp] Different resource rule approach



commit 88b916a4abc6c17ed9450946d15e1f3b13724c53
Author: Michael Schumacher <schumaml gmx de>
Date:   Fri Apr 15 21:55:34 2011 +0200

    Different resource rule approach
    
    The last change fixed the warnings, but broke the build.
    This reintroduces some warnings, but fixes the build again.

 build/windows/gimprc-plug-ins.rule |    6 +++---
 build/windows/gimprc.rule          |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/build/windows/gimprc-plug-ins.rule b/build/windows/gimprc-plug-ins.rule
index 268cdc0..1f6af25 100644
--- a/build/windows/gimprc-plug-ins.rule
+++ b/build/windows/gimprc-plug-ins.rule
@@ -1,10 +1,10 @@
 # Version resources for Microsoft Windows
 
-SUFFIXES = .rc .rc.o
+GIMPPLUGINRC = $(top_srcdir)/build/windows/gimp-plug-ins.rc
 
-.rc.rc.o: $(top_srcdir)/build/windows/gimp-plug-ins.rc
+%.rc.o:
 	$(WINDRES) --define ORIGINALFILENAME_STR="$*$(EXEEXT)" \
 		--define INTERNALNAME_STR="$*" \
 		--define TOP_SRCDIR="$(top_srcdir)" \
 		-I$(top_srcdir)/app \
-		$< $@
+		$(GIMPPLUGINRC) $@
diff --git a/build/windows/gimprc.rule b/build/windows/gimprc.rule
index b6b81f5..93d7e17 100644
--- a/build/windows/gimprc.rule
+++ b/build/windows/gimprc.rule
@@ -1,10 +1,10 @@
 # Version resources for Microsoft Windows
 
-SUFFIXES = .rc .rc.o
+GIMPAPPRC = $(top_srcdir)/build/windows/gimp.rc
 
-.rc.rc.o: $(top_srcdir)/build/windows/gimp.rc
+%.rc.o: 
 	$(WINDRES) --define ORIGINALFILENAME_STR="$*$(EXEEXT)" \
 		--define INTERNALNAME_STR="$*" \
 		--define TOP_SRCDIR="$(top_srcdir)" \
 		-I$(top_srcdir)/app \
-		$< $@
+		$(GIMPAPPRC) $@



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]