Mercurial > pidgin.yaz
annotate libgaim/plugins/Makefile.mingw @ 14755:811464ba52de
[gaim-migrate @ 17512]
Rocking patch (#1574228) from Richard Nelson (wabz) to fix the behaviour of the
status-windows for transient statuses. I butchered it a little, and might have
broke something in the process. I take the blames if this causes any problems.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 18 Oct 2006 04:00:27 +0000 |
parents | 5d03b309b482 |
children | 630b794db0c8 |
rev | line source |
---|---|
14224
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1 # |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
2 # Makefile.mingw |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
3 # |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
4 # Description: Makefile for win32 (mingw) version of Gaim Plugins |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
5 # |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
6 |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
7 GAIM_TOP := ../.. |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
8 include $(GAIM_TOP)/libgaim/win32/global.mak |
14224
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
9 |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
10 PERL_PLUGIN := ./perl |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
11 TCL_PLUGIN := ./tcl |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
12 SSL_PLUGIN := ./ssl |
14224
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
13 |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
14 .SUFFIXES: |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
15 .SUFFIXES: .c .dll |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
16 |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
17 ## |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
18 ## INCLUDE PATHS |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
19 ## |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
20 INCLUDE_PATHS += \ |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
21 -I$(GTK_TOP)/include \ |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
22 -I$(GTK_TOP)/include/glib-2.0 \ |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
23 -I$(GTK_TOP)/lib/glib-2.0/include \ |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
24 -I$(GAIM_TOP) \ |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
25 -I$(GAIM_LIB_TOP) \ |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
26 -I$(GAIM_LIB_TOP)/win32 |
14224
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
27 |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
28 LIB_PATHS = -L$(GTK_TOP)/lib \ |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
29 -L$(GAIM_LIB_TOP) |
14224
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
30 |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
31 ## |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
32 ## LIBRARIES |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
33 ## |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
34 LIBS = \ |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
35 -lglib-2.0 \ |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
36 -lgobject-2.0 \ |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
37 -lgmodule-2.0 \ |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
38 -lintl \ |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
39 -lws2_32 \ |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
40 -lgaim |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
41 |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
42 ## |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
43 ## TARGET DEFINITIONS |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
44 ## |
14576
5d03b309b482
[gaim-migrate @ 17300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14367
diff
changeset
|
45 .PHONY: all clean plugins install |
14224
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
46 |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
47 all: $(GAIM_LIBGAIM_DLL).a plugins |
14367
ee29af32f163
[gaim-migrate @ 17073]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
48 $(MAKE) -C $(PERL_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
49 $(MAKE) -C $(TCL_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
50 $(MAKE) -C $(SSL_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) |
14224
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
51 |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
52 install: all $(GAIM_INSTALL_PLUGINS_DIR) |
14367
ee29af32f163
[gaim-migrate @ 17073]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
53 $(MAKE) -C $(PERL_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) install |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
54 $(MAKE) -C $(TCL_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) install |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
55 $(MAKE) -C $(SSL_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) install |
14576
5d03b309b482
[gaim-migrate @ 17300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14367
diff
changeset
|
56 cp *.dll $(GAIM_INSTALL_PLUGINS_DIR) |
14224
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
57 |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
58 .c.dll: |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
59 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $< |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
60 $(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@ |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
61 |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
62 plugins: \ |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
63 idle.dll \ |
14235
a54ff7cafc2a
[gaim-migrate @ 16917]
Richard Laager <rlaager@wiktel.com>
parents:
14224
diff
changeset
|
64 log_reader.dll \ |
14224
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
65 psychic.dll \ |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
66 statenotify.dll |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
67 |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
68 ## |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
69 ## CLEAN RULES |
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
70 ## |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
71 clean: |
14576
5d03b309b482
[gaim-migrate @ 17300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14367
diff
changeset
|
72 rm -f *.o *.dll |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
73 $(MAKE) -C $(PERL_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) clean |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
74 $(MAKE) -C $(TCL_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) clean |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
75 $(MAKE) -C $(SSL_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) clean |
14224
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
76 |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14235
diff
changeset
|
77 include $(GAIM_COMMON_TARGETS) |