Mercurial > pidgin
annotate src/protocols/oscar/Makefile.mingw @ 4102:c5ce82228a2f
[gaim-migrate @ 4317]
Cooley enough, @mac.com screen names can sign on without any additional
changes. There are a few problems, though. This fixes one of them:
-SNAC error saying "Not supported by host" or something similar at
signon, because gaim requests a redirect to the email notification
server, but this is not supported for ICQ and @mac.com accounts (I
don't know why ICQ accounts don't give the error). Anyway, so this
fixes the problem by only requesting the redirect if the screen name
has an email address associated with it. I made it so the auth
reply info is stored in the oscar session struct. There are some
other useful variables there, and I think it's just cleaner to
store the whole thing than the little bits and pieces.
I heard someone complain about your_uin@pager.icq.com spam, so I'm
thinking it'd be good if there were a way to disable those types of
messages. WinICQ has a nice little preferences thingy, I think.
I dunno, maybe I could add a checkbox to the account window?
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 19 Dec 2002 20:38:12 +0000 |
parents | 07283934dedd |
children | 2a2d6d21f1d7 |
rev | line source |
---|---|
3630 | 1 # |
2 # Makefile.mingw | |
3 # | |
4 # Description: Makefile for win32 (mingw) version of liboscar | |
5 # | |
6 | |
7 # | |
8 # PATHS | |
9 # | |
10 | |
11 OSCAR_ROOT := . | |
12 GTK_TOP := ../../../../win32-dev/gtk_2_0 | |
13 GAIM_TOP := ../../.. | |
14 GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir | |
15 | |
16 ## | |
17 ## VARIABLE DEFINITIONS | |
18 ## | |
19 | |
20 TARGET = liboscar | |
21 | |
22 # Compiler Options | |
23 | |
3718
fd3880c03f0d
[gaim-migrate @ 3851]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3695
diff
changeset
|
24 CFLAGS = |
3630 | 25 |
3718
fd3880c03f0d
[gaim-migrate @ 3851]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3695
diff
changeset
|
26 DEFINES = |
3630 | 27 |
28 # Static or Plugin... | |
29 ifeq ($(TYPE),STATIC) | |
30 DEFINES += -DSTATIC | |
31 DLL_INSTALL_DIR = $(GAIM_INSTALL_DIR) | |
32 else | |
33 ifeq ($(TYPE),PLUGIN) | |
34 DLL_INSTALL_DIR = $(GAIM_INSTALL_DIR)/plugins | |
35 endif | |
36 endif | |
37 | |
38 | |
39 ## | |
40 ## INCLUDE MAKEFILES | |
41 ## | |
42 | |
3718
fd3880c03f0d
[gaim-migrate @ 3851]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3695
diff
changeset
|
43 include $(GAIM_TOP)/src/win32/global.mak |
3630 | 44 |
45 ## | |
46 ## INCLUDE PATHS | |
47 ## | |
48 | |
49 INCLUDE_PATHS += -I$(OSCAR_ROOT) \ | |
50 -I$(GTK_TOP)/include \ | |
51 -I$(GTK_TOP)/include/gtk-2.0 \ | |
52 -I$(GTK_TOP)/include/glib-2.0 \ | |
53 -I$(GTK_TOP)/include/pango-1.0 \ | |
54 -I$(GTK_TOP)/include/atk-1.0 \ | |
55 -I$(GTK_TOP)/lib/glib-2.0/include \ | |
56 -I$(GTK_TOP)/lib/gtk-2.0/include \ | |
57 -I$(GAIM_TOP)/src \ | |
58 -I$(GAIM_TOP)/src/win32 \ | |
59 -I$(GAIM_TOP) | |
60 | |
61 | |
62 LIB_PATHS = -L$(GTK_TOP)/lib \ | |
63 -L$(GAIM_TOP)/src | |
64 | |
65 | |
66 ## | |
67 ## SOURCES, OBJECTS | |
68 ## | |
69 | |
70 C_SRC = admin.c \ | |
71 adverts.c \ | |
72 auth.c \ | |
73 bos.c \ | |
3952 | 74 bstream.c \ |
3630 | 75 buddylist.c \ |
76 chat.c \ | |
77 chatnav.c \ | |
78 conn.c \ | |
3695 | 79 email.c \ |
3630 | 80 ft.c \ |
81 icq.c \ | |
82 im.c \ | |
83 info.c \ | |
84 invite.c \ | |
85 meta.c \ | |
86 misc.c \ | |
87 msgcookie.c \ | |
3952 | 88 newsearch.c \ |
3630 | 89 popups.c \ |
90 rxhandlers.c \ | |
91 rxqueue.c \ | |
92 search.c \ | |
93 service.c \ | |
94 snac.c \ | |
95 ssi.c \ | |
96 stats.c \ | |
97 tlv.c \ | |
98 translate.c \ | |
99 txqueue.c \ | |
100 util.c \ | |
101 oscar.c | |
102 | |
103 | |
104 OBJECTS = $(C_SRC:%.c=%.o) | |
105 | |
106 | |
107 ## | |
108 ## LIBRARIES | |
109 ## | |
110 | |
111 LIBS = -lgtk-win32-2.0 -lglib-2.0 -lgdk-win32-2.0 -lgmodule-2.0 -lgobject-2.0 -lintl -lws2_32 -liberty -lgaim | |
112 | |
113 | |
114 ## | |
115 ## RULES | |
116 ## | |
117 | |
118 # How to make a C file | |
119 | |
120 %.o: %.c | |
121 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@ -c $< | |
122 | |
123 ## | |
124 ## TARGET DEFINITIONS | |
125 ## | |
126 | |
127 .PHONY: all clean | |
128 | |
129 all: $(TARGET).dll | |
130 | |
131 install: | |
132 cp $(OSCAR_ROOT)/$(TARGET).dll $(DLL_INSTALL_DIR) | |
133 | |
134 | |
135 ## | |
136 ## BUILD Dependencies | |
137 ## | |
138 | |
139 $(GAIM_TOP)/src/gaim.lib: | |
140 $(MAKE) -C $(GAIM_TOP)/src -f Makefile.mingw gaim.lib | |
141 | |
142 ## | |
143 ## BUILD DLL | |
144 ## | |
145 | |
146 $(TARGET).def: $(OBJECTS) | |
147 dlltool --dllname $(TARGET).dll -z $(TARGET).def --export-all-symbols $(OBJECTS) | |
148 | |
149 $(TARGET).base: $(OBJECTS) $(GAIM_TOP)/src/gaim.lib | |
3718
fd3880c03f0d
[gaim-migrate @ 3851]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3695
diff
changeset
|
150 $(CC) -mdll -o junk.tmp -Wl,--base-file,$@ $(OBJECTS) $(LIB_PATHS) $(LIBS) |
3630 | 151 rm -rf junk.tmp |
152 | |
153 $(TARGET).exp: $(TARGET).def $(TARGET).base | |
154 dlltool --dllname $(TARGET).dll --base-file $(TARGET).base \ | |
155 --output-exp $(TARGET).exp --def $(TARGET).def | |
156 rm -rf $(TARGET).base | |
157 | |
158 $(TARGET).dll: $(OBJECTS) $(TARGET).exp $(GAIM_TOP)/src/gaim.lib | |
159 dlltool -D $(TARGET).dll -d $(TARGET).def -l $(TARGET).lib | |
3718
fd3880c03f0d
[gaim-migrate @ 3851]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3695
diff
changeset
|
160 $(CC) -mdll -o $(TARGET).dll $(OBJECTS) -Wl,$(TARGET).exp $(LIB_PATHS) $(LIBS) |
3630 | 161 rm -rf $(TARGET).exp |
162 | |
163 ## | |
164 ## CLEAN RULES | |
165 ## | |
166 | |
167 clean: | |
168 rm -rf *.o | |
169 rm -rf $(TARGET).dll | |
170 rm -rf $(TARGET).lib | |
171 rm -rf $(TARGET).def |