Mercurial > pidgin.yaz
annotate libgaim/protocols/msn/Makefile.mingw @ 15141:05c55c2b6c25
[gaim-migrate @ 17926]
Mark these strings for translation.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Huetsch <markhuetsch> |
---|---|
date | Sat, 09 Dec 2006 07:39:29 +0000 |
parents | 5d03b309b482 |
children | e354528c4163 |
rev | line source |
---|---|
14192 | 1 # |
2 # Makefile.mingw | |
3 # | |
4 # Description: Makefile for win32 (mingw) version of libmsn | |
5 # | |
6 | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
7 GAIM_TOP := ../../.. |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
8 include $(GAIM_TOP)/libgaim/win32/global.mak |
14192 | 9 |
10 TARGET = libmsn | |
14555
12cb76aeb21c
[gaim-migrate @ 17278]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
11 TYPE = PLUGIN |
14192 | 12 |
14555
12cb76aeb21c
[gaim-migrate @ 17278]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
13 # Static or Plugin... |
14192 | 14 ifeq ($(TYPE),STATIC) |
15 DEFINES += -DSTATIC | |
16 DLL_INSTALL_DIR = $(GAIM_INSTALL_DIR) | |
17 else | |
18 ifeq ($(TYPE),PLUGIN) | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
19 DLL_INSTALL_DIR = $(GAIM_INSTALL_PLUGINS_DIR) |
14192 | 20 endif |
21 endif | |
22 | |
23 ## | |
24 ## INCLUDE PATHS | |
25 ## | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
26 INCLUDE_PATHS += -I. \ |
14192 | 27 -I$(GTK_TOP)/include \ |
28 -I$(GTK_TOP)/include/glib-2.0 \ | |
29 -I$(GTK_TOP)/lib/glib-2.0/include \ | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
30 -I$(GAIM_LIB_TOP) \ |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
31 -I$(GAIM_LIB_TOP)/win32 \ |
14192 | 32 -I$(GAIM_TOP) |
33 | |
34 LIB_PATHS = -L$(GTK_TOP)/lib \ | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
35 -L$(GAIM_LIB_TOP) |
14192 | 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 ## | |
14232
a7590884324d
[gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14192
diff
changeset
|
75 LIBS = \ |
14192 | 76 -lglib-2.0 \ |
14232
a7590884324d
[gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14192
diff
changeset
|
77 -lintl \ |
14192 | 78 -lws2_32 \ |
79 -lgaim | |
80 | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
81 include $(GAIM_COMMON_RULES) |
14192 | 82 |
83 ## | |
84 ## TARGET DEFINITIONS | |
85 ## | |
14576
5d03b309b482
[gaim-migrate @ 17300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14555
diff
changeset
|
86 .PHONY: all install clean |
14192 | 87 |
88 all: $(TARGET).dll | |
89 | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
90 install: all $(DLL_INSTALL_DIR) |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
91 cp $(TARGET).dll $(DLL_INSTALL_DIR) |
14192 | 92 |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
93 $(OBJECTS): $(GAIM_CONFIG_H) |
14192 | 94 |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
95 $(TARGET).dll: $(GAIM_LIBGAIM_DLL).a $(OBJECTS) |
14232
a7590884324d
[gaim-migrate @ 16914]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14192
diff
changeset
|
96 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll |
14192 | 97 |
98 ## | |
99 ## CLEAN RULES | |
100 ## | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
101 clean: |
14555
12cb76aeb21c
[gaim-migrate @ 17278]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
102 rm -f $(OBJECTS) |
12cb76aeb21c
[gaim-migrate @ 17278]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
103 rm -f $(TARGET).dll |
14192 | 104 |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14232
diff
changeset
|
105 include $(GAIM_COMMON_TARGETS) |