Release 1.25.0 -- Buddy Idle Time, RTF
[siplcs.git] / contrib / mingw-cross-compile / local.mak
blobfe82e71e86efed514c010fc5185870b0c7bf094e
2 # Fedora 19+: upgrade to mingw32-gcc 4.8.x breaks backward compatibility.
3 # Fetch F18 packages of mingw32-gcc and set PIDGIN_MINGW_ROOT
4 # and LD_LIBRARY_PATH to the local install root.
6 ifneq ($(wildcard $(PIDGIN_MINGW_ROOT)/bin/i686-w64-mingw32-*),)
7 # Fedora 17+
8 CC := $(PIDGIN_MINGW_ROOT)/bin/i686-w64-mingw32-gcc
9 STRIP := $(PIDGIN_MINGW_ROOT)/bin/i686-w64-mingw32-strip
10 WINDRES := $(PIDGIN_MINGW_ROOT)/bin/i686-w64-mingw32-windres
11 EXTUTILS := /usr/share/perl5/ExtUtils
12 else ifneq ($(wildcard $(PIDGIN_MINGW_ROOT)/usr/bin/i686-pc-mingw32-*),)
13 # Fedora
14 CC := $(PIDGIN_MINGW_ROOT)/usr/bin/i686-pc-mingw32-gcc
15 STRIP := $(PIDGIN_MINGW_ROOT)/usr/bin/i686-pc-mingw32-strip
16 WINDRES := $(PIDGIN_MINGW_ROOT)/usr/bin/i686-pc-mingw32-windres
17 EXTUTILS := /usr/share/perl5/ExtUtils
18 else
19 # Ubuntu
20 CC := /usr/bin/i586-mingw32msvc-cc
21 STRIP := /usr/bin/i586-mingw32msvc-strip
22 WINDRES := /usr/bin/i586-mingw32msvc-windres
23 EXTUTILS := /usr/share/perl/5.10/ExtUtils
24 endif
26 # common
27 GMSGFMT := msgfmt
28 MAKENSIS := /usr/bin/makensis
29 PERL := /usr/bin/perl
31 INCLUDE_PATHS := -I\$(PIDGIN_TREE_TOP)/../win32-dev/w32api/include
32 LIB_PATHS := -L\$(PIDGIN_TREE_TOP)/../win32-dev/w32api/lib