Wed, 13 May 2009 20:29:03 +0000
Support custom smileys in MUCs (when all participants support BoB and a maximum
of 10 participants are in the chat).
Always announce support for BoB, since disable custom smileys will still turn
off fetching them, and BoB can be used for other purposes further on.
| 7831 | 1 | # |
| 2 | # Makefile.mingw | |
| 3 | # | |
| 4 | # Description: Makefile for tcl plugin loader plugin. | |
| 5 | # | |
| 6 | ||
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
7 | PIDGIN_TREE_TOP := ../../.. |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
8 | include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
| 7831 | 9 | |
| 10 | TARGET = tcl | |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
11 | TCL_INC_DIR := $(TCL_LIB_TOP)/include |
|
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
12 | DEFINES += -DHAVE_TK -DUSE_TCL_STUBS -DUSE_TK_STUBS |
| 7831 | 13 | |
| 14 | ## | |
| 15 | ## INCLUDE PATHS | |
| 16 | ## | |
| 17 | INCLUDE_PATHS += -I. \ | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
18 | -I$(PIDGIN_TREE_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
19 | -I$(PURPLE_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
20 | -I$(PURPLE_TOP)/win32 \ |
| 7831 | 21 | -I$(GTK_TOP)/include \ |
| 22 | -I$(GTK_TOP)/include/glib-2.0 \ | |
| 23 | -I$(GTK_TOP)/lib/glib-2.0/include \ | |
| 24 | -I$(TCL_INC_DIR) | |
| 25 | ||
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
26 | LIB_PATHS += -L$(GTK_TOP)/lib \ |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
27 | -L$(PURPLE_TOP) \ |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
28 | -L$(TCL_LIB_TOP) |
| 7831 | 29 | |
| 30 | ## | |
| 31 | ## SOURCES, OBJECTS | |
| 32 | ## | |
| 33 | C_SRC = tcl.c \ | |
|
13848
66cd8d947bde
[gaim-migrate @ 16302]
Daniel Atallah <datallah@pidgin.im>
parents:
13825
diff
changeset
|
34 | tcl_cmd.c \ |
| 7831 | 35 | tcl_cmds.c \ |
| 36 | tcl_glib.c \ | |
|
13825
8ebbadddec26
[gaim-migrate @ 16263]
Richard Laager <rlaager@pidgin.im>
parents:
13456
diff
changeset
|
37 | tcl_ref.c \ |
|
13456
4949b0656a2b
[gaim-migrate @ 15830]
Daniel Atallah <datallah@pidgin.im>
parents:
7831
diff
changeset
|
38 | tcl_signals.c |
| 7831 | 39 | |
| 40 | OBJECTS = $(C_SRC:%.c=%.o) | |
| 41 | ||
| 42 | ## | |
| 43 | ## LIBRARIES | |
| 44 | ## | |
|
14286
9ff15ceacd34
[gaim-migrate @ 16905]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
45 | LIBS = \ |
| 7831 | 46 | -lglib-2.0 \ |
| 47 | -lws2_32 \ | |
| 48 | -lintl \ | |
|
15438
c3e93cd038c5
Update win32 build for libpurple and pidgin renames. This compiles, but is far from complete.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
49 | -lpurple \ |
| 7831 | 50 | -ltclstub84 \ |
| 51 | -ltkstub84 | |
| 52 | ||
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
53 | include $(PIDGIN_COMMON_RULES) |
| 7831 | 54 | |
| 55 | ## | |
| 56 | ## TARGET DEFINITIONS | |
| 57 | ## | |
|
14638
b0fa76dac93f
[gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
58 | .PHONY: all install clean |
| 7831 | 59 | |
| 60 | all: $(TARGET).dll | |
| 61 | ||
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
62 | install: all $(PURPLE_INSTALL_PLUGINS_DIR) |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
63 | cp $(TARGET).dll $(PURPLE_INSTALL_PLUGINS_DIR) |
| 7831 | 64 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
65 | $(OBJECTS): $(PURPLE_CONFIG_H) |
| 7831 | 66 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
67 | $(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS) |
| 7831 | 68 | $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll |
| 69 | ||
| 70 | ## | |
| 71 | ## CLEAN RULES | |
| 72 | ## | |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
73 | clean: |
|
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
74 | rm -rf $(OBJECTS) |
|
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
75 | rm -rf $(TARGET).dll |
| 7831 | 76 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
77 | include $(PIDGIN_COMMON_TARGETS) |