3 # Author: pier11@operamail.com
4 # Author: zup@sbox.tugraz.at
6 # Description: Top Makefile for win32 (mingw) port of LCS protocol plugin
9 export PIDGIN_TREE_TOP := ../pidgin-2.6.6
10 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
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
21 $(MAKE) -C src -f $(MINGW_MAKEFILE)
22 $(MAKE) -C po -f $(MINGW_MAKEFILE)
25 $(MAKE) -C src -f $(MINGW_MAKEFILE)
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
35 $(MAKE) -C src -f $(MINGW_MAKEFILE) rmbak
38 $(MAKE) -C src -f $(MINGW_MAKEFILE) install
39 $(MAKE) -C po -f $(MINGW_MAKEFILE) install
40 $(MAKE) -C pixmaps -f $(MINGW_MAKEFILE) install
43 $(MAKE) -C src -f $(MINGW_MAKEFILE) install
46 $(MAKE) -C src -f $(MINGW_MAKEFILE) tests
49 PACKAGE_VERSION=$(VERSION) $(WIX3_HOME)/bin/candle $(WXS_NAME).wxs
50 $(WIX3_HOME)/bin/light $(WXS_NAME).wixobj
51 mv $(WXS_NAME).msi $(WXS_NAME)-$(VERSION).msi