Mercurial > pidgin
annotate plugins/Makefile.mingw @ 4024:c97789bb4bbc
[gaim-migrate @ 4226]
spelling fixes from John B. Silvestri. quoth he: While looking through the
.todo (the web version, actually) for something, my cable modem chose to drop
my connection. In a fit of boredom, I've gone ahead and proofread the todo for
typos. I could have gone crazy and capitalized the first letter of every
sentence, but I was not that bored :-). These are just a few little typos. For
some reason, I have a knack at spotting these things, and somehow it just seems
better to have it right, even for developers :). [Added note: It later
occurred to me to run the .todo through a spellchecker, which caught about
twice as many new typos as my eyes caught - hint: "I before E, except after C,
and a few odd cases (their, weigh, etc.).]
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 30 Nov 2002 19:09:22 +0000 |
parents | 5ecb4d68e665 |
children | 1e87350cb57c |
rev | line source |
---|---|
3630 | 1 # |
2 # Makefile.mingw | |
3 # | |
4 # Description: Makefile for win32 (mingw) version of Gaim Plugins | |
5 # | |
6 | |
7 # | |
8 # PATHS | |
9 # | |
10 | |
11 GAIM_PLUGINS := . | |
12 GAIM_TOP := .. | |
13 GTK_TOP := ../../win32-dev/gtk_2_0 | |
14 OSCAR_ROOT := ../src/protocols/oscar | |
15 GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir | |
16 TICKER := ./ticker | |
3729 | 17 TRANSPARENCY := ./win32/transparency |
3630 | 18 |
19 ## | |
20 ## VARIABLE DEFINITIONS | |
21 ## | |
22 | |
23 # Compiler Options | |
24 | |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
25 CFLAGS = |
3630 | 26 |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
27 DEFINES = |
3630 | 28 |
29 .SUFFIXES: | |
30 .SUFFIXES: .c .dll | |
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$(OSCAR_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) \ | |
51 -I$(GAIM_TOP)/src \ | |
52 -I$(GAIM_TOP)/src/win32 | |
53 | |
54 | |
55 LIB_PATHS = -L$(GTK_TOP)/lib \ | |
56 -L$(GAIM_TOP)/src | |
57 | |
58 | |
59 ## | |
60 ## LIBRARIES | |
61 ## | |
62 | |
63 LIBS = -lgtk-win32-2.0 -lglib-2.0 -lgdk-win32-2.0 -lgobject-2.0 -lgmodule-2.0 -lintl -lws2_32 -liberty -lgaim | |
64 | |
65 ## | |
66 ## RULES | |
67 ## | |
68 | |
69 ## | |
70 ## TARGET DEFINITIONS | |
71 ## | |
72 | |
73 .PHONY: all clean | |
74 | |
75 all: plugins | |
76 $(MAKE) -C $(TICKER) -f Makefile.mingw | |
3729 | 77 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw |
3630 | 78 |
79 install: | |
3739 | 80 cp $(GAIM_PLUGINS)/*.dll $(GAIM_PLUGINS)/gaim.pl $(GAIM_INSTALL_DIR)/plugins |
3630 | 81 $(MAKE) -C $(TICKER) -f Makefile.mingw install |
3729 | 82 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw install |
3630 | 83 |
84 # | |
85 # BUILD Plugin | |
86 # | |
87 | |
88 .c.dll: | |
89 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o tmp$@.o -c $< | |
90 dlltool -D $@ -z $@.def tmp$@.o | |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
91 $(CC) -mdll -o junk.tmp -Wl,--base-file,$@.base tmp$@.o $(LIB_PATHS) $(LIBS) |
3630 | 92 dlltool -D $@ -b $@.base -e $@.exp -d $@.def |
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
93 $(CC) -mdll -o $@ tmp$@.o -Wl,$@.exp $(LIB_PATHS) $(LIBS) |
3630 | 94 rm -rf $@.base $@.def $@.exp junk.tmp |
95 | |
96 plugins: autorecon.dll iconaway.dll spellchk.dll | |
97 | |
98 | |
99 ## | |
100 ## CLEAN RULES | |
101 ## | |
102 | |
103 clean: | |
104 rm -rf *.o | |
105 rm -rf *.dll | |
106 $(MAKE) -C $(TICKER) -f Makefile.mingw clean | |
3729 | 107 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw clean |