diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:30:19 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:30:19 +0000 |
commit | 5c1676dfe6d2f3c837a5e074117b45613fd29a72 (patch) | |
tree | cbffb45144febf451e54061db2b21395faf94bfe /build/windows/gimprc-plug-ins.rule | |
parent | Initial commit. (diff) | |
download | gimp-63d1391ab989f6cb1b9abeaca4ec268574f16491.tar.xz gimp-63d1391ab989f6cb1b9abeaca4ec268574f16491.zip |
Adding upstream version 2.10.34.upstream/2.10.34upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build/windows/gimprc-plug-ins.rule')
-rw-r--r-- | build/windows/gimprc-plug-ins.rule | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build/windows/gimprc-plug-ins.rule b/build/windows/gimprc-plug-ins.rule new file mode 100644 index 0000000..eaf059d --- /dev/null +++ b/build/windows/gimprc-plug-ins.rule @@ -0,0 +1,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) $@ |