Mercurial > pidgin.yaz
annotate plugins/win32/winprefs/Makefile.mingw @ 4145:b658b502b096
[gaim-migrate @ 4363]
gtk1.2 code in anything except the buddy list window is a bug. this patch from
David Brigada (jsi):
" This patch changes the mechanism in which Gaim changes
the colors on tabs for typing notification, new message
notification, etc.. The previous mechanism was causing
the font to change (possible mix of gtk1.2 and gtk2.0
code). Instead of loading the label's preferences with
gtk_widget_get_modifier_style(), changing the color
(with a -> edit), and then saving the label's
preferences with gtk_widget_modify_style(), it changes
the color with gtk_widget_modify_fg(). This fixes the
font problem on my computer. The GTK 2.0 API docs seem
to suggest the use of gtk_widget_modify_fg() over
gtk_widget_modify_style() when necessary."
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 26 Dec 2002 15:40:23 +0000 |
parents | c0f4c664e3ba |
children | bb7723f0b4b9 |
rev | line source |
---|---|
4134
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
1 # |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
2 # Makefile.mingw |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
3 # |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
4 # Description: Makefile for winprefs plugin. |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
5 # |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
6 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
7 # |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
8 # PATHS |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
9 # |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
10 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
11 GTK_TOP := ../../../../win32-dev/gtk_2_0 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
12 GAIM_TOP := ../../.. |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
13 GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
14 DLL_INSTALL_DIR := $(GAIM_INSTALL_DIR)/plugins |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
15 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
16 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
17 ## VARIABLE DEFINITIONS |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
18 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
19 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
20 TARGET = winprefs |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
21 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
22 CC = gcc.exe |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
23 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
24 VERSION := $(shell cat $(GAIM_TOP)/VERSION) |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
25 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
26 # Compiler Options |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
27 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
28 CFLAGS = -O2 -Wall -Werror -mno-cygwin -fnative-struct |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
29 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
30 DEFINES = -DVERSION=\"$(VERSION)\" \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
31 -DGTK_ENABLE_BROKEN |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
32 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
33 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
34 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
35 ## INCLUDE MAKEFILES |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
36 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
37 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
38 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
39 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
40 ## INCLUDE PATHS |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
41 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
42 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
43 INCLUDE_PATHS += -I. \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
44 -I$(GTK_TOP)/include \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
45 -I$(GTK_TOP)/include/gtk-2.0 \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
46 -I$(GTK_TOP)/include/glib-2.0 \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
47 -I$(GTK_TOP)/include/pango-1.0 \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
48 -I$(GTK_TOP)/include/atk-1.0 \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
49 -I$(GTK_TOP)/lib/glib-2.0/include \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
50 -I$(GTK_TOP)/lib/gtk-2.0/include \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
51 -I$(GAIM_TOP)/src \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
52 -I$(GAIM_TOP)/src/win32 \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
53 -I$(GAIM_TOP) |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
54 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
55 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
56 LIB_PATHS = -L$(GTK_TOP)/lib \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
57 -L$(GAIM_TOP)/src |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
58 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
59 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
60 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
61 ## SOURCES, OBJECTS |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
62 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
63 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
64 C_SRC = winprefs.c |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
65 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
66 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
67 OBJECTS = $(C_SRC:%.c=%.o) |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
68 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
69 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
70 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
71 ## LIBRARIES |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
72 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
73 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
74 LIBS = -lgtk-win32-2.0 \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
75 -lglib-2.0 \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
76 -lgdk-win32-2.0 \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
77 -lgmodule-2.0 \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
78 -lgobject-2.0 \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
79 -lws2_32 \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
80 -lintl \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
81 -lgaim |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
82 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
83 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
84 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
85 ## RULES |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
86 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
87 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
88 # How to make a C file |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
89 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
90 %.o: %.c |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
91 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@ -c $< |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
92 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
93 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
94 ## TARGET DEFINITIONS |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
95 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
96 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
97 .PHONY: all clean |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
98 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
99 all: $(TARGET).dll |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
100 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
101 install: |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
102 cp $(TARGET).dll $(DLL_INSTALL_DIR) |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
103 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
104 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
105 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
106 ## BUILD Dependencies |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
107 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
108 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
109 $(GAIM_TOP)/src/gaim.lib: |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
110 $(MAKE) -C $(GAIM_TOP)/src -f Makefile.mingw gaim.lib |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
111 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
112 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
113 ## BUILD DLL |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
114 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
115 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
116 $(TARGET).def: $(OBJECTS) |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
117 dlltool --dllname $(TARGET).dll -z $(TARGET).def \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
118 $(OBJECTS) |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
119 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
120 $(TARGET).base: $(OBJECTS) $(GAIM_TOP)/src/gaim.lib |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
121 gcc -mdll -o junk.tmp -Wl,--base-file,$@ $(OBJECTS) $(LIB_PATHS) $(LIBS) |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
122 rm -rf junk.tmp |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
123 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
124 $(TARGET).exp: $(TARGET).def $(TARGET).base |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
125 dlltool --dllname $(TARGET).dll --base-file $(TARGET).base \ |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
126 --output-exp $(TARGET).exp --def $(TARGET).def |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
127 rm -rf $(TARGET).base |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
128 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
129 $(TARGET).dll: $(OBJECTS) $(TARGET).exp $(GAIM_TOP)/src/gaim.lib |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
130 gcc -mdll -o $(TARGET).dll $(OBJECTS) -Wl,$(TARGET).exp $(LIB_PATHS) $(LIBS) |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
131 rm -rf $(TARGET).exp |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
132 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
133 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
134 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
135 ## CLEAN RULES |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
136 ## |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
137 |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
138 clean: |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
139 rm -rf *.o |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
140 rm -rf $(TARGET).dll |
c0f4c664e3ba
[gaim-migrate @ 4352]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
141 rm -rf $(TARGET).def |