Fixed a problem when you added a new contact on OCS2007.
[siplcs.git] / Makefile.mingw
blob9e3ab1ae15bda2aadc6e56fc07b856313a1f07e7
1 # Makefile.mingw
3 # Author: zup@sbox.tugraz.at
4 # Date 8/28/07
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
13 VERSION := 1.4.0
15 .PHONY: all clean install msi
17 all: 
18         $(MAKE) -C src -f $(MINGW_MAKEFILE)
19         $(MAKE) -C po -f $(MINGW_MAKEFILE)
21 clean:
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
26   
27 rmbak:
28         rm -f *~
29         $(MAKE) -C src -f $(MINGW_MAKEFILE) rmbak
30         
31 install: all
32         $(MAKE) -C src -f $(MINGW_MAKEFILE) install
33         $(MAKE) -C po -f $(MINGW_MAKEFILE) install
34         $(MAKE) -C pixmaps -f $(MINGW_MAKEFILE) install
35         
36 msi: all
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