Mercurial > pidgin.yaz
comparison pidgin/plugins/Makefile.mingw @ 16039:ded8da3de5f8
This should get all the Win32 Makefiles in line with
the names Pidgin and Purple. I tried to separate PIDGIN
and PURPLE values as much as a could to make it easier to
divide them later if that's ever desired.
author | Kevin Stange <kevin@simguy.net> |
---|---|
date | Tue, 10 Apr 2007 06:19:29 +0000 |
parents | ec3e98c3e6c4 |
children | e8173e12182a |
comparison
equal
deleted
inserted
replaced
16037:8f62c4177e0c | 16039:ded8da3de5f8 |
---|---|
1 # | 1 # |
2 # Makefile.mingw | 2 # Makefile.mingw |
3 # | 3 # |
4 # Description: Makefile for win32 (mingw) version of Gaim Plugins | 4 # Description: Makefile for win32 (mingw) version of Pidgin Plugins |
5 # | 5 # |
6 | 6 |
7 GAIM_TOP := ../.. | 7 PIDGIN_TREE_TOP := ../.. |
8 include $(GAIM_TOP)/libpurple/win32/global.mak | 8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
9 | 9 |
10 GTKPERL_PLUGIN := ./perl | 10 GTKPERL_PLUGIN := ./perl |
11 TICKER_PLUGIN := ./ticker | 11 TICKER_PLUGIN := ./ticker |
12 TRANSPARENCY_PLUGIN := ./win32/transparency | 12 TRANSPARENCY_PLUGIN := ./win32/transparency |
13 WINPREFS_PLUGIN := ./win32/winprefs | 13 WINPREFS_PLUGIN := ./win32/winprefs |
24 -I$(GTK_TOP)/include/glib-2.0 \ | 24 -I$(GTK_TOP)/include/glib-2.0 \ |
25 -I$(GTK_TOP)/include/pango-1.0 \ | 25 -I$(GTK_TOP)/include/pango-1.0 \ |
26 -I$(GTK_TOP)/include/atk-1.0 \ | 26 -I$(GTK_TOP)/include/atk-1.0 \ |
27 -I$(GTK_TOP)/lib/glib-2.0/include \ | 27 -I$(GTK_TOP)/lib/glib-2.0/include \ |
28 -I$(GTK_TOP)/lib/gtk-2.0/include \ | 28 -I$(GTK_TOP)/lib/gtk-2.0/include \ |
29 -I$(GAIM_TOP) \ | 29 -I$(PIDGIN_TREE_TOP) \ |
30 -I$(GAIM_LIB_TOP) \ | 30 -I$(PURPLE_TOP) \ |
31 -I$(GAIM_LIB_TOP)/win32 \ | 31 -I$(PURPLE_TOP)/win32 \ |
32 -I$(GAIM_GTK_TOP) \ | 32 -I$(PIDGIN_TOP) \ |
33 -I$(GAIM_GTK_TOP)/win32 | 33 -I$(PIDGIN_TOP)/win32 |
34 | 34 |
35 LIB_PATHS = -L$(GTK_TOP)/lib \ | 35 LIB_PATHS = -L$(GTK_TOP)/lib \ |
36 -L$(GAIM_LIB_TOP) \ | 36 -L$(PURPLE_TOP) \ |
37 -L$(GAIM_GTK_TOP) | 37 -L$(PIDGIN_TOP) |
38 | 38 |
39 ## | 39 ## |
40 ## LIBRARIES | 40 ## LIBRARIES |
41 ## | 41 ## |
42 LIBS = -lgtk-win32-2.0 \ | 42 LIBS = -lgtk-win32-2.0 \ |
55 ## TARGET DEFINITIONS | 55 ## TARGET DEFINITIONS |
56 ## | 56 ## |
57 .PHONY: all clean plugins install | 57 .PHONY: all clean plugins install |
58 | 58 |
59 all: plugins | 59 all: plugins |
60 # $(MAKE) -C $(GTKPERL_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) | 60 # $(MAKE) -C $(GTKPERL_PLUGIN) -f $(MINGW_MAKEFILE) |
61 $(MAKE) -C $(TICKER_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) | 61 $(MAKE) -C $(TICKER_PLUGIN) -f $(MINGW_MAKEFILE) |
62 $(MAKE) -C $(TRANSPARENCY_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) | 62 $(MAKE) -C $(TRANSPARENCY_PLUGIN) -f $(MINGW_MAKEFILE) |
63 $(MAKE) -C $(WINPREFS_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) | 63 $(MAKE) -C $(WINPREFS_PLUGIN) -f $(MINGW_MAKEFILE) |
64 | 64 |
65 install: all $(GAIM_INSTALL_PLUGINS_DIR) | 65 install: all $(PIDGIN_INSTALL_PLUGINS_DIR) |
66 # $(MAKE) -C $(GTKPERL_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) install | 66 # $(MAKE) -C $(GTKPERL_PLUGIN) -f $(MINGW_MAKEFILE) install |
67 $(MAKE) -C $(TICKER_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) install | 67 $(MAKE) -C $(TICKER_PLUGIN) -f $(MINGW_MAKEFILE) install |
68 $(MAKE) -C $(TRANSPARENCY_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) install | 68 $(MAKE) -C $(TRANSPARENCY_PLUGIN) -f $(MINGW_MAKEFILE) install |
69 $(MAKE) -C $(WINPREFS_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) install | 69 $(MAKE) -C $(WINPREFS_PLUGIN) -f $(MINGW_MAKEFILE) install |
70 cp *.dll $(GAIM_INSTALL_PLUGINS_DIR) | 70 cp *.dll $(PIDGIN_INSTALL_PLUGINS_DIR) |
71 | 71 |
72 .c.dll: | 72 .c.dll: |
73 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $< | 73 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $< |
74 $(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@ | 74 $(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@ |
75 | 75 |
89 ## | 89 ## |
90 ## CLEAN RULES | 90 ## CLEAN RULES |
91 ## | 91 ## |
92 clean: | 92 clean: |
93 rm -f *.o *.dll | 93 rm -f *.o *.dll |
94 $(MAKE) -C $(GTKPERL_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) clean | 94 $(MAKE) -C $(GTKPERL_PLUGIN) -f $(MINGW_MAKEFILE) clean |
95 $(MAKE) -C $(TICKER_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) clean | 95 $(MAKE) -C $(TICKER_PLUGIN) -f $(MINGW_MAKEFILE) clean |
96 $(MAKE) -C $(TRANSPARENCY_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) clean | 96 $(MAKE) -C $(TRANSPARENCY_PLUGIN) -f $(MINGW_MAKEFILE) clean |
97 $(MAKE) -C $(WINPREFS_PLUGIN) -f $(GAIM_WIN32_MAKEFILE) clean | 97 $(MAKE) -C $(WINPREFS_PLUGIN) -f $(MINGW_MAKEFILE) clean |
98 | 98 |
99 include $(GAIM_COMMON_TARGETS) | 99 include $(PIDGIN_COMMON_TARGETS) |