summaryrefslogtreecommitdiffstats
path: root/build/windows/gimprc-plug-ins.rule
blob: eaf059d8214ce1e09ca9da7f72c38061ce313421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Version resources for Microsoft Windows

GIMPPLUGINRC = $(top_builddir)/build/windows/gimp-plug-ins.rc

# `windres` seems a very stupid tool and it breaks with double shlashes
# in parameter paths. Strengthen the rule a little.
%.rc.o:
	$(WINDRES) --define ORIGINALFILENAME_STR="$*$(EXEEXT)" \
		--define INTERNALNAME_STR="$*" \
		--define TOP_SRCDIR="`echo $(top_srcdir) | sed 's*//*/*'`" \
		-I"`echo $(top_srcdir)/app | sed 's%/\+%/%'`" \
		-I"`echo $(top_builddir)/app | sed 's%/\+%/%'`"\
		-I"`echo $(top_builddir) | sed 's%/\+%/%'`"\
		$(GIMPPLUGINRC) $@