view gtk/win32/IdleTracker/Makefile.mingw @ 15161:bface7451bd1

[gaim-migrate @ 17947] If a message is being received in a group chat at a moment just after it has been left, gaim_conv_chat_incoming_msg() is still triggerred but find_oscar_chat_by_conn() returns NULL. We no longer crash in this situation. committer: Tailor Script <tailor@pidgin.im>
author Evan Schoenberg <evan.s@dreskin.net>
date Sun, 10 Dec 2006 14:45:27 +0000
parents 5d03b309b482
children
line wrap: on
line source

#
# Makefile.mingw
#
# Description: Makefile for idletrack
#

GAIM_TOP := ../../..
include $(GAIM_TOP)/libgaim/win32/global.mak

TARGET = idletrack

##
##  SOURCES, OBJECTS
##

C_SRC =	idletrack.c

OBJECTS = $(C_SRC:%.c=%.o)

include $(GAIM_COMMON_RULES)

##
## TARGET DEFINITIONS
##

.PHONY: all install clean

all: $(TARGET).dll

install: $(GAIM_INSTALL_DIR)
	cp $(TARGET).dll $(GAIM_INSTALL_DIR)

##
## BUILD DLL
##

$(TARGET).dll $(TARGET).dll.a: $(OBJECTS)
	$(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--out-implib,$(TARGET).dll.a -o $(TARGET).dll

##
## CLEAN RULES
##

clean:
	rm -f $(OBJECTS) $(TARGET).dll $(TARGET).dll.a

include $(GAIM_COMMON_TARGETS)