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.5.5
9 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
11 WIX3_HOME := /cygdrive/c/Program\ Files/Windows\ Installer\ XML\ v3
12 WXS_NAME := pidgin-sipe
15 .PHONY: all clean install msi
18 $(MAKE) -C src -f $(MINGW_MAKEFILE)
19 $(MAKE) -C po -f $(MINGW_MAKEFILE)
22 $(MAKE) -C src -f $(MINGW_MAKEFILE) clean
23 $(MAKE) -C po -f $(MINGW_MAKEFILE) clean
24 rm -f $(WXS_NAME).wix*
25 rm -f $(WXS_NAME)-$(VERSION).msi
29 $(MAKE) -C src -f $(MINGW_MAKEFILE) rmbak
32 $(MAKE) -C src -f $(MINGW_MAKEFILE) install
33 $(MAKE) -C po -f $(MINGW_MAKEFILE) install
34 $(MAKE) -C pixmaps -f $(MINGW_MAKEFILE) install
37 SIPE_VERSION=$(VERSION) $(WIX3_HOME)/bin/candle $(WXS_NAME).wxs
38 $(WIX3_HOME)/bin/light $(WXS_NAME).wixobj
39 mv $(WXS_NAME).msi $(WXS_NAME)-$(VERSION).msi