4 # Description: Makefile for win32 (mingw) version of libmxit
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 \
34 LIB_PATHS += -L$(GTK_TOP)/lib \
54 OBJECTS = $(C_SRC:%.c=%.o)
66 include $(PIDGIN_COMMON_RULES)
71 .PHONY: all install clean
75 install: all $(DLL_INSTALL_DIR)
76 cp $(TARGET).dll $(DLL_INSTALL_DIR)
78 $(OBJECTS): $(PURPLE_CONFIG_H)
80 $(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
81 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
90 include $(PIDGIN_COMMON_TARGETS)