4 # Description: Makefile for win32 (mingw) version of libnull
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 \
42 OBJECTS = $(C_SRC:%.c=%.o)
54 include $(PIDGIN_COMMON_RULES)
59 .PHONY: all install install_real clean
63 install_real: all $(DLL_INSTALL_DIR) $(PURPLE_INSTALL_DIR)
64 cp $(TARGET).dll $(DLL_INSTALL_DIR)
68 $(OBJECTS): $(PURPLE_CONFIG_H)
70 $(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
71 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
80 include $(PIDGIN_COMMON_TARGETS)