view pidgin/win32/IdleTracker/Makefile.mingw @ 30289:ca60dd3812fa

applied changes from 8b6590428d8180cc466c8916f81aec2c8961fbd1 through 1f5f812e500972cfb805d2cf0b3bc423cf2b7f3f This hack to manually handle X-GOOGLE-TOKEN an X-FACEBOOK-PLATFORM shouldn't be needed now; avoiding them was masking the problem, since we should be prepared for a server to offer any number of arbitrary mechs which we may or may not be able to handle.
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 04 May 2010 02:10:02 +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)