view Makefile.mingw @ 14297:3248928fbb00

[gaim-migrate @ 16987] I didn't like this in the buddy list, but the plugins dialog needed it committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 22 Aug 2006 20:07:16 +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