Mercurial > pidgin.yaz
annotate plugins/Makefile.mingw @ 4171:858822a27529
[gaim-migrate @ 4400]
Alex Converse (alex4):
"Gaim had a nasty habbit of not converting prefrenced
colors from 48-bit to 24-bit for outputting as html.
(causing malformed colors like #00FFFF00) I fixed this
by doing all the conversions at the time of outputting."
he further wrote, when i failed to see a need for this patch at first:
"The issue is GdkColors are 48-bit (16 of Red, green, and
blue) HTML colors are 24-bit (bit of Red, Green, and Blue)
gaim stores colors as GdkColors but when sends the color as
HTML. The problem is colors that were stored inb gaimrc
never got downsampled to 24bit."
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 02 Jan 2003 16:24:53 +0000 |
parents | d3d1dac745d4 |
children | 65d98b565fbe |
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 |
3630 | 19 |
20 ## | |
21 ## VARIABLE DEFINITIONS | |
22 ## | |
23 | |
24 # Compiler Options | |
25 | |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
26 CFLAGS = |
3630 | 27 |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
28 DEFINES = |
3630 | 29 |
30 .SUFFIXES: | |
31 .SUFFIXES: .c .dll | |
32 | |
33 ## | |
34 ## INCLUDE MAKEFILES | |
35 ## | |
36 | |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
37 include $(GAIM_TOP)/src/win32/global.mak |
3630 | 38 |
39 ## | |
40 ## INCLUDE PATHS | |
41 ## | |
42 | |
43 INCLUDE_PATHS += -I$(OSCAR_ROOT) \ | |
44 -I$(GTK_TOP)/include \ | |
45 -I$(GTK_TOP)/include/gtk-2.0 \ | |
46 -I$(GTK_TOP)/include/glib-2.0 \ | |
47 -I$(GTK_TOP)/include/pango-1.0 \ | |
48 -I$(GTK_TOP)/include/atk-1.0 \ | |
49 -I$(GTK_TOP)/lib/glib-2.0/include \ | |
50 -I$(GTK_TOP)/lib/gtk-2.0/include \ | |
51 -I$(GAIM_TOP) \ | |
52 -I$(GAIM_TOP)/src \ | |
53 -I$(GAIM_TOP)/src/win32 | |
54 | |
55 | |
56 LIB_PATHS = -L$(GTK_TOP)/lib \ | |
57 -L$(GAIM_TOP)/src | |
58 | |
59 | |
60 ## | |
61 ## LIBRARIES | |
62 ## | |
63 | |
64 LIBS = -lgtk-win32-2.0 -lglib-2.0 -lgdk-win32-2.0 -lgobject-2.0 -lgmodule-2.0 -lintl -lws2_32 -liberty -lgaim | |
65 | |
66 ## | |
67 ## RULES | |
68 ## | |
69 | |
70 ## | |
71 ## TARGET DEFINITIONS | |
72 ## | |
73 | |
74 .PHONY: all clean | |
75 | |
76 all: plugins | |
77 $(MAKE) -C $(TICKER) -f Makefile.mingw | |
3729 | 78 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw |
4133
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
79 $(MAKE) -C $(WINPREFS) -f Makefile.mingw |
3630 | 80 |
81 install: | |
3739 | 82 cp $(GAIM_PLUGINS)/*.dll $(GAIM_PLUGINS)/gaim.pl $(GAIM_INSTALL_DIR)/plugins |
3630 | 83 $(MAKE) -C $(TICKER) -f Makefile.mingw install |
3729 | 84 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw install |
4133
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
85 $(MAKE) -C $(WINPREFS) -f Makefile.mingw install |
3630 | 86 |
87 # | |
88 # BUILD Plugin | |
89 # | |
90 | |
91 .c.dll: | |
92 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o tmp$@.o -c $< | |
93 dlltool -D $@ -z $@.def tmp$@.o | |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
94 $(CC) -mdll -o junk.tmp -Wl,--base-file,$@.base tmp$@.o $(LIB_PATHS) $(LIBS) |
3630 | 95 dlltool -D $@ -b $@.base -e $@.exp -d $@.def |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
96 $(CC) -mdll -o $@ tmp$@.o -Wl,$@.exp $(LIB_PATHS) $(LIBS) |
3630 | 97 rm -rf $@.base $@.def $@.exp junk.tmp |
98 | |
4123
1e87350cb57c
[gaim-migrate @ 4340]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3739
diff
changeset
|
99 plugins: iconaway.dll spellchk.dll |
3630 | 100 |
101 | |
102 ## | |
103 ## CLEAN RULES | |
104 ## | |
105 | |
106 clean: | |
107 rm -rf *.o | |
108 rm -rf *.dll | |
109 $(MAKE) -C $(TICKER) -f Makefile.mingw clean | |
3729 | 110 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw clean |
4133
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
111 $(MAKE) -C $(WINPREFS) -f Makefile.mingw clean |