Mercurial > pidgin.yaz
annotate pidgin/Makefile.mingw @ 17291:752d16a0de51
propagate from branch 'im.pidgin.pidgin' (head a1c04042b2aa9af25eb7fd9dd61735303e6d11a0)
to branch 'im.pidgin.soc.2007.certmgr' (head 8967bf2b17e244e97aad092f9794e6b19d992c55)
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Thu, 24 May 2007 21:47:02 +0000 |
parents | 1843c0180fbe |
children | ecf5bf6daa78 |
rev | line source |
---|---|
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 # |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
2 # Makefile.mingw |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
3 # |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
4 # Description: Makefile for win32 (mingw) version of Pidgin |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
5 # |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
6 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
7 PIDGIN_TREE_TOP := .. |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
9 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
10 NEEDED_DLLS = $(GTKSPELL_TOP)/gtkspell/libgtkspell.dll |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
11 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
12 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
13 ## VARIABLE DEFINITIONS |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
14 ## |
15377
0e17470b47c2
Update win32 build for libpurple and pidgin renames. This compiles, but is far from complete.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
15 EXE_TARGET := pidgin |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
16 PIDGIN_TARGET := pidgin |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
17 EXE_NAME := $(EXE_TARGET).exe |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
18 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
19 WINAPP := -mwindows |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
20 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
21 LDFLAGS := $(WINAPP) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
22 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
23 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
24 ## INCLUDE PATHS |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
25 ## |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
26 PURPLE_INCLUDE_PATHS = \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
27 -I$(PURPLE_TOP) \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
28 -I$(PURPLE_TOP)/win32 \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
29 -I$(PIDGIN_TREE_TOP) \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
30 -I$(GTK_TOP)/include \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
31 -I$(GTK_TOP)/include/glib-2.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
32 -I$(GTK_TOP)/lib/glib-2.0/include |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
33 |
16314
1843c0180fbe
Allow include and lib paths to be overridden from local.ent
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16232
diff
changeset
|
34 INCLUDE_PATHS += \ |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
35 $(PURPLE_INCLUDE_PATHS) \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
36 -I$(PIDGIN_IDLETRACK_TOP) \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
37 -I$(PIDGIN_TOP) \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
38 -I$(PIDGIN_TOP)/win32 \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
39 -I$(GTK_TOP)/include/gtk-2.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
40 -I$(GTK_TOP)/include/pango-1.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
41 -I$(GTK_TOP)/include/atk-1.0 \ |
16232
e8173e12182a
Add cairo to the mingw build include path. Fixes #175 .
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
42 -I$(GTK_TOP)/include/cairo \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
43 -I$(GTK_TOP)/lib/gtk-2.0/include \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
44 -I$(GTKSPELL_TOP) \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
45 -I$(ASPELL_TOP)/include |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
46 |
16314
1843c0180fbe
Allow include and lib paths to be overridden from local.ent
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16232
diff
changeset
|
47 LIB_PATHS += -L$(GTK_TOP)/lib \ |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
48 -L$(PURPLE_TOP) \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
49 -L$(PIDGIN_TOP) \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
50 -L$(PIDGIN_IDLETRACK_TOP) \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
51 -L$(ASPELL_TOP)/lib |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
52 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
53 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
54 ## SOURCES, OBJECTS |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
55 ## |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
56 PIDGIN_C_SRC = \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
57 gtkaccount.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
58 gtkblist.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
59 gtkconn.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
60 gtkconv.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
61 gtkcellrendererexpander.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
62 gtkcellrendererprogress.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
63 gtkdebug.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
64 gtkdialogs.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
65 gtkdnd-hints.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
66 gtkdocklet.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
67 gtkeventloop.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
68 gtkexpander.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
69 gtkft.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
70 gtkidle.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
71 gtkimhtml.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
72 gtkimhtmltoolbar.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
73 gtklog.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
74 gtkmain.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
75 gtkmenutray.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
76 gtknotify.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
77 gtkplugin.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
78 gtkpluginpref.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
79 gtkpounce.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
80 gtkprefs.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
81 gtkprivacy.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
82 gtkrequest.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
83 gtkroomlist.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
84 gtksavedstatuses.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
85 gtkscrollbook.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
86 gtksound.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
87 gtksourceiter.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
88 gtkstatusbox.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
89 gtkthemes.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
90 gtkutils.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
91 gtkwhiteboard.c \ |
15831
e04c98c1bce9
win32 fixes for s/gaim/purple/ stuff.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15701
diff
changeset
|
92 pidginstock.c \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
93 win32/MinimizeToTray.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
94 win32/gtkdocklet-win32.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
95 win32/gtkwin32dep.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
96 win32/untar.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
97 win32/wspell.c |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
98 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
99 PIDGIN_RC_SRC = win32/pidgin_dll_rc.rc |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
100 PIDGIN_OBJECTS = $(PIDGIN_C_SRC:%.c=%.o) $(PIDGIN_RC_SRC:%.rc=%.o) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
101 |
15377
0e17470b47c2
Update win32 build for libpurple and pidgin renames. This compiles, but is far from complete.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
102 EXE_RC_SRC = win32/pidgin_exe_rc.rc |
0e17470b47c2
Update win32 build for libpurple and pidgin renames. This compiles, but is far from complete.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
103 EXE_C_SRC = win32/winpidgin.c |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
104 EXE_OBJECTS = $(EXE_C_SRC:%.c=%.o) $(EXE_RC_SRC:%.rc=%.o) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
105 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
106 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
107 ## LIBRARIES |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
108 ## |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
109 LIBPURPLES = \ |
15377
0e17470b47c2
Update win32 build for libpurple and pidgin renames. This compiles, but is far from complete.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
110 -lpurple \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
111 -lglib-2.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
112 -lgthread-2.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
113 -lgobject-2.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
114 -lgmodule-2.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
115 -lintl \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
116 -lws2_32 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
117 -lwinmm \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
118 -lz |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
119 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
120 GTKPURPLES = \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
121 $(LIBPURPLES) \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
122 -lidletrack \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
123 -lgtk-win32-2.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
124 -latk-1.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
125 -lpango-1.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
126 -lgdk-win32-2.0 \ |
15701
4a331e8d01df
Fix win32 docklet. This is pretty ugly - we'll force GTK+ 2.10 at some point and use GtkStatusIcon to avoid converting the stock images to HICONs directly.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15610
diff
changeset
|
127 -lgdk_pixbuf-2.0 \ |
4a331e8d01df
Fix win32 docklet. This is pretty ugly - we'll force GTK+ 2.10 at some point and use GtkStatusIcon to avoid converting the stock images to HICONs directly.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15610
diff
changeset
|
128 -lgdi32 |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
129 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
130 include $(PIDGIN_COMMON_RULES) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
131 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
132 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
133 ## TARGET DEFINITIONS |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
134 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
135 .PHONY: all install install_shallow clean clean_exe |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
136 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
137 all: $(EXE_TARGET).exe $(PIDGIN_TARGET).dll |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
138 $(MAKE) -C $(PIDGIN_PLUGINS_TOP) -f $(MINGW_MAKEFILE) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
139 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
140 win32/pidgin_exe_rc.rc: win32/pidgin_exe_rc.rc.in $(PIDGIN_TREE_TOP)/VERSION |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
141 sed -e 's/@PIDGIN_VERSION@/$(PIDGIN_VERSION)/g' \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
142 -e 's/@ORIGINAL_FILENAME@/$(EXE_NAME)/' \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
143 $@.in > $@ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
144 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
145 install_shallow: $(PIDGIN_INSTALL_DIR) $(EXE_TARGET).exe $(PIDGIN_TARGET).dll |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
146 cp $(EXE_TARGET).exe $(PIDGIN_TARGET).dll $(PIDGIN_INSTALL_DIR) |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
147 cp $(NEEDED_DLLS) $(PIDGIN_INSTALL_DIR) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
148 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
149 install: install_shallow all |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
150 $(MAKE) -C $(PIDGIN_PLUGINS_TOP) -f $(MINGW_MAKEFILE) install |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
151 $(MAKE) -C $(PIDGIN_PIXMAPS_TOP) -f $(MINGW_MAKEFILE) install |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
152 $(MAKE) -C $(PIDGIN_SOUNDS_TOP) -f $(MINGW_MAKEFILE) install |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
153 $(MAKE) -C $(PIDGIN_IDLETRACK_TOP) -f $(MINGW_MAKEFILE) install |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
154 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
155 win32/pidgin_dll_rc.rc: win32/pidgin_dll_rc.rc.in $(PIDGIN_TREE_TOP)/VERSION |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
156 sed -e 's/@PIDGIN_VERSION@/$(PIDGIN_VERSION)/g' \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
157 $@.in > $@ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
158 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
159 $(EXE_OBJECTS) $(PIDGIN_OBJECTS): $(PIDGIN_CONFIG_H) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
160 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
161 $(PIDGIN_TARGET).dll $(PIDGIN_TARGET).dll.a: $(PURPLE_DLL).a $(PIDGIN_IDLETRACK_DLL).a $(PIDGIN_OBJECTS) |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
162 $(CC) -shared $(PIDGIN_OBJECTS) $(LIB_PATHS) $(GTKPURPLES) $(DLL_LD_FLAGS) -Wl,--out-implib,$(PIDGIN_TARGET).dll.a -o $(PIDGIN_TARGET).dll |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
163 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
164 $(EXE_TARGET).exe: $(PIDGIN_CONFIG_H) $(PIDGIN_DLL).a $(PIDGIN_IDLETRACK_DLL).a $(EXE_OBJECTS) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
165 $(CC) $(LDFLAGS) $(EXE_OBJECTS) -o $(EXE_TARGET).exe |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
166 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
167 $(EXE_TARGET)-portable.exe: DEFINES += -DPORTABLE |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
168 $(EXE_TARGET)-portable.exe: EXE_NAME := $(EXE_TARGET)-portable.exe |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
169 $(EXE_TARGET)-portable.exe: clean_exe $(PIDGIN_CONFIG_H) $(PIDGIN_DLL).a $(PIDGIN_IDLETRACK_DLL).a $(EXE_OBJECTS) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
170 $(CC) $(LDFLAGS) $(EXE_OBJECTS) -o $(EXE_TARGET)-portable.exe |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
171 $(MAKE) -f $(MINGW_MAKEFILE) clean_exe |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
172 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
173 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
174 ## CLEAN RULES |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
175 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
176 clean: |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
177 $(MAKE) -C $(PIDGIN_IDLETRACK_TOP) -f $(MINGW_MAKEFILE) clean |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
178 $(MAKE) -C $(PIDGIN_PLUGINS_TOP) -f $(MINGW_MAKEFILE) clean |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
179 rm -f $(PIDGIN_OBJECTS) $(PIDGIN_RC_SRC) $(EXE_OBJECTS) $(EXE_RC_SRC) |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
180 rm -f $(PIDGIN_TARGET).dll $(PIDGIN_TARGET).dll.a |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
181 rm -f $(EXE_TARGET).exe $(EXE_TARGET)-portable.exe |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
182 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
183 clean_exe: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
184 rm -f $(EXE_OBJECTS) $(EXE_RC_SRC) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
185 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15831
diff
changeset
|
186 include $(PIDGIN_COMMON_TARGETS) |