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.
| 5467 | 1 | # |
| 2 | # Makefile.mingw | |
| 3 | # | |
| 4 | # Description: Makefile for perl 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 |
| 5467 | 9 | |
| 10 | TARGET = perl | |
| 11 | ||
|
8184
cbe8144455ba
[gaim-migrate @ 8904]
Herman Bloggs <herman@bluedigits.com>
parents:
6816
diff
changeset
|
12 | # Perl headers with /* /* */ type comments.. Turn off warnings. |
|
cbe8144455ba
[gaim-migrate @ 8904]
Herman Bloggs <herman@bluedigits.com>
parents:
6816
diff
changeset
|
13 | CFLAGS += -Wno-comment |
|
cbe8144455ba
[gaim-migrate @ 8904]
Herman Bloggs <herman@bluedigits.com>
parents:
6816
diff
changeset
|
14 | |
| 5467 | 15 | ## |
| 16 | ## INCLUDE PATHS | |
| 17 | ## | |
| 18 | INCLUDE_PATHS += -I. \ | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
19 | -I$(PIDGIN_TREE_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) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
21 | -I$(PURPLE_TOP)/win32 \ |
| 5467 | 22 | -I$(GTK_TOP)/include \ |
| 23 | -I$(GTK_TOP)/include/glib-2.0 \ | |
| 24 | -I$(GTK_TOP)/lib/glib-2.0/include \ | |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
25 | -I$(PERL_LIB_TOP)/CORE |
| 5467 | 26 | |
|
16393
d89faf3f5282
Allow include and lib paths to be overridden from local.ent
Daniel Atallah <datallah@pidgin.im>
parents:
16100
diff
changeset
|
27 | 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
|
28 | -L$(PURPLE_TOP) \ |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
29 | -L$(PERL_LIB_TOP) |
| 5467 | 30 | |
| 31 | ## | |
| 32 | ## SOURCES, OBJECTS | |
| 33 | ## | |
|
6576
ebc7e2effe6b
[gaim-migrate @ 7098]
Herman Bloggs <herman@bluedigits.com>
parents:
5932
diff
changeset
|
34 | C_SRC = perl.c \ |
|
ebc7e2effe6b
[gaim-migrate @ 7098]
Herman Bloggs <herman@bluedigits.com>
parents:
5932
diff
changeset
|
35 | perl-common.c \ |
|
ebc7e2effe6b
[gaim-migrate @ 7098]
Herman Bloggs <herman@bluedigits.com>
parents:
5932
diff
changeset
|
36 | perl-handlers.c |
| 5467 | 37 | |
| 38 | OBJECTS = $(C_SRC:%.c=%.o) | |
| 39 | ||
| 40 | ## | |
| 41 | ## LIBRARIES | |
| 42 | ## | |
|
14286
9ff15ceacd34
[gaim-migrate @ 16905]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
43 | LIBS = \ |
| 5467 | 44 | -lglib-2.0 \ |
| 45 | -lgmodule-2.0 \ | |
| 46 | -lgobject-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 \ |
|
23915
b62601fd6e7d
Update the Perl plugin loader to work with Perl 5.10.
Daniel Atallah <datallah@pidgin.im>
parents:
16393
diff
changeset
|
50 | -lperl510 |
| 5467 | 51 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
52 | include $(PIDGIN_COMMON_RULES) |
| 5467 | 53 | |
| 54 | ## | |
| 55 | ## TARGET DEFINITIONS | |
| 56 | ## | |
|
14638
b0fa76dac93f
[gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents:
14509
diff
changeset
|
57 | .PHONY: all install clean |
| 5467 | 58 | |
| 59 | all: $(TARGET).dll | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
60 | $(MAKE) -C ./common -f $(MINGW_MAKEFILE) |
| 5467 | 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) |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
64 | $(MAKE) -C ./common -f $(MINGW_MAKEFILE) install |
| 5467 | 65 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
66 | $(OBJECTS): $(PURPLE_CONFIG_H) |
| 5467 | 67 | |
| 68 | ## | |
| 69 | ## BUILD DLL | |
| 70 | ## | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
71 | $(TARGET).dll $(TARGET).dll.a: $(PURPLE_DLL).a $(OBJECTS) |
|
14509
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14435
diff
changeset
|
72 | $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--export-all-symbols -Wl,--out-implib,$(TARGET).dll.a -o $(TARGET).dll |
| 5467 | 73 | |
| 74 | ## | |
| 75 | ## CLEAN RULES | |
| 76 | ## | |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
77 | clean: |
|
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
78 | rm -rf $(OBJECTS) |
| 14913 | 79 | rm -rf $(TARGET).dll $(TARGET).dll.a |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
80 | $(MAKE) -C ./common -f $(MINGW_MAKEFILE) clean |
| 5467 | 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) |