libpurple/plugins/tcl/Makefile.mingw

Wed, 13 May 2009 20:29:03 +0000

author
Marcus Lundblad <malu@pidgin.im>
date
Wed, 13 May 2009 20:29:03 +0000
changeset 27110
05ca719b901b
parent 16100
a0ab70986c10
child 16238
33bf2fd32108
child 18068
b6554e3c8224
child 20478
46933dc62880
child 33861
71533f0d5dc0
permissions
-rw-r--r--

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
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
1 #
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
2 # Makefile.mingw
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
3 #
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
4 # Description: Makefile for tcl plugin loader plugin.
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
5 #
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
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
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
9
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
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
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
13
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
14 ##
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
15 ## INCLUDE PATHS
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
16 ##
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
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
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
21 -I$(GTK_TOP)/include \
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
22 -I$(GTK_TOP)/include/glib-2.0 \
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
23 -I$(GTK_TOP)/lib/glib-2.0/include \
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
24 -I$(TCL_INC_DIR)
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
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
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
29
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
30 ##
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
31 ## SOURCES, OBJECTS
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
32 ##
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
33 C_SRC = tcl.c \
13848
66cd8d947bde [gaim-migrate @ 16302]
Daniel Atallah <datallah@pidgin.im>
parents: 13825
diff changeset
34 tcl_cmd.c \
7831
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
35 tcl_cmds.c \
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
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
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
39
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
40 OBJECTS = $(C_SRC:%.c=%.o)
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
41
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
42 ##
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
43 ## LIBRARIES
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
44 ##
14286
9ff15ceacd34 [gaim-migrate @ 16905]
Daniel Atallah <datallah@pidgin.im>
parents: 14254
diff changeset
45 LIBS = \
7831
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
46 -lglib-2.0 \
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
47 -lws2_32 \
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
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
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
50 -ltclstub84 \
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
51 -ltkstub84
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
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
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
54
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
55 ##
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
56 ## TARGET DEFINITIONS
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
57 ##
14638
b0fa76dac93f [gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents: 14377
diff changeset
58 .PHONY: all install clean
7831
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
59
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
60 all: $(TARGET).dll
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
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
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
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
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
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
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
68 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
69
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
70 ##
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
71 ## CLEAN RULES
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
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
54076c9af6ad [gaim-migrate @ 8483]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
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)

mercurial