4 # Description: Makefile for cap plugin.
7 PIDGIN_TREE_TOP := ../../..
8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
12 # This is where sqlite3.[ch] from the sqlite "amalgamation" archive were extracted to
13 # This is available from http://www.sqlite.org/download.html
14 SQLITE_TOP ?= $(WIN32_DEV_TOP)/sqlite-3.4.1
19 INCLUDE_PATHS += -I. \
21 -I$(GTK_TOP)/include \
22 -I$(GTK_TOP)/include/gtk-2.0 \
23 -I$(GTK_TOP)/include/glib-2.0 \
24 -I$(GTK_TOP)/include/pango-1.0 \
25 -I$(GTK_TOP)/include/atk-1.0 \
26 -I$(GTK_TOP)/include/cairo \
27 -I$(GTK_TOP)/lib/glib-2.0/include \
28 -I$(GTK_TOP)/lib/gtk-2.0/include \
30 -I$(PURPLE_TOP)/win32 \
32 -I$(PIDGIN_TOP)/win32 \
35 LIB_PATHS += -L$(GTK_TOP)/lib \
43 $(SQLITE_TOP)/sqlite3.c
45 OBJECTS = $(C_SRC:%.c=%.o)
50 LIBS = -lgtk-win32-2.0 \
58 include $(PIDGIN_COMMON_RULES)
63 .PHONY: all install clean
67 install: $(PIDGIN_INSTALL_PLUGINS_DIR) all
68 cp $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR)
70 $(OBJECTS): $(PIDGIN_CONFIG_H)
72 $(TARGET).dll: $(PURPLE_DLL).a $(PIDGIN_DLL).a $(OBJECTS)
73 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
82 include $(PIDGIN_COMMON_TARGETS)