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 | # | |
|
25875
a98b16817658
Lots of minor whitespace and comment changes:
Mark Doliner <markdoliner@pidgin.im>
parents:
17733
diff
changeset
|
4 | # Description: Makefile for win32 (mingw) version of libpurple Plugins |
| 14286 | 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 |
| 14286 | 9 | |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14297
diff
changeset
|
10 | PERL_PLUGIN := ./perl |
|
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14297
diff
changeset
|
11 | TCL_PLUGIN := ./tcl |
|
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14297
diff
changeset
|
12 | SSL_PLUGIN := ./ssl |
| 14286 | 13 | |
| 14 | .SUFFIXES: | |
| 15 | .SUFFIXES: .c .dll | |
| 16 | ||
| 17 | ## | |
| 18 | ## INCLUDE PATHS | |
| 19 | ## | |
| 20 | INCLUDE_PATHS += \ | |
| 21 | -I$(GTK_TOP)/include \ | |
| 22 | -I$(GTK_TOP)/include/glib-2.0 \ | |
| 23 | -I$(GTK_TOP)/lib/glib-2.0/include \ | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
24 | -I$(PIDGIN_TREE_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
25 | -I$(PURPLE_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
26 | -I$(PURPLE_TOP)/win32 |
| 14286 | 27 | |
|
16393
d89faf3f5282
Allow include and lib paths to be overridden from local.ent
Daniel Atallah <datallah@pidgin.im>
parents:
16272
diff
changeset
|
28 | 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
|
29 | -L$(PURPLE_TOP) |
| 14286 | 30 | |
| 31 | ## | |
| 32 | ## LIBRARIES | |
| 33 | ## | |
| 34 | LIBS = \ | |
| 35 | -lglib-2.0 \ | |
| 36 | -lgobject-2.0 \ | |
| 37 | -lgmodule-2.0 \ | |
| 38 | -lintl \ | |
| 39 | -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
|
40 | -lpurple |
| 14286 | 41 | |
| 42 | ## | |
| 43 | ## TARGET DEFINITIONS | |
| 44 | ## | |
|
14638
b0fa76dac93f
[gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents:
14429
diff
changeset
|
45 | .PHONY: all clean plugins install |
| 14286 | 46 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
47 | all: $(PURPLE_DLL).a plugins |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
48 | $(MAKE) -C $(PERL_PLUGIN) -f $(MINGW_MAKEFILE) |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
49 | $(MAKE) -C $(TCL_PLUGIN) -f $(MINGW_MAKEFILE) |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
50 | $(MAKE) -C $(SSL_PLUGIN) -f $(MINGW_MAKEFILE) |
| 14286 | 51 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
52 | 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
|
53 | $(MAKE) -C $(PERL_PLUGIN) -f $(MINGW_MAKEFILE) install |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
54 | $(MAKE) -C $(TCL_PLUGIN) -f $(MINGW_MAKEFILE) install |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
55 | $(MAKE) -C $(SSL_PLUGIN) -f $(MINGW_MAKEFILE) install |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
56 | cp *.dll $(PURPLE_INSTALL_PLUGINS_DIR) |
| 14286 | 57 | |
| 58 | .c.dll: | |
| 59 | $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $< | |
| 60 | $(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@ | |
| 61 | ||
| 62 | plugins: \ | |
|
15230
e36be229f6d0
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14638
diff
changeset
|
63 | autoaccept.dll \ |
|
e36be229f6d0
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14638
diff
changeset
|
64 | buddynote.dll \ |
| 14286 | 65 | idle.dll \ |
|
17733
722e93eb392e
Build and distribute the joinpart plugin on win32.
Daniel Atallah <datallah@pidgin.im>
parents:
16393
diff
changeset
|
66 | joinpart.dll \ |
|
14297
c1788b3112fd
[gaim-migrate @ 16917]
Richard Laager <rlaager@pidgin.im>
parents:
14286
diff
changeset
|
67 | log_reader.dll \ |
|
15230
e36be229f6d0
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14638
diff
changeset
|
68 | newline.dll \ |
|
e36be229f6d0
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14638
diff
changeset
|
69 | offlinemsg.dll \ |
| 14286 | 70 | psychic.dll \ |
| 71 | statenotify.dll | |
| 72 | ||
| 73 | ## | |
| 74 | ## CLEAN RULES | |
| 75 | ## | |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14297
diff
changeset
|
76 | clean: |
|
14638
b0fa76dac93f
[gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents:
14429
diff
changeset
|
77 | rm -f *.o *.dll |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
78 | $(MAKE) -C $(PERL_PLUGIN) -f $(MINGW_MAKEFILE) clean |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
79 | $(MAKE) -C $(TCL_PLUGIN) -f $(MINGW_MAKEFILE) clean |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
80 | $(MAKE) -C $(SSL_PLUGIN) -f $(MINGW_MAKEFILE) clean |
| 14286 | 81 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
82 | include $(PIDGIN_COMMON_TARGETS) |