comparison libgaim/protocols/Makefile.mingw @ 14315:8793fc8f7064

[gaim-migrate @ 17008] Lee Roach revamped the win32 makefiles. This makes me happy, they were in dire need of some loving. This makes life a great deal easier for anyone who wants to build out-of-tree plugins. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 23 Aug 2006 21:34:43 +0000
parents 7635195195c0
children 5d03b309b482
comparison
equal deleted inserted replaced
14314:8b8188fa98f4 14315:8793fc8f7064
3 # Author: hermanator12002@yahoo.com 3 # Author: hermanator12002@yahoo.com
4 # Date 9/11/02 4 # Date 9/11/02
5 # Description: Top Makefile for win32 (mingw) port of Gaim 5 # Description: Top Makefile for win32 (mingw) port of Gaim
6 # 6 #
7 7
8 GAIM_TOP = ../.. 8 GAIM_TOP := ../..
9 LIBGAIM_TOP = ../ 9 include $(GAIM_TOP)/libgaim/win32/global.mak
10 GAIM_PROTOS = .
11 GAIM_INSTALL_DIR = $(GAIM_TOP)/win32-install-dir
12 10
13 OSCAR = $(GAIM_PROTOS)/oscar 11 GG = $(GAIM_PROTOS_TOP)/gg
14 YAHOO = $(GAIM_PROTOS)/yahoo 12 IRC = $(GAIM_PROTOS_TOP)/irc
15 MSN = $(GAIM_PROTOS)/msn 13 JABBER = $(GAIM_PROTOS_TOP)/jabber
16 TOC = $(GAIM_PROTOS)/toc 14 MSN = $(GAIM_PROTOS_TOP)/msn
17 IRC = $(GAIM_PROTOS)/irc 15 NOVELL = $(GAIM_PROTOS_TOP)/novell
18 JABBER = $(GAIM_PROTOS)/jabber 16 OSCAR = $(GAIM_PROTOS_TOP)/oscar
19 GG = $(GAIM_PROTOS)/gg 17 SAMETIME = $(GAIM_PROTOS_TOP)/sametime
20 NOVELL = $(GAIM_PROTOS)/novell 18 SILC = $(GAIM_PROTOS_TOP)/silc
21 SILC = $(GAIM_PROTOS)/silc 19 SIMPLE = $(GAIM_PROTOS_TOP)/simple
22 SIMPLE = $(GAIM_PROTOS)/simple 20 TOC = $(GAIM_PROTOS_TOP)/toc
23 SAMETIME = $(GAIM_PROTOS)/sametime 21 YAHOO = $(GAIM_PROTOS_TOP)/yahoo
24 22
25 ## 23 ##
26 ## Don't forget to change STATIC_PROTO_INIT, in config.h.mingw if you 24 ## Don't forget to change STATIC_PROTO_INIT, in config.h.mingw if you
27 ## change the status of a protocol (static/plugin) 25 ## change the status of a protocol (static/plugin)
28 ## 26 ##
29 27
30 OSCAR_TYPE = PLUGIN 28 GG_TYPE = PLUGIN
31 YAHOO_TYPE = PLUGIN
32 MSN_TYPE = PLUGIN
33 TOC_TYPE = PLUGIN
34 IRC_TYPE = PLUGIN 29 IRC_TYPE = PLUGIN
35 JABBER_TYPE = PLUGIN 30 JABBER_TYPE = PLUGIN
36 GG_TYPE = PLUGIN 31 MSN_TYPE = PLUGIN
37 NOVELL_TYPE = PLUGIN 32 NOVELL_TYPE = PLUGIN
33 OSCAR_TYPE = PLUGIN
34 SAMETIME_TYPE = PLUGIN
38 SILC_TYPE = PLUGIN 35 SILC_TYPE = PLUGIN
39 SIMPLE_TYPE = PLUGIN 36 SIMPLE_TYPE = PLUGIN
40 SAMETIME_TYPE = PLUGIN 37 TOC_TYPE = PLUGIN
38 YAHOO_TYPE = PLUGIN
41 39
42 all: 40 all:
43 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw 41 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f $(GAIM_WIN32_MAKEFILE)
44 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw 42 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f $(GAIM_WIN32_MAKEFILE)
45 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw 43 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f $(GAIM_WIN32_MAKEFILE)
46 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw 44 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f $(GAIM_WIN32_MAKEFILE)
47 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw 45 $(MAKE) TYPE='$(NOVELL_TYPE)' -C $(NOVELL) -f $(GAIM_WIN32_MAKEFILE)
48 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw 46 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f $(GAIM_WIN32_MAKEFILE)
49 $(MAKE) TYPE='$(NOVELL_TYPE)' -C $(NOVELL) -f Makefile.mingw 47 $(MAKE) TYPE='$(SAMETIME_TYPE)' -C $(SAMETIME) -f $(GAIM_WIN32_MAKEFILE)
50 $(MAKE) TYPE='$(SILC_TYPE)' -C $(SILC) -f Makefile.mingw 48 $(MAKE) TYPE='$(SILC_TYPE)' -C $(SILC) -f $(GAIM_WIN32_MAKEFILE)
51 $(MAKE) TYPE='$(SIMPLE_TYPE)' -C $(SIMPLE) -f Makefile.mingw 49 $(MAKE) TYPE='$(SIMPLE_TYPE)' -C $(SIMPLE) -f $(GAIM_WIN32_MAKEFILE)
52 $(MAKE) TYPE='$(SAMETIME_TYPE)' -C $(SAMETIME) -f Makefile.mingw 50 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f $(GAIM_WIN32_MAKEFILE)
53
54 51
55 install: all 52 install: all
56 mkdir -p $(GAIM_INSTALL_DIR)/plugins 53 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f $(GAIM_WIN32_MAKEFILE) install
57 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw install 54 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f $(GAIM_WIN32_MAKEFILE) install
58 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw install 55 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f $(GAIM_WIN32_MAKEFILE) install
59 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw install 56 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f $(GAIM_WIN32_MAKEFILE) install
60 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw install 57 $(MAKE) TYPE='$(NOVELL_TYPE)' -C $(NOVELL) -f $(GAIM_WIN32_MAKEFILE) install
61 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw install 58 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f $(GAIM_WIN32_MAKEFILE) install
62 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw install 59 $(MAKE) TYPE='$(SAMETIME_TYPE)' -C $(SAMETIME) -f $(GAIM_WIN32_MAKEFILE) install
63 $(MAKE) TYPE='$(NOVELL_TYPE)' -C $(NOVELL) -f Makefile.mingw install 60 $(MAKE) TYPE='$(SILC_TYPE)' -C $(SILC) -f $(GAIM_WIN32_MAKEFILE) install
64 $(MAKE) TYPE='$(SILC_TYPE)' -C $(SILC) -f Makefile.mingw install 61 $(MAKE) TYPE='$(SIMPLE_TYPE)' -C $(SIMPLE) -f $(GAIM_WIN32_MAKEFILE) install
65 $(MAKE) TYPE='$(SIMPLE_TYPE)' -C $(SIMPLE) -f Makefile.mingw install 62 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f $(GAIM_WIN32_MAKEFILE) install
66 $(MAKE) TYPE='$(SAMETIME_TYPE)' -C $(SAMETIME) -f Makefile.mingw install
67 63
68 clean: 64 clean:
69 $(MAKE) -C $(OSCAR) -f Makefile.mingw clean 65 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f $(GAIM_WIN32_MAKEFILE) clean
70 $(MAKE) -C $(YAHOO) -f Makefile.mingw clean 66 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f $(GAIM_WIN32_MAKEFILE) clean
71 $(MAKE) -C $(MSN) -f Makefile.mingw clean 67 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f $(GAIM_WIN32_MAKEFILE) clean
72 $(MAKE) -C $(IRC) -f Makefile.mingw clean 68 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f $(GAIM_WIN32_MAKEFILE) clean
73 $(MAKE) -C $(JABBER) -f Makefile.mingw clean 69 $(MAKE) TYPE='$(NOVELL_TYPE)' -C $(NOVELL) -f $(GAIM_WIN32_MAKEFILE) clean
74 $(MAKE) -C $(GG) -f Makefile.mingw clean 70 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f $(GAIM_WIN32_MAKEFILE) clean
75 $(MAKE) -C $(NOVELL) -f Makefile.mingw clean 71 $(MAKE) TYPE='$(SAMETIME_TYPE)' -C $(SAMETIME) -f $(GAIM_WIN32_MAKEFILE) clean
76 $(MAKE) -C $(SILC) -f Makefile.mingw clean 72 $(MAKE) TYPE='$(SILC_TYPE)' -C $(SILC) -f $(GAIM_WIN32_MAKEFILE) clean
77 $(MAKE) -C $(SIMPLE) -f Makefile.mingw clean 73 $(MAKE) TYPE='$(SIMPLE_TYPE)' -C $(SIMPLE) -f $(GAIM_WIN32_MAKEFILE) clean
78 $(MAKE) -C $(SAMETIME) -f Makefile.mingw clean 74 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f $(GAIM_WIN32_MAKEFILE) clean