Mercurial > pidgin
annotate plugins/ticker/Makefile.mingw @ 11549:8b494b5763c2
[gaim-migrate @ 13804]
We were both adding and removing /gaim/gtk/conversations/send_formatting,
I figured that wasn't right so I removed it completely.
Also, do we really want to be calling stylize in gtkutils.c? It seems
like that would conflict with all the formatting done by the gtkimhtml.
Can someone please look at that? It shouldn't take too long to figure
it out if you're familiar with gtkimhtml.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 15 Sep 2005 04:54:26 +0000 |
parents | bb7723f0b4b9 |
children |
rev | line source |
---|---|
3630 | 1 # |
2 # Makefile.mingw | |
3 # | |
4 # Description: Makefile for ticker plugin. | |
5 # | |
6 | |
7 # | |
8 # PATHS | |
9 # | |
10 | |
11 INCLUDE_DIR := . | |
12 | |
13 GTK_TOP := ../../../win32-dev/gtk_2_0 | |
14 GAIM_TOP := ../.. | |
15 TICKER_ROOT := . | |
16 GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir | |
17 DLL_INSTALL_DIR := $(GAIM_INSTALL_DIR)/plugins | |
18 | |
19 ## | |
20 ## VARIABLE DEFINITIONS | |
21 ## | |
22 | |
23 TARGET = ticker | |
24 | |
25 # Compiler Options | |
26 | |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
27 CFLAGS = |
3630 | 28 |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
29 DEFINES = |
3630 | 30 |
31 | |
32 ## | |
33 ## INCLUDE MAKEFILES | |
34 ## | |
35 | |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
36 include $(GAIM_TOP)/src/win32/global.mak |
3630 | 37 |
38 ## | |
39 ## INCLUDE PATHS | |
40 ## | |
41 | |
42 INCLUDE_PATHS += -I$(TICKER_ROOT) \ | |
43 -I$(GTK_TOP)/include \ | |
44 -I$(GTK_TOP)/include/gtk-2.0 \ | |
45 -I$(GTK_TOP)/include/glib-2.0 \ | |
46 -I$(GTK_TOP)/include/pango-1.0 \ | |
47 -I$(GTK_TOP)/include/atk-1.0 \ | |
48 -I$(GTK_TOP)/lib/glib-2.0/include \ | |
49 -I$(GTK_TOP)/lib/gtk-2.0/include \ | |
50 -I$(GAIM_TOP)/src \ | |
51 -I$(GAIM_TOP)/src/win32 \ | |
52 -I$(GAIM_TOP) | |
53 | |
54 | |
55 LIB_PATHS = -L$(GTK_TOP)/lib \ | |
56 -L$(GAIM_TOP)/src | |
57 | |
58 | |
59 ## | |
60 ## SOURCES, OBJECTS | |
61 ## | |
62 | |
63 C_SRC = ticker.c \ | |
64 gtkticker.c | |
65 | |
66 | |
67 OBJECTS = $(C_SRC:%.c=%.o) | |
68 | |
69 | |
70 ## | |
71 ## LIBRARIES | |
72 ## | |
73 | |
5932
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3715
diff
changeset
|
74 LIBS = -lgtk-win32-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3715
diff
changeset
|
75 -lglib-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3715
diff
changeset
|
76 -lgdk-win32-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3715
diff
changeset
|
77 -lgmodule-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3715
diff
changeset
|
78 -lgobject-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3715
diff
changeset
|
79 -lws2_32 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3715
diff
changeset
|
80 -lintl \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3715
diff
changeset
|
81 -lgaim |
3630 | 82 |
83 ## | |
84 ## RULES | |
85 ## | |
86 | |
87 # How to make a C file | |
88 | |
89 %.o: %.c | |
90 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@ -c $< | |
91 | |
92 ## | |
93 ## TARGET DEFINITIONS | |
94 ## | |
95 | |
96 .PHONY: all clean | |
97 | |
98 all: $(TARGET).dll | |
99 | |
100 install: | |
101 cp $(TICKER_ROOT)/$(TARGET).dll $(DLL_INSTALL_DIR) | |
102 | |
103 | |
104 ## | |
105 ## BUILD Dependencies | |
106 ## | |
107 | |
108 $(GAIM_TOP)/src/gaim.lib: | |
109 $(MAKE) -C $(GAIM_TOP)/src -f Makefile.mingw gaim.lib | |
110 | |
111 ## | |
112 ## BUILD DLL | |
113 ## | |
114 | |
5932
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3715
diff
changeset
|
115 $(TARGET).dll: $(OBJECTS) $(GAIM_TOP)/src/gaim.lib |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3715
diff
changeset
|
116 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll |
3630 | 117 |
118 ## | |
119 ## CLEAN RULES | |
120 ## | |
121 | |
122 clean: | |
123 rm -rf *.o | |
124 rm -rf $(TARGET).dll |