callControl: Make Call command and callback
[siplcs.git] / Makefile.mingw
blobcfd8fe57e71a4922a720ad3214f13cdb1d82ef84
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.6.2
9 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
11 export CFLAGS=-Werror
13 WIX3_HOME := /cygdrive/c/Program\ Files/Windows\ Installer\ XML\ v3
14 WXS_NAME := pidgin-sipe
15 VERSION := 1.6.3
17 .PHONY: all clean install msi
19 all: 
20         $(MAKE) -C src -f $(MINGW_MAKEFILE)
21         $(MAKE) -C po -f $(MINGW_MAKEFILE)
23 clean:
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
28   
29 rmbak:
30         rm -f *~
31         $(MAKE) -C src -f $(MINGW_MAKEFILE) rmbak
32         
33 install: all
34         $(MAKE) -C src -f $(MINGW_MAKEFILE) install
35         $(MAKE) -C po -f $(MINGW_MAKEFILE) install
36         $(MAKE) -C pixmaps -f $(MINGW_MAKEFILE) install
37         
38 msi: all
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