sspi: decouple from HAVE_LIBKRB5 flag
[siplcs.git] / Makefile.mingw
blobe0e5ec385562194f040a164f037e608a0f5f93fe
1 # Makefile.mingw
3 # Author: pier11@operamail.com
4 # Author: zup@sbox.tugraz.at
5 # Date 11 Nov 2009
6 # Description: Top Makefile for win32 (mingw) port of LCS protocol plugin
9 export PIDGIN_TREE_TOP := ../pidgin-2.10.0
10 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
12 export CFLAGS=-Werror
14 WIX3_HOME := /cygdrive/c/Program\ Files/Windows\ Installer\ XML\ v3
15 WXS_NAME := pidgin-sipe
16 export VERSION := $(shell cat VERSION)
18 .PHONY: all clean install msi dev devinst nsis
20 all: 
21         $(MAKE) -C src -f $(MINGW_MAKEFILE)
22         $(MAKE) -C po -f $(MINGW_MAKEFILE)
23         
24 dev: 
25         $(MAKE) -C src -f $(MINGW_MAKEFILE)
27 clean:
28         $(MAKE) -C src -f $(MINGW_MAKEFILE) clean
29         $(MAKE) -C po -f $(MINGW_MAKEFILE) clean
30         rm -f $(WXS_NAME).wix*
31         rm -f $(WXS_NAME)-$(VERSION).msi
32         rm -f pidgin-sipe-$(VERSION).exe
33   
34 rmbak:
35         rm -f *~
36         $(MAKE) -C src -f $(MINGW_MAKEFILE) rmbak
37         
38 install: all
39         $(MAKE) -C src -f $(MINGW_MAKEFILE) install
40         $(MAKE) -C po -f $(MINGW_MAKEFILE) install
41         $(MAKE) -C pixmaps -f $(MINGW_MAKEFILE) install
42         
43 devinst: dev
44         $(MAKE) -C src -f $(MINGW_MAKEFILE) install
45         
46 tests: dev
47         $(MAKE) -C src -f $(MINGW_MAKEFILE) tests
48         
49 msi: all
50         PACKAGE_VERSION=$(VERSION) $(WIX3_HOME)/bin/candle $(WXS_NAME).wxs
51         $(WIX3_HOME)/bin/light $(WXS_NAME).wixobj
52         mv $(WXS_NAME).msi $(WXS_NAME)-$(VERSION).msi
54 nsis: install
55         makensis -DTREETOP=..\\pidgin-2.10.0 -DVERSION=$(VERSION) pidgin-sipe.nsi