Mercurial > pidgin.yaz
comparison libpurple/protocols/msnp9/Makefile.mingw @ 21312:a07cfce78345
Add MSNP9 back as an alternative alongside the existing MSN prpl. Cowardly
old fools like me who prefer the stability of our MSNP9 code over the
features of MSNP14 can enable this using the --disable-msnp14 ./configure
option.
If we want to release from i.p.p and MSN stability is the only blocker, we
can trivially flick the default to use MSNP9 in configure.ac
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sun, 11 Nov 2007 12:57:52 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
21311:7d031cec5ba2 | 21312:a07cfce78345 |
---|---|
1 # | |
2 # Makefile.mingw | |
3 # | |
4 # Description: Makefile for win32 (mingw) version of libmsn | |
5 # | |
6 | |
7 PIDGIN_TREE_TOP := ../../.. | |
8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak | |
9 | |
10 TARGET = libmsn | |
11 TYPE = PLUGIN | |
12 | |
13 # Static or Plugin... | |
14 ifeq ($(TYPE),STATIC) | |
15 DEFINES += -DSTATIC | |
16 DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR) | |
17 else | |
18 ifeq ($(TYPE),PLUGIN) | |
19 DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR) | |
20 endif | |
21 endif | |
22 | |
23 ## | |
24 ## INCLUDE PATHS | |
25 ## | |
26 INCLUDE_PATHS += -I. \ | |
27 -I$(GTK_TOP)/include \ | |
28 -I$(GTK_TOP)/include/glib-2.0 \ | |
29 -I$(GTK_TOP)/lib/glib-2.0/include \ | |
30 -I$(PURPLE_TOP) \ | |
31 -I$(PURPLE_TOP)/win32 \ | |
32 -I$(PIDGIN_TREE_TOP) | |
33 | |
34 LIB_PATHS += -L$(GTK_TOP)/lib \ | |
35 -L$(PURPLE_TOP) | |
36 | |
37 ## | |
38 ## SOURCES, OBJECTS | |
39 ## | |
40 C_SRC = cmdproc.c \ | |
41 command.c \ | |
42 dialog.c \ | |
43 directconn.c \ | |
44 error.c \ | |
45 group.c \ | |
46 history.c \ | |
47 httpconn.c \ | |
48 msg.c \ | |
49 msn.c \ | |
50 nexus.c \ | |
51 notification.c \ | |
52 object.c \ | |
53 page.c \ | |
54 servconn.c \ | |
55 session.c \ | |
56 slp.c \ | |
57 slpcall.c \ | |
58 slplink.c \ | |
59 slpmsg.c \ | |
60 slpsession.c \ | |
61 state.c \ | |
62 switchboard.c \ | |
63 sync.c \ | |
64 table.c \ | |
65 transaction.c \ | |
66 user.c \ | |
67 userlist.c \ | |
68 msn-utils.c | |
69 | |
70 OBJECTS = $(C_SRC:%.c=%.o) | |
71 | |
72 ## | |
73 ## LIBRARIES | |
74 ## | |
75 LIBS = \ | |
76 -lglib-2.0 \ | |
77 -lintl \ | |
78 -lws2_32 \ | |
79 -lpurple | |
80 | |
81 include $(PIDGIN_COMMON_RULES) | |
82 | |
83 ## | |
84 ## TARGET DEFINITIONS | |
85 ## | |
86 .PHONY: all install clean | |
87 | |
88 all: $(TARGET).dll | |
89 | |
90 install: all $(DLL_INSTALL_DIR) | |
91 cp $(TARGET).dll $(DLL_INSTALL_DIR) | |
92 | |
93 $(OBJECTS): $(PURPLE_CONFIG_H) | |
94 | |
95 $(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS) | |
96 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll | |
97 | |
98 ## | |
99 ## CLEAN RULES | |
100 ## | |
101 clean: | |
102 rm -f $(OBJECTS) | |
103 rm -f $(TARGET).dll | |
104 | |
105 include $(PIDGIN_COMMON_TARGETS) |