changeset 10804:6dcfec6f2f7c

[gaim-migrate @ 12452] make -f Makefile.mingw WINDRES=i386-mingw32-windres CC=i386-mingw32-gcc PERL=/usr/bin/perl EXTUTILS=/usr/lib/perl5/5.8.3/ExtUtils GMSGFMT=/usr/bin/msgfmt MAKENSIS=~/build/win32/win32-dev/NSIS/makensis install committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 09 Apr 2005 17:12:07 +0000
parents 3595f818ee37
children 4151d16f6348
files Makefile.mingw plugins/perl/Makefile.mingw plugins/perl/common/Makefile.mingw po/Makefile.mingw src/Makefile.mingw
diffstat 5 files changed, 12 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.mingw	Sat Apr 09 16:36:11 2005 +0000
+++ b/Makefile.mingw	Sat Apr 09 17:12:07 2005 +0000
@@ -27,6 +27,8 @@
 SILC = $(GAIM_PROTOS)/silc
 PO = ./po
 
+MAKENSIS := makensis.exe
+
 VERSION := $(shell cat ./VERSION)
 
 NEEDED_DLLS =		$(GTKSPELL_TOP)/libgtkspell.dll \
@@ -91,13 +93,13 @@
 	cp $(SOUNDS) $(GAIM_INSTALL_DIR)/sounds/gaim
 
 installer:
-	makensis.exe /DGAIM_VERSION="$(VERSION)" /DWITH_GTK gaim-installer.nsi
+	$(MAKENSIS) /DGAIM_VERSION="$(VERSION)" /DWITH_GTK gaim-installer.nsi
 
 installer_nogtk:
-	makensis.exe /DGAIM_VERSION="$(VERSION)" gaim-installer.nsi
+	$(MAKENSIS) /DGAIM_VERSION="$(VERSION)" gaim-installer.nsi
 
 installer_debug:
-	makensis.exe /DGAIM_VERSION="$(VERSION)" /DDEBUG gaim-installer.nsi
+	$(MAKENSIS) /DGAIM_VERSION="$(VERSION)" /DDEBUG gaim-installer.nsi
 
 installers: installer installer_nogtk
 
--- a/plugins/perl/Makefile.mingw	Sat Apr 09 16:36:11 2005 +0000
+++ b/plugins/perl/Makefile.mingw	Sat Apr 09 17:12:07 2005 +0000
@@ -21,7 +21,7 @@
 
 TARGET = perl
 
-CC = gcc.exe
+CC := gcc.exe
 
 # Compiler Options
 
--- a/plugins/perl/common/Makefile.mingw	Sat Apr 09 16:36:11 2005 +0000
+++ b/plugins/perl/common/Makefile.mingw	Sat Apr 09 17:12:07 2005 +0000
@@ -11,8 +11,8 @@
 ## TOOLS
 ##
 
-CC = gcc
-PERL = /cygdrive/c/perl/bin/perl
+CC := gcc
+PERL := /cygdrive/c/perl/bin/perl
 
 ##
 ## PATHS
--- a/po/Makefile.mingw	Sat Apr 09 16:36:11 2005 +0000
+++ b/po/Makefile.mingw	Sat Apr 09 17:12:07 2005 +0000
@@ -19,7 +19,7 @@
 ## TOOLS
 ##
 
-GMSGFMT = $(GTK_BIN)/msgfmt
+GMSGFMT := $(GTK_BIN)/msgfmt
 
 
 .SUFFIXES:
--- a/src/Makefile.mingw	Sat Apr 09 16:36:11 2005 +0000
+++ b/src/Makefile.mingw	Sat Apr 09 17:12:07 2005 +0000
@@ -37,6 +37,8 @@
 #-mconsole
 #-mwindows
 
+WINDRES := windres
+
 ##
 ## INCLUDE  MAKEFILES
 ##
@@ -194,7 +196,7 @@
 
 # How to make an RC file
 %.o: %.rc
-	windres -i $< -o $@
+	$(WINDRES) -i $< -o $@
 
 ##
 ## TARGET DEFINITIONS