Mercurial > pidgin.yaz
annotate plugins/Makefile.mingw @ 6236:7ff81c01d238
[gaim-migrate @ 6729]
This should fix "Buddy pounce causes segfault in 0.66," although I have no
idea how that could possibly be happening.
http://sourceforge.net/tracker/index.php?func=detail&aid=774295&group_id=235&atid=100235
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 19 Jul 2003 20:01:32 +0000 |
parents | 7c98adb00f3a |
children | 46355beb6c30 |
rev | line source |
---|---|
3630 | 1 # |
2 # Makefile.mingw | |
3 # | |
4 # Description: Makefile for win32 (mingw) version of Gaim Plugins | |
5 # | |
6 | |
7 # | |
8 # PATHS | |
9 # | |
10 | |
11 GAIM_PLUGINS := . | |
12 GAIM_TOP := .. | |
13 GTK_TOP := ../../win32-dev/gtk_2_0 | |
14 OSCAR_ROOT := ../src/protocols/oscar | |
15 GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir | |
16 TICKER := ./ticker | |
3729 | 17 TRANSPARENCY := ./win32/transparency |
4133
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
18 WINPREFS := ./win32/winprefs |
5468
809ef68273c8
[gaim-migrate @ 5860]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4726
diff
changeset
|
19 PERL_PLUGIN_LOADER := ./perl |
6081
7c98adb00f3a
[gaim-migrate @ 6540]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5932
diff
changeset
|
20 DOCKLET := ./docklet |
3630 | 21 |
22 ## | |
23 ## VARIABLE DEFINITIONS | |
24 ## | |
25 | |
26 # Compiler Options | |
27 | |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
28 CFLAGS = |
3630 | 29 |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
30 DEFINES = |
3630 | 31 |
32 .SUFFIXES: | |
33 .SUFFIXES: .c .dll | |
34 | |
35 ## | |
36 ## INCLUDE MAKEFILES | |
37 ## | |
38 | |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
39 include $(GAIM_TOP)/src/win32/global.mak |
3630 | 40 |
41 ## | |
42 ## INCLUDE PATHS | |
43 ## | |
44 | |
45 INCLUDE_PATHS += -I$(OSCAR_ROOT) \ | |
46 -I$(GTK_TOP)/include \ | |
47 -I$(GTK_TOP)/include/gtk-2.0 \ | |
48 -I$(GTK_TOP)/include/glib-2.0 \ | |
49 -I$(GTK_TOP)/include/pango-1.0 \ | |
50 -I$(GTK_TOP)/include/atk-1.0 \ | |
51 -I$(GTK_TOP)/lib/glib-2.0/include \ | |
52 -I$(GTK_TOP)/lib/gtk-2.0/include \ | |
53 -I$(GAIM_TOP) \ | |
54 -I$(GAIM_TOP)/src \ | |
55 -I$(GAIM_TOP)/src/win32 | |
56 | |
57 | |
58 LIB_PATHS = -L$(GTK_TOP)/lib \ | |
59 -L$(GAIM_TOP)/src | |
60 | |
61 | |
62 ## | |
63 ## LIBRARIES | |
64 ## | |
65 | |
5932
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5468
diff
changeset
|
66 LIBS = -lgtk-win32-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5468
diff
changeset
|
67 -lglib-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5468
diff
changeset
|
68 -lgdk-win32-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5468
diff
changeset
|
69 -lgobject-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5468
diff
changeset
|
70 -lgmodule-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5468
diff
changeset
|
71 -lintl \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5468
diff
changeset
|
72 -lws2_32 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5468
diff
changeset
|
73 -lgaim |
3630 | 74 |
75 ## | |
76 ## RULES | |
77 ## | |
78 | |
79 ## | |
80 ## TARGET DEFINITIONS | |
81 ## | |
82 | |
83 .PHONY: all clean | |
84 | |
85 all: plugins | |
86 $(MAKE) -C $(TICKER) -f Makefile.mingw | |
4133
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
87 $(MAKE) -C $(WINPREFS) -f Makefile.mingw |
4726
0b1c01fd68f1
[gaim-migrate @ 5039]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4709
diff
changeset
|
88 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw |
5468
809ef68273c8
[gaim-migrate @ 5860]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4726
diff
changeset
|
89 $(MAKE) -C $(PERL_PLUGIN_LOADER) -f Makefile.mingw |
6081
7c98adb00f3a
[gaim-migrate @ 6540]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5932
diff
changeset
|
90 $(MAKE) -C $(DOCKLET) -f Makefile.mingw |
4709
57d74064445a
[gaim-migrate @ 5020]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4610
diff
changeset
|
91 |
3630 | 92 install: |
4610
758f2edc3298
[gaim-migrate @ 4899]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4498
diff
changeset
|
93 cp $(GAIM_PLUGINS)/*.dll $(GAIM_INSTALL_DIR)/plugins |
3630 | 94 $(MAKE) -C $(TICKER) -f Makefile.mingw install |
4133
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
95 $(MAKE) -C $(WINPREFS) -f Makefile.mingw install |
4726
0b1c01fd68f1
[gaim-migrate @ 5039]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4709
diff
changeset
|
96 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw install |
5468
809ef68273c8
[gaim-migrate @ 5860]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4726
diff
changeset
|
97 $(MAKE) -C $(PERL_PLUGIN_LOADER) -f Makefile.mingw install |
6081
7c98adb00f3a
[gaim-migrate @ 6540]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5932
diff
changeset
|
98 $(MAKE) -C $(DOCKLET) -f Makefile.mingw install |
4709
57d74064445a
[gaim-migrate @ 5020]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4610
diff
changeset
|
99 |
3630 | 100 # |
101 # BUILD Plugin | |
102 # | |
103 | |
104 .c.dll: | |
5932
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5468
diff
changeset
|
105 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $< |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5468
diff
changeset
|
106 $(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@ |
3630 | 107 |
4726
0b1c01fd68f1
[gaim-migrate @ 5039]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4709
diff
changeset
|
108 plugins: iconaway.dll spellchk.dll autorecon.dll |
3630 | 109 |
110 | |
111 ## | |
112 ## CLEAN RULES | |
113 ## | |
114 | |
115 clean: | |
116 rm -rf *.o | |
117 rm -rf *.dll | |
118 $(MAKE) -C $(TICKER) -f Makefile.mingw clean | |
4401
3f09e83b569a
[gaim-migrate @ 4670]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
119 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw clean |
4133
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
120 $(MAKE) -C $(WINPREFS) -f Makefile.mingw clean |
5468
809ef68273c8
[gaim-migrate @ 5860]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4726
diff
changeset
|
121 $(MAKE) -C $(PERL_PLUGIN_LOADER) -f Makefile.mingw clean |
6081
7c98adb00f3a
[gaim-migrate @ 6540]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5932
diff
changeset
|
122 $(MAKE) -C $(DOCKLET) -f Makefile.mingw clean |