view Makefile.mingw @ 14313:8a2b571f9990

[gaim-migrate @ 17005] a prpl's set_idle function can be called before the login function this is because the signing-on signal is emitted, and there's a callback to check idle and update all the prpls attached to that signal this meant that if you were idle, and got disconnected from jabber, upon attempting to reconnect, you'd segfault I've changed how jabber handles idle updates to work around this. someone may want to audit the other prpls, to make sure their set_idle callbacks (if any) don't assume the connection is up committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 23 Aug 2006 16:36:58 +0000
parents c54ea2572de9
children 8793fc8f7064
line wrap: on
line source

# Makefile.mingw
#
# Author: hermanator12002@yahoo.com
# Date 9/11/02
# Description: Top Makefile for win32 (mingw) port of Gaim
#

LIBGAIM_TOP = ./libgaim
GTKGAIM_TOP = ./gtk
GAIM_SOUNDS = ./sounds
GAIM_INSTALL_DIR = ./win32-install-dir
PO = ./po

MAKENSIS := makensis.exe

VERSION := $(shell cat ./VERSION)


all:
	cp config.h.mingw config.h
	$(MAKE) -C $(LIBGAIM_TOP) -f Makefile.mingw
	$(MAKE) -C $(GTKGAIM_TOP) -f Makefile.mingw

install: all
	mkdir -p $(GAIM_INSTALL_DIR)/plugins
	mkdir -p $(GAIM_INSTALL_DIR)/sounds/gaim
	$(MAKE) -C $(PO) -f Makefile.mingw install
	$(MAKE) -C $(LIBGAIM_TOP) -f Makefile.mingw install
	$(MAKE) -C $(GTKGAIM_TOP) -f Makefile.mingw install

installer:
	$(MAKENSIS) /DGAIM_VERSION="$(VERSION)" /DWITH_GTK gaim-installer.nsi

installer_nogtk:
	$(MAKENSIS) /DGAIM_VERSION="$(VERSION)" gaim-installer.nsi

installer_debug:
	$(MAKENSIS) /DGAIM_VERSION="$(VERSION)" /DDEBUG gaim-installer.nsi

installers: installer installer_nogtk


clean:
	$(MAKE) -C $(PO) -f Makefile.mingw clean
	$(MAKE) -C $(LIBGAIM_TOP) -f Makefile.mingw clean
	$(MAKE) -C $(GTKGAIM_TOP) -f Makefile.mingw clean
	rm -rf config.h $(GAIM_INSTALL_DIR)
	rm -rf gaim*.exe