view plugins/Makefile.mingw @ 5145:fc09679bffbe

[gaim-migrate @ 5509] (21:17:26) KingAnt: The thing Luke committed a few hours ago. I think it makes it so Buddies->Get User Info gets the info of whoever is highlighted in the buddy list instead of always opening the "enter screenname" box (21:18:25) LSchiere: KingAnt: correct, as the commit message states, that's exactly what it does (21:18:29) Robot101: KingAnt: the menus don't act on buddies in the list (21:18:34) Robot101: the buttons do, but the menus don't (21:18:40) Robot101: so now it's inconsistent. (21:18:47) KingAnt: That's what I was thinking (21:18:51) Robot101: revert. (21:18:53) LSchiere: kay (21:19:09) KingAnt: Well, I was thinking more... if I want to get info of someone who's not on my buddy list, I shouldn't have to unclick on people in the buddy list (21:19:25) Robot101: that too! (21:19:37) LSchiere: i always forget the menu, so that didn't occur to me: i'm used to unclicking committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 17 Apr 2003 01:20:22 +0000
parents 0b1c01fd68f1
children 809ef68273c8
line wrap: on
line source

#
# Makefile.mingw
#
# Description: Makefile for win32 (mingw) version of Gaim Plugins 
#

#
# PATHS
#

GAIM_PLUGINS := 	.
GAIM_TOP :=		..
GTK_TOP :=		../../win32-dev/gtk_2_0
OSCAR_ROOT :=		../src/protocols/oscar
GAIM_INSTALL_DIR :=	$(GAIM_TOP)/win32-install-dir
TICKER :=		./ticker
TRANSPARENCY :=		./win32/transparency
WINPREFS :=		./win32/winprefs

##
## VARIABLE DEFINITIONS
##

# Compiler Options

CFLAGS =

DEFINES =

.SUFFIXES:
.SUFFIXES: .c .dll

##
## INCLUDE  MAKEFILES
##

include $(GAIM_TOP)/src/win32/global.mak

##
## INCLUDE PATHS
##

INCLUDE_PATHS +=	-I$(OSCAR_ROOT) \
			-I$(GTK_TOP)/include \
			-I$(GTK_TOP)/include/gtk-2.0 \
			-I$(GTK_TOP)/include/glib-2.0 \
			-I$(GTK_TOP)/include/pango-1.0 \
			-I$(GTK_TOP)/include/atk-1.0 \
			-I$(GTK_TOP)/lib/glib-2.0/include \
			-I$(GTK_TOP)/lib/gtk-2.0/include \
			-I$(GAIM_TOP) \
			-I$(GAIM_TOP)/src \
			-I$(GAIM_TOP)/src/win32


LIB_PATHS =		-L$(GTK_TOP)/lib \
			-L$(GAIM_TOP)/src


##
## LIBRARIES
##

LIBS = -lgtk-win32-2.0 -lglib-2.0 -lgdk-win32-2.0 -lgobject-2.0 -lgmodule-2.0 -lintl -lws2_32 -liberty -lgaim

##
## RULES
##

##
## TARGET DEFINITIONS
##

.PHONY: all clean

all: plugins
	$(MAKE) -C $(TICKER) -f Makefile.mingw
	$(MAKE) -C $(WINPREFS) -f Makefile.mingw
	$(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw

install:
	cp $(GAIM_PLUGINS)/*.dll $(GAIM_INSTALL_DIR)/plugins
	$(MAKE) -C $(TICKER) -f Makefile.mingw install
	$(MAKE) -C $(WINPREFS) -f Makefile.mingw install
	$(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw install

#
# BUILD Plugin
#

.c.dll:
	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o tmp$@.o -c $<
	dlltool -D $@ -z $@.def tmp$@.o
	$(CC) -mdll -o junk.tmp -Wl,--base-file,$@.base tmp$@.o $(LIB_PATHS) $(LIBS)
	dlltool -D $@ -b $@.base -e $@.exp -d $@.def
	$(CC) -mdll -o $@ tmp$@.o -Wl,$@.exp $(LIB_PATHS) $(LIBS)
	rm -rf $@.base $@.def $@.exp junk.tmp

plugins: iconaway.dll spellchk.dll autorecon.dll


##
## CLEAN RULES
##

clean:
	rm -rf *.o
	rm -rf *.dll
	$(MAKE) -C $(TICKER) -f Makefile.mingw clean
	$(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw clean
	$(MAKE) -C $(WINPREFS) -f Makefile.mingw clean