4 # Description: Makefile for win32 (mingw) version of libyahoo
7 PIDGIN_TREE_TOP := ../../..
8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
16 DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR)
19 DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR)
26 INCLUDE_PATHS += -I. \
27 -I$(GTK_TOP)/include \
28 -I$(GTK_TOP)/include/glib-2.0 \
29 -I$(GTK_TOP)/lib/glib-2.0/include \
31 -I$(PURPLE_TOP)/win32 \
54 OBJECTS = $(C_SRC:%.c=%.o)
66 include $(PIDGIN_COMMON_RULES)
72 .PHONY: all install clean
76 install: all $(DLL_INSTALL_DIR)
77 cp $(TARGET).dll $(DLL_INSTALL_DIR)
79 $(OBJECTS): $(PURPLE_CONFIG_H)
81 $(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
82 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
88 rm -f $(OBJECTS) $(TARGET).dll
90 include $(PIDGIN_COMMON_TARGETS)