1# Version resources for Microsoft Windows
2
3GIMPPLUGINRC = $(top_builddir)/build/windows/gimp-plug-ins.rc
4
5# `windres` seems a very stupid tool and it breaks with double shlashes
6# in parameter paths. Strengthen the rule a little.
7%.rc.o:
8	$(WINDRES) --define ORIGINALFILENAME_STR="$*$(EXEEXT)" \
9		--define INTERNALNAME_STR="$*" \
10		--define TOP_SRCDIR="`echo $(top_srcdir) | sed 's*//*/*'`" \
11		-I"`echo $(top_srcdir)/app | sed 's%/\+%/%'`" \
12		-I"`echo $(top_builddir)/app | sed 's%/\+%/%'`"\
13		-I"`echo $(top_builddir) | sed 's%/\+%/%'`"\
14		$(GIMPPLUGINRC) $@
15