view Makefile.mingw @ 14248:4975f529d909

[gaim-migrate @ 16930] And this needs to be done before calling gaim_connection_error(). The IRC PPRL should only free the sslconn if the connection is canceled half-way through, or if the connection has completed and the user signs offline. If the connection fails normally then sslconn.c is responsible for destroying the sslconn. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 21 Aug 2006 02:05:55 +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