Mercurial > pidgin.yaz
comparison libpurple/plugins/perl/common/Makefile.mingw @ 15834:2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 19 Mar 2007 17:02:24 +0000 |
parents | 5dd46cb1a80a |
children | ded8da3de5f8 |
comparison
equal
deleted
inserted
replaced
15833:df859a1b40b1 | 15834:2f8274ce570a |
---|---|
1 # | 1 # |
2 # Makefile.mingw | 2 # Makefile.mingw |
3 # | 3 # |
4 # Description: Makefile for Gaim perl module. | 4 # Description: Makefile for Purple perl module. |
5 # | 5 # |
6 | 6 |
7 GAIM_TOP := ../../../.. | 7 GAIM_TOP := ../../../.. |
8 include $(GAIM_TOP)/libpurple/win32/global.mak | 8 include $(GAIM_TOP)/libpurple/win32/global.mak |
9 | 9 |
10 TARGET = Gaim | 10 TARGET = Purple |
11 AUTOSPLIT = lib/auto/Gaim/autosplit.ix | 11 AUTOSPLIT = lib/auto/Purple/autosplit.ix |
12 EXTUTILS ?= C:/perl/lib/ExtUtils | 12 EXTUTILS ?= C:/perl/lib/ExtUtils |
13 PERL_PLUGIN_TOP := .. | 13 PERL_PLUGIN_TOP := .. |
14 | 14 |
15 CFLAGS += -Wno-comment -Wno-unused | 15 CFLAGS += -Wno-comment -Wno-unused |
16 | 16 |
42 Connection.xs \ | 42 Connection.xs \ |
43 Conversation.xs \ | 43 Conversation.xs \ |
44 Core.xs \ | 44 Core.xs \ |
45 Debug.xs \ | 45 Debug.xs \ |
46 FT.xs \ | 46 FT.xs \ |
47 Gaim.xs \ | 47 Pidgin.xs \ |
48 ImgStore.xs \ | 48 ImgStore.xs \ |
49 Log.xs \ | 49 Log.xs \ |
50 Network.xs \ | 50 Network.xs \ |
51 Notify.xs \ | 51 Notify.xs \ |
52 Plugin.xs \ | 52 Plugin.xs \ |
89 ## TARGETS | 89 ## TARGETS |
90 ## | 90 ## |
91 .PHONY: all install clean | 91 .PHONY: all install clean |
92 | 92 |
93 all: $(TARGET).dll $(AUTOSPLIT) | 93 all: $(TARGET).dll $(AUTOSPLIT) |
94 | 94 |
95 install: all | 95 install: all |
96 rm -rf $(GAIM_INSTALL_PERLMOD_DIR) | 96 rm -rf $(GAIM_INSTALL_PERLMOD_DIR) |
97 cp -R lib $(GAIM_INSTALL_PERLMOD_DIR) | 97 cp -R lib $(GAIM_INSTALL_PERLMOD_DIR) |
98 cp $(TARGET).dll $(GAIM_INSTALL_PERLMOD_DIR) | 98 cp $(TARGET).dll $(GAIM_INSTALL_PERLMOD_DIR) |
99 | 99 |
100 $(C_FILES): $(GAIM_CONFIG_H) | 100 $(C_FILES): $(GAIM_CONFIG_H) |
101 | 101 |
102 $(AUTOSPLIT): | 102 $(AUTOSPLIT): |
103 mkdir -p ./lib/auto | 103 mkdir -p ./lib/auto |
104 cp Gaim.pm ./lib | 104 cp Purple.pm ./lib |
105 $(PERL) -MAutoSplit -e 'autosplit("lib/Gaim.pm")' | 105 $(PERL) -MAutoSplit -e 'autosplit("lib/Purple.pm")' |
106 | 106 |
107 $(TARGET).dll: $(GAIM_LIBGAIM_DLL).a $(GAIM_LIBGAIM_PERL_DLL).a $(FALLBACKS) $(OBJECTS) | 107 $(TARGET).dll: $(GAIM_LIBGAIM_DLL).a $(GAIM_LIBGAIM_PERL_DLL).a $(FALLBACKS) $(OBJECTS) |
108 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) -o $(TARGET).dll | 108 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) -o $(TARGET).dll |
109 | 109 |
110 ## | 110 ## |