added checks and rules to build and link the win32 icon resource if the

2004-08-01  Michael Schumacher <schumaml@cvs.gnome.org>

	* app/Makefile.am: added checks and rules to build and link the
	win32 icon resource if the resource compiler windres is found by
	configure. First part of a fix for bug #148443.
This commit is contained in:
Michael Schumacher 2004-08-01 15:28:32 +00:00 committed by Michael Schumacher
parent f460fda503
commit 3c1c0465ac
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-08-01 Michael Schumacher <schumaml@cvs.gnome.org>
* app/Makefile.am: added checks and rules to build and link the
win32 icon resource if the resource compiler windres is found by
configure. First part of a fix for bug #148443.
2004-08-01 Michael Schumacher <schumaml@cvs.gnome.org>
* libgimpwidgets/gimpwidgets.def: added gimp_preview_area_fill

View File

@ -68,6 +68,10 @@ if OS_WIN32
mwindows = -mwindows
endif
if HAVE_WINDRES
GIMPICONRC = gimprc.o
endif
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"Gimp\" \
-DGIMP_APP_GLUE_COMPILATION \
@ -134,7 +138,8 @@ gimp_2_1_LDADD = \
$(GIMP_THREAD_LIBS) \
$(GIMP_MP_LIBS) \
$(RT_LIBS) \
$(INTLLIBS)
$(INTLLIBS) \
$(GIMPICONRC)
if ENABLE_GIMP_CONSOLE
@ -177,7 +182,8 @@ gimp_console_2_1_LDADD = \
$(GIMP_THREAD_LIBS) \
$(GIMP_MP_LIBS) \
$(RT_LIBS) \
$(INTLLIBS)
$(INTLLIBS) \
$(GIMPICONRC)
endif
@ -223,3 +229,6 @@ dist-dump-gimprc: gimp-console-$(GIMP_APP_VERSION)$(EXEEXT)
dist-hook: dist-check-gimp-console dist-dump-gimprc
gimprc.o:
$(WINDRES) gimp.rc gimprc.o