view pidgin/win32/IdleTracker/Makefile.mingw @ 24888:b9f7a8ca1369

Apparently our use of va_list arguments in the perl signal callbacks doesn't work on x86_64 (and other architectures where a va_list is not a pointer but an array). Pull an autoconf macro from Glib svn to check whether va_lists are arrays and switch how we use them on that. I'm not at all sure this is a complete fix but it seems to fix the issue as currently reported. Fixes #7404
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 06 Jan 2009 06:29:44 +0000
parents ded8da3de5f8
children
line wrap: on
line source

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

PIDGIN_TREE_TOP := ../../..
include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak

TARGET = idletrack

##
##  SOURCES, OBJECTS
##

C_SRC =	idletrack.c

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

include $(PIDGIN_COMMON_RULES)

##
## TARGET DEFINITIONS
##

.PHONY: all install clean

all: $(TARGET).dll

install: $(PIDGIN_INSTALL_DIR)
	cp $(TARGET).dll $(PIDGIN_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 $(PIDGIN_COMMON_TARGETS)