Mercurial > pidgin
annotate src/protocols/oscar/Makefile.mingw @ 5167:d9073c83a8a0
[gaim-migrate @ 5531]
Changed "view history" to "view log" in the conversation windows. This makes
it consistent with the right click menu in the buddy list. I chose "log"
over "history" because I feel it describes the action more accurately.
I also added sweet little status text thingies for oscar people. Most
importantly it shows "Not Authorized" for ICQ peeps, but it also shows
"Away" and "Not Available" and "Free For Chat" and what not. It's cool.
Robot101 suggested it, and it's a leap frog from faceprint's code.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 18 Apr 2003 19:20:45 +0000 |
parents | 9810ce8e7a96 |
children | bb7723f0b4b9 |
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 \ |
4804 | 81 icon.c \ |
3630 | 82 icq.c \ |
83 im.c \ | |
84 info.c \ | |
85 invite.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 |