Mercurial > pidgin.yaz
annotate libpurple/protocols/myspace/Makefile.mingw @ 27615:b909c4a7bfc8
Allow changing contact details for folks in the buddylist.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 15 Jul 2009 03:17:54 +0000 |
parents | bddc6a6fddf0 |
children |
rev | line source |
---|---|
16395 | 1 # |
16397 | 2 # Makefile.mingw |
16395 | 3 # |
16746
52357f6392a4
Add partial implementation of MsimMessage (not used anywhere yet).
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
16397
diff
changeset
|
4 # Description: Makefile for win32 (mingw) version of libmyspace |
16395 | 5 # |
6 | |
16397 | 7 PIDGIN_TREE_TOP := ../../.. |
8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak | |
16395 | 9 |
16746
52357f6392a4
Add partial implementation of MsimMessage (not used anywhere yet).
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
16397
diff
changeset
|
10 TARGET = libmyspace |
16397 | 11 TYPE = PLUGIN |
16395 | 12 |
16397 | 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 | |
16395 | 22 |
23 ## | |
24 ## INCLUDE PATHS | |
25 ## | |
16397 | 26 INCLUDE_PATHS += -I. \ |
16395 | 27 -I$(GTK_TOP)/include \ |
28 -I$(GTK_TOP)/include/glib-2.0 \ | |
29 -I$(GTK_TOP)/lib/glib-2.0/include \ | |
16397 | 30 -I$(PURPLE_TOP) \ |
31 -I$(PURPLE_TOP)/win32 \ | |
32 -I$(PIDGIN_TREE_TOP) | |
16395 | 33 |
34 LIB_PATHS = -L$(GTK_TOP)/lib \ | |
16397 | 35 -L$(PURPLE_TOP) |
16395 | 36 |
37 ## | |
38 ## SOURCES, OBJECTS | |
39 ## | |
19435
bddc6a6fddf0
In msimprpl, move user-related code to a new user module, and move other
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
19434
diff
changeset
|
40 C_SRC = myspace.c message.c zap.c session.c markup.c user.c |
16395 | 41 |
42 OBJECTS = $(C_SRC:%.c=%.o) | |
43 | |
44 ## | |
45 ## LIBRARIES | |
46 ## | |
16397 | 47 LIBS = \ |
16395 | 48 -lglib-2.0 \ |
49 -lws2_32 \ | |
50 -lintl \ | |
16397 | 51 -lpurple |
16395 | 52 |
16397 | 53 include $(PIDGIN_COMMON_RULES) |
16395 | 54 |
55 ## | |
56 ## TARGET DEFINITIONS | |
57 ## | |
16397 | 58 .PHONY: all install clean |
16395 | 59 |
60 all: $(TARGET).dll | |
61 | |
16397 | 62 install: all $(DLL_INSTALL_DIR) |
63 cp $(TARGET).dll $(DLL_INSTALL_DIR) | |
16395 | 64 |
16397 | 65 $(OBJECTS): $(PURPLE_CONFIG_H) |
16395 | 66 |
67 ## | |
68 ## BUILD DLL | |
69 ## | |
16397 | 70 $(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS) |
71 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll | |
16395 | 72 |
73 ## | |
74 ## CLEAN RULES | |
75 ## | |
76 | |
77 clean: | |
16397 | 78 rm -f $(OBJECTS) |
79 rm -f $(TARGET).dll | |
80 | |
81 include $(PIDGIN_COMMON_TARGETS) |