Mercurial > pidgin.yaz
annotate libgaim/protocols/sametime/Makefile.mingw @ 14561:3ff55ec8203a
[gaim-migrate @ 17284]
GtkCellRendererExpander draws an expander in a renderer to avoid a large, needless margin.
The approach is a bit hacky, but it's a good job.
- RTL fix in GtkStatusBox
- Drag-and-drop image into the global buddy icon selector to set a buddy icon
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 15 Sep 2006 22:05:34 +0000 |
parents | 12cb76aeb21c |
children | 5d03b309b482 |
rev | line source |
---|---|
14192 | 1 # |
2 # Makefile.mingw | |
3 # | |
4 # Description: Makefile for win32 (mingw) version of libsametime | |
5 # | |
6 | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
7 GAIM_TOP := ../../.. |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
8 include $(GAIM_TOP)/libgaim/win32/global.mak |
14192 | 9 |
10 TARGET = libsametime | |
11 NEEDED_DLLS = $(MEANWHILE_TOP)/bin/libmeanwhile-1.dll | |
14555
12cb76aeb21c
[gaim-migrate @ 17278]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
12 TYPE = PLUGIN |
14192 | 13 |
14 # Static or Plugin... | |
15 ifeq ($(TYPE),STATIC) | |
16 DEFINES += -DSTATIC | |
17 DLL_INSTALL_DIR = $(GAIM_INSTALL_DIR) | |
18 else | |
19 ifeq ($(TYPE),PLUGIN) | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
20 DLL_INSTALL_DIR = $(GAIM_INSTALL_PLUGINS_DIR) |
14192 | 21 endif |
22 endif | |
23 | |
24 ## | |
25 ## INCLUDE PATHS | |
26 ## | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
27 INCLUDE_PATHS += -I. \ |
14192 | 28 -I$(MEANWHILE_TOP)/include/meanwhile \ |
29 -I$(GTK_TOP)/include \ | |
30 -I$(GTK_TOP)/include/glib-2.0 \ | |
31 -I$(GTK_TOP)/lib/glib-2.0/include \ | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
32 -I$(GAIM_LIB_TOP) \ |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
33 -I$(GAIM_LIB_TOP)/win32 \ |
14192 | 34 -I$(GAIM_TOP) |
35 | |
36 LIB_PATHS = -L$(GTK_TOP)/lib \ | |
37 -L$(MEANWHILE_TOP)/lib \ | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
38 -L$(GAIM_LIB_TOP) |
14192 | 39 |
40 ## | |
41 ## SOURCES, OBJECTS | |
42 ## | |
43 C_SRC = sametime.c | |
44 | |
45 OBJECTS = $(C_SRC:%.c=%.o) | |
46 | |
47 ## | |
48 ## LIBRARIES | |
49 ## | |
50 LIBS = \ | |
51 -lglib-2.0 \ | |
52 -lintl \ | |
53 -lws2_32 \ | |
54 -lmeanwhile \ | |
55 -lgaim \ | |
56 | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
57 include $(GAIM_COMMON_RULES) |
14192 | 58 |
59 ## | |
60 ## TARGET DEFINITIONS | |
61 ## | |
62 .PHONY: all clean | |
63 | |
64 all: $(TARGET).dll | |
65 | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
66 install: all $(DLL_INSTALL_DIR) $(GAIM_INSTALL_DIR) |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
67 cp $(TARGET).dll $(DLL_INSTALL_DIR) |
14192 | 68 cp $(NEEDED_DLLS) $(GAIM_INSTALL_DIR) |
69 | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
70 $(OBJECTS): $(GAIM_CONFIG_H) |
14192 | 71 |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
72 $(TARGET).dll: $(GAIM_LIBGAIM_DLL).a $(OBJECTS) |
14232
a7590884324d
[gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14192
diff
changeset
|
73 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll |
14192 | 74 |
75 ## | |
76 ## CLEAN RULES | |
77 ## | |
78 | |
79 clean: | |
14555
12cb76aeb21c
[gaim-migrate @ 17278]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
80 rm -f $(OBJECTS) |
12cb76aeb21c
[gaim-migrate @ 17278]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
81 rm -f $(TARGET).dll |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
82 |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
83 include $(GAIM_COMMON_TARGETS) |