Thu, 22 Dec 2011 01:27:58 +0000
Add support for selecting the sndio backends in the VV config plugin.
Fixes #14414.
committer: Elliott Sales de Andrade <qulogic@pidgin.im>
| 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 | |
|
27360
3c5ef391cd63
Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <darkrain42@pidgin.im>
parents:
24195
diff
changeset
|
10 | DISCO_PLUGIN := ./disco |
|
14509
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
11 | GTKPERL_PLUGIN := ./perl |
|
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
12 | TICKER_PLUGIN := ./ticker |
|
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
13 | TRANSPARENCY_PLUGIN := ./win32/transparency |
|
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
14 | WINPREFS_PLUGIN := ./win32/winprefs |
| 14286 | 15 | |
| 16 | .SUFFIXES: | |
| 17 | .SUFFIXES: .c .dll | |
| 18 | ||
| 19 | ## | |
| 20 | ## INCLUDE PATHS | |
| 21 | ## | |
| 22 | INCLUDE_PATHS += \ | |
| 23 | -I$(GTK_TOP)/include \ | |
| 24 | -I$(GTK_TOP)/include/gtk-2.0 \ | |
| 25 | -I$(GTK_TOP)/include/glib-2.0 \ | |
| 26 | -I$(GTK_TOP)/include/pango-1.0 \ | |
| 27 | -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
|
28 | -I$(GTK_TOP)/include/cairo \ |
| 14286 | 29 | -I$(GTK_TOP)/lib/glib-2.0/include \ |
| 30 | -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
|
31 | -I$(PIDGIN_TREE_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) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
33 | -I$(PURPLE_TOP)/win32 \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
34 | -I$(PIDGIN_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
35 | -I$(PIDGIN_TOP)/win32 |
| 14286 | 36 | |
|
16393
d89faf3f5282
Allow include and lib paths to be overridden from local.ent
Daniel Atallah <datallah@pidgin.im>
parents:
16294
diff
changeset
|
37 | 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
|
38 | -L$(PURPLE_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
39 | -L$(PIDGIN_TOP) |
| 14286 | 40 | |
| 41 | ## | |
| 42 | ## LIBRARIES | |
| 43 | ## | |
| 44 | LIBS = -lgtk-win32-2.0 \ | |
| 45 | -lglib-2.0 \ | |
| 46 | -lgdk-win32-2.0 \ | |
| 47 | -lgobject-2.0 \ | |
| 48 | -lgmodule-2.0 \ | |
| 49 | -lgdk_pixbuf-2.0 \ | |
| 50 | -lpango-1.0 \ | |
|
31219
51169fe44203
Link with cairo on win32.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31102
diff
changeset
|
51 | -lcairo \ |
| 14286 | 52 | -lintl \ |
| 53 | -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
|
54 | -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
|
55 | -lpidgin |
| 14286 | 56 | |
| 57 | ## | |
| 58 | ## TARGET DEFINITIONS | |
| 59 | ## | |
|
14638
b0fa76dac93f
[gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents:
14509
diff
changeset
|
60 | .PHONY: all clean plugins install |
| 14286 | 61 | |
| 62 | all: plugins | |
|
27360
3c5ef391cd63
Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <darkrain42@pidgin.im>
parents:
24195
diff
changeset
|
63 | $(MAKE) -C $(DISCO_PLUGIN) -f $(MINGW_MAKEFILE) |
|
16641
dca38ef38fc4
Fix win32 pidgin perl stuff. This hasn't been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
16393
diff
changeset
|
64 | $(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
|
65 | $(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
|
66 | $(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
|
67 | $(MAKE) -C $(WINPREFS_PLUGIN) -f $(MINGW_MAKEFILE) |
| 14286 | 68 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
69 | install: all $(PIDGIN_INSTALL_PLUGINS_DIR) |
|
27360
3c5ef391cd63
Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <darkrain42@pidgin.im>
parents:
24195
diff
changeset
|
70 | $(MAKE) -C $(DISCO_PLUGIN) -f $(MINGW_MAKEFILE) install |
|
16641
dca38ef38fc4
Fix win32 pidgin perl stuff. This hasn't been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
16393
diff
changeset
|
71 | $(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
|
72 | $(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
|
73 | $(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
|
74 | $(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
|
75 | cp *.dll $(PIDGIN_INSTALL_PLUGINS_DIR) |
| 14286 | 76 | |
|
31102
0687ddc92313
Build the "Pidgin Theme Editor" plugin on Windows too.
Daniel Atallah <datallah@pidgin.im>
parents:
30486
diff
changeset
|
77 | THEMEEDIT_SRC = themeedit.c themeedit-icon.c |
|
0687ddc92313
Build the "Pidgin Theme Editor" plugin on Windows too.
Daniel Atallah <datallah@pidgin.im>
parents:
30486
diff
changeset
|
78 | THEMEEDIT_OBJECTS = $(THEMEEDIT_SRC:%.c=%.o) |
|
0687ddc92313
Build the "Pidgin Theme Editor" plugin on Windows too.
Daniel Atallah <datallah@pidgin.im>
parents:
30486
diff
changeset
|
79 | |
|
0687ddc92313
Build the "Pidgin Theme Editor" plugin on Windows too.
Daniel Atallah <datallah@pidgin.im>
parents:
30486
diff
changeset
|
80 | themeedit.dll: $(THEMEEDIT_OBJECTS) |
|
0687ddc92313
Build the "Pidgin Theme Editor" plugin on Windows too.
Daniel Atallah <datallah@pidgin.im>
parents:
30486
diff
changeset
|
81 | $(CC) -shared $(THEMEEDIT_OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@ |
|
0687ddc92313
Build the "Pidgin Theme Editor" plugin on Windows too.
Daniel Atallah <datallah@pidgin.im>
parents:
30486
diff
changeset
|
82 | |
|
30486
987bed7429a5
Fix the mingw Makefiles to ensure plugins are rebuilt when config.h or
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
27360
diff
changeset
|
83 | %.dll: %.c $(PURPLE_CONFIG_H) $(PURPLE_VERSION_H) |
| 14286 | 84 | $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $< |
| 85 | $(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@ | |
| 86 | ||
|
31102
0687ddc92313
Build the "Pidgin Theme Editor" plugin on Windows too.
Daniel Atallah <datallah@pidgin.im>
parents:
30486
diff
changeset
|
87 | |
|
0687ddc92313
Build the "Pidgin Theme Editor" plugin on Windows too.
Daniel Atallah <datallah@pidgin.im>
parents:
30486
diff
changeset
|
88 | include $(PIDGIN_COMMON_RULES) |
|
0687ddc92313
Build the "Pidgin Theme Editor" plugin on Windows too.
Daniel Atallah <datallah@pidgin.im>
parents:
30486
diff
changeset
|
89 | |
| 14286 | 90 | plugins: \ |
|
15231
f13829d20a13
[gaim-migrate @ 17955]
Gary Kramlich <grim@reaperworld.com>
parents:
14745
diff
changeset
|
91 | convcolors.dll \ |
| 14286 | 92 | 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
|
93 | gtkbuddynote.dll \ |
| 14286 | 94 | history.dll \ |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
95 | iconaway.dll \ |
|
15231
f13829d20a13
[gaim-migrate @ 17955]
Gary Kramlich <grim@reaperworld.com>
parents:
14745
diff
changeset
|
96 | markerline.dll \ |
| 14286 | 97 | 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
|
98 | pidginrc.dll \ |
| 14286 | 99 | relnot.dll \ |
|
23167
d542424833f9
applied changes from ae9d7912dfb7c1627441484bfe471dd4d370d346
Daniel Atallah <datallah@pidgin.im>
parents:
17681
diff
changeset
|
100 | sendbutton.dll \ |
| 14286 | 101 | spellchk.dll \ |
|
31102
0687ddc92313
Build the "Pidgin Theme Editor" plugin on Windows too.
Daniel Atallah <datallah@pidgin.im>
parents:
30486
diff
changeset
|
102 | themeedit.dll \ |
| 14286 | 103 | timestamp_format.dll \ |
|
24195
c8c6f34b091d
Build the XMPP Console plugin by default on windows too.
Daniel Atallah <datallah@pidgin.im>
parents:
23167
diff
changeset
|
104 | timestamp.dll \ |
|
c8c6f34b091d
Build the XMPP Console plugin by default on windows too.
Daniel Atallah <datallah@pidgin.im>
parents:
23167
diff
changeset
|
105 | xmppconsole.dll |
| 14286 | 106 | |
| 107 | ## | |
| 108 | ## CLEAN RULES | |
| 109 | ## | |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
110 | clean: |
|
14638
b0fa76dac93f
[gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents:
14509
diff
changeset
|
111 | rm -f *.o *.dll |
|
27360
3c5ef391cd63
Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <darkrain42@pidgin.im>
parents:
24195
diff
changeset
|
112 | $(MAKE) -C $(DISCO_PLUGIN) -f $(MINGW_MAKEFILE) clean |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
113 | $(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
|
114 | $(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
|
115 | $(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
|
116 | $(MAKE) -C $(WINPREFS_PLUGIN) -f $(MINGW_MAKEFILE) clean |
| 14286 | 117 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
16096
diff
changeset
|
118 | include $(PIDGIN_COMMON_TARGETS) |