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.
| 14286 | 1 | # |
| 2 | # Makefile.mingw | |
| 3 | # | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
4 | # Description: Makefile for win32 (mingw) version of Pidgin Plugins |
| 14286 | 5 | # |
| 6 | ||
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
7 | PIDGIN_TREE_TOP := ../.. |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
8 | include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
| 14286 | 9 | |
|
14509
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
10 | GTKPERL_PLUGIN := ./perl |
|
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
11 | TICKER_PLUGIN := ./ticker |
|
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
12 | TRANSPARENCY_PLUGIN := ./win32/transparency |
|
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
13 | WINPREFS_PLUGIN := ./win32/winprefs |
| 14286 | 14 | |
| 15 | .SUFFIXES: | |
| 16 | .SUFFIXES: .c .dll | |
| 17 | ||
| 18 | ## | |
| 19 | ## INCLUDE PATHS | |
| 20 | ## | |
| 21 | INCLUDE_PATHS += \ | |
| 22 | -I$(GTK_TOP)/include \ | |
| 23 | -I$(GTK_TOP)/include/gtk-2.0 \ | |
| 24 | -I$(GTK_TOP)/include/glib-2.0 \ | |
| 25 | -I$(GTK_TOP)/include/pango-1.0 \ | |
| 26 | -I$(GTK_TOP)/include/atk-1.0 \ | |
|
16294
8310c8cce698
Add cairo to the mingw build include path. Fixes #175 .
Daniel Atallah <datallah@pidgin.im>
parents:
16100
diff
changeset
|
27 | -I$(GTK_TOP)/include/cairo \ |
| 14286 | 28 | -I$(GTK_TOP)/lib/glib-2.0/include \ |
| 29 | -I$(GTK_TOP)/lib/gtk-2.0/include \ | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
30 | -I$(PIDGIN_TREE_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
31 | -I$(PURPLE_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
32 | -I$(PURPLE_TOP)/win32 \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
33 | -I$(PIDGIN_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
34 | -I$(PIDGIN_TOP)/win32 |
| 14286 | 35 | |
|
16393
d89faf3f5282
Allow include and lib paths to be overridden from local.ent
Daniel Atallah <datallah@pidgin.im>
parents:
16294
diff
changeset
|
36 | LIB_PATHS += -L$(GTK_TOP)/lib \ |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
37 | -L$(PURPLE_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
38 | -L$(PIDGIN_TOP) |
| 14286 | 39 | |
| 40 | ## | |
| 41 | ## LIBRARIES | |
| 42 | ## | |
| 43 | LIBS = -lgtk-win32-2.0 \ | |
| 44 | -lglib-2.0 \ | |
| 45 | -lgdk-win32-2.0 \ | |
| 46 | -lgobject-2.0 \ | |
| 47 | -lgmodule-2.0 \ | |
| 48 | -lgdk_pixbuf-2.0 \ | |
| 49 | -lpango-1.0 \ | |
| 50 | -lintl \ | |
| 51 | -lws2_32 \ | |
|
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
|
52 | -lpurple \ |
|
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
|
53 | -lpidgin |
| 14286 | 54 | |
| 55 | ## | |
| 56 | ## TARGET DEFINITIONS | |
| 57 | ## | |
|
14638
b0fa76dac93f
[gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents:
14509
diff
changeset
|
58 | .PHONY: all clean plugins install |
| 14286 | 59 | |
| 60 | all: plugins | |
|
16641
dca38ef38fc4
Fix win32 pidgin perl stuff. This hasn't been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
16393
diff
changeset
|
61 | $(MAKE) -C $(GTKPERL_PLUGIN) -f $(MINGW_MAKEFILE) |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
62 | $(MAKE) -C $(TICKER_PLUGIN) -f $(MINGW_MAKEFILE) |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
63 | $(MAKE) -C $(TRANSPARENCY_PLUGIN) -f $(MINGW_MAKEFILE) |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
64 | $(MAKE) -C $(WINPREFS_PLUGIN) -f $(MINGW_MAKEFILE) |
| 14286 | 65 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
66 | install: all $(PIDGIN_INSTALL_PLUGINS_DIR) |
|
16641
dca38ef38fc4
Fix win32 pidgin perl stuff. This hasn't been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
16393
diff
changeset
|
67 | $(MAKE) -C $(GTKPERL_PLUGIN) -f $(MINGW_MAKEFILE) install |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
68 | $(MAKE) -C $(TICKER_PLUGIN) -f $(MINGW_MAKEFILE) install |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
69 | $(MAKE) -C $(TRANSPARENCY_PLUGIN) -f $(MINGW_MAKEFILE) install |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
70 | $(MAKE) -C $(WINPREFS_PLUGIN) -f $(MINGW_MAKEFILE) install |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
71 | cp *.dll $(PIDGIN_INSTALL_PLUGINS_DIR) |
| 14286 | 72 | |
| 73 | .c.dll: | |
| 74 | $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $< | |
| 75 | $(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@ | |
| 76 | ||
| 77 | plugins: \ | |
|
15231
f13829d20a13
[gaim-migrate @ 17955]
Gary Kramlich <grim@reaperworld.com>
parents:
14745
diff
changeset
|
78 | convcolors.dll \ |
| 14286 | 79 | extplacement.dll \ |
|
17681
b16ce226d996
Fix #318 which asked for the buddynote plugins notes to be shown in the
Etan Reisner <deryni@pidgin.im>
parents:
16641
diff
changeset
|
80 | gtkbuddynote.dll \ |
| 14286 | 81 | history.dll \ |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
82 | iconaway.dll \ |
|
15231
f13829d20a13
[gaim-migrate @ 17955]
Gary Kramlich <grim@reaperworld.com>
parents:
14745
diff
changeset
|
83 | markerline.dll \ |
| 14286 | 84 | notify.dll \ |
|
17681
b16ce226d996
Fix #318 which asked for the buddynote plugins notes to be shown in the
Etan Reisner <deryni@pidgin.im>
parents:
16641
diff
changeset
|
85 | pidginrc.dll \ |
| 14286 | 86 | relnot.dll \ |
|
23167
d542424833f9
applied changes from ae9d7912dfb7c1627441484bfe471dd4d370d346
Daniel Atallah <datallah@pidgin.im>
parents:
17681
diff
changeset
|
87 | sendbutton.dll \ |
| 14286 | 88 | spellchk.dll \ |
| 89 | timestamp_format.dll \ | |
|
24195
c8c6f34b091d
Build the XMPP Console plugin by default on windows too.
Daniel Atallah <datallah@pidgin.im>
parents:
23167
diff
changeset
|
90 | timestamp.dll \ |
|
c8c6f34b091d
Build the XMPP Console plugin by default on windows too.
Daniel Atallah <datallah@pidgin.im>
parents:
23167
diff
changeset
|
91 | xmppconsole.dll |
| 14286 | 92 | |
| 93 | ## | |
| 94 | ## CLEAN RULES | |
| 95 | ## | |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
96 | clean: |
|
14638
b0fa76dac93f
[gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents:
14509
diff
changeset
|
97 | rm -f *.o *.dll |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
98 | $(MAKE) -C $(GTKPERL_PLUGIN) -f $(MINGW_MAKEFILE) clean |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
99 | $(MAKE) -C $(TICKER_PLUGIN) -f $(MINGW_MAKEFILE) clean |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
100 | $(MAKE) -C $(TRANSPARENCY_PLUGIN) -f $(MINGW_MAKEFILE) clean |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
101 | $(MAKE) -C $(WINPREFS_PLUGIN) -f $(MINGW_MAKEFILE) clean |
| 14286 | 102 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
103 | include $(PIDGIN_COMMON_TARGETS) |