3 # Author: zup@sbox.tugraz.at
5 # Description: Top Makefile for win32 (mingw) port of LCS protocol plugin
8 export PIDGIN_TREE_TOP := ../pidgin-2.6.2
9 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
13 WIX3_HOME := /cygdrive/c/Program\ Files/Windows\ Installer\ XML\ v3
14 WXS_NAME := pidgin-sipe
17 .PHONY: all clean install msi
20 $(MAKE) -C src -f $(MINGW_MAKEFILE)
21 $(MAKE) -C po -f $(MINGW_MAKEFILE)
24 $(MAKE) -C src -f $(MINGW_MAKEFILE) clean
25 $(MAKE) -C po -f $(MINGW_MAKEFILE) clean
26 rm -f $(WXS_NAME).wix*
27 rm -f $(WXS_NAME)-$(VERSION).msi
31 $(MAKE) -C src -f $(MINGW_MAKEFILE) rmbak
34 $(MAKE) -C src -f $(MINGW_MAKEFILE) install
35 $(MAKE) -C po -f $(MINGW_MAKEFILE) install
36 $(MAKE) -C pixmaps -f $(MINGW_MAKEFILE) install
39 SIPE_VERSION=$(VERSION) $(WIX3_HOME)/bin/candle $(WXS_NAME).wxs
40 $(WIX3_HOME)/bin/light $(WXS_NAME).wixobj
41 mv $(WXS_NAME).msi $(WXS_NAME)-$(VERSION).msi