annotate libgaim/protocols/Makefile.mingw @ 14232:a7590884324d

[gaim-migrate @ 16914] Protocols now compile on win32. Next, everything needs to be put all together. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Sun, 20 Aug 2006 18:49:08 +0000
parents
children 7635195195c0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14232
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
1 # Makefile.mingw
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
2 #
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
3 # Author: hermanator12002@yahoo.com
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
4 # Date 9/11/02
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
5 # Description: Top Makefile for win32 (mingw) port of Gaim
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
6 #
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
7
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
8 GAIM_TOP = ../..
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
9 LIBGAIM_TOP = ../
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
10 GAIM_PROTOS = .
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
11 GAIM_INSTALL_DIR = $(GAIM_TOP)/win32-install-dir
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
12
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
13 OSCAR = $(GAIM_PROTOS)/oscar
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
14 YAHOO = $(GAIM_PROTOS)/yahoo
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
15 MSN = $(GAIM_PROTOS)/msn
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
16 TOC = $(GAIM_PROTOS)/toc
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
17 IRC = $(GAIM_PROTOS)/irc
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
18 JABBER = $(GAIM_PROTOS)/jabber
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
19 GG = $(GAIM_PROTOS)/gg
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
20 NOVELL = $(GAIM_PROTOS)/novell
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
21 SILC = $(GAIM_PROTOS)/silc
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
22 SIMPLE = $(GAIM_PROTOS)/simple
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
23 SAMETIME = $(GAIM_PROTOS)/sametime
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
24
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
25 VERSION := $(shell cat GAIM_TOP/VERSION)
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
26
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
27 ##
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
28 ## Don't forget to change STATIC_PROTO_INIT, in config.h.mingw if you
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
29 ## change the status of a protocol (static/plugin)
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
30 ##
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
31
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
32 OSCAR_TYPE = PLUGIN
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
33 YAHOO_TYPE = PLUGIN
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
34 MSN_TYPE = PLUGIN
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
35 TOC_TYPE = PLUGIN
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
36 IRC_TYPE = PLUGIN
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
37 JABBER_TYPE = PLUGIN
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
38 GG_TYPE = PLUGIN
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
39 NOVELL_TYPE = PLUGIN
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
40 SILC_TYPE = PLUGIN
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
41 SIMPLE_TYPE = PLUGIN
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
42 SAMETIME_TYPE = PLUGIN
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
43
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
44 all:
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
45 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
46 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
47 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
48 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
49 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
50 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
51 $(MAKE) TYPE='$(NOVELL_TYPE)' -C $(NOVELL) -f Makefile.mingw
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
52 $(MAKE) TYPE='$(SILC_TYPE)' -C $(SILC) -f Makefile.mingw
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
53 $(MAKE) TYPE='$(SIMPLE_TYPE)' -C $(SIMPLE) -f Makefile.mingw
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
54 $(MAKE) TYPE='$(SAMETIME_TYPE)' -C $(SAMETIME) -f Makefile.mingw
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
55
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
56
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
57 install: all
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
58 mkdir -p $(GAIM_INSTALL_DIR)/plugins
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
59 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw install
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
60 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw install
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
61 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw install
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
62 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw install
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
63 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw install
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
64 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw install
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
65 $(MAKE) TYPE='$(NOVELL_TYPE)' -C $(NOVELL) -f Makefile.mingw install
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
66 $(MAKE) TYPE='$(SILC_TYPE)' -C $(SILC) -f Makefile.mingw install
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
67 $(MAKE) TYPE='$(SIMPLE_TYPE)' -C $(SIMPLE) -f Makefile.mingw install
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
68 $(MAKE) TYPE='$(SAMETIME_TYPE)' -C $(SAMETIME) -f Makefile.mingw install
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
69
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
70 clean:
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
71 $(MAKE) -C $(OSCAR) -f Makefile.mingw clean
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
72 $(MAKE) -C $(YAHOO) -f Makefile.mingw clean
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
73 $(MAKE) -C $(MSN) -f Makefile.mingw clean
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
74 $(MAKE) -C $(IRC) -f Makefile.mingw clean
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
75 $(MAKE) -C $(JABBER) -f Makefile.mingw clean
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
76 $(MAKE) -C $(GG) -f Makefile.mingw clean
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
77 $(MAKE) -C $(NOVELL) -f Makefile.mingw clean
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
78 $(MAKE) -C $(SILC) -f Makefile.mingw clean
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
79 $(MAKE) -C $(SIMPLE) -f Makefile.mingw clean
a7590884324d [gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
80 $(MAKE) -C $(SAMETIME) -f Makefile.mingw clean