Mercurial > pidgin
annotate libpurple/protocols/myspace/Makefile.mingw @ 17685:ea5258b0f67d
Update for 0.10.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Wed, 04 Jul 2007 06:37:08 +0000 |
parents | 52357f6392a4 |
children | 210f792efd7c |
rev | line source |
---|---|
16394 | 1 # |
16396 | 2 # Makefile.mingw |
16394 | 3 # |
16735
52357f6392a4
Add partial implementation of MsimMessage (not used anywhere yet).
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
16396
diff
changeset
|
4 # Description: Makefile for win32 (mingw) version of libmyspace |
16394 | 5 # |
6 | |
16396 | 7 PIDGIN_TREE_TOP := ../../.. |
8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak | |
16394 | 9 |
16735
52357f6392a4
Add partial implementation of MsimMessage (not used anywhere yet).
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
16396
diff
changeset
|
10 TARGET = libmyspace |
16396 | 11 TYPE = PLUGIN |
16394 | 12 |
16396 | 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 | |
16394 | 22 |
23 ## | |
24 ## INCLUDE PATHS | |
25 ## | |
16396 | 26 INCLUDE_PATHS += -I. \ |
16394 | 27 -I$(GTK_TOP)/include \ |
28 -I$(GTK_TOP)/include/glib-2.0 \ | |
29 -I$(GTK_TOP)/lib/glib-2.0/include \ | |
16396 | 30 -I$(PURPLE_TOP) \ |
31 -I$(PURPLE_TOP)/win32 \ | |
32 -I$(PIDGIN_TREE_TOP) | |
16394 | 33 |
34 LIB_PATHS = -L$(GTK_TOP)/lib \ | |
16396 | 35 -L$(PURPLE_TOP) |
16394 | 36 |
37 ## | |
38 ## SOURCES, OBJECTS | |
39 ## | |
16735
52357f6392a4
Add partial implementation of MsimMessage (not used anywhere yet).
Jeffrey Connelly <jaconnel@calpoly.edu>
parents:
16396
diff
changeset
|
40 C_SRC = myspace.c message.c |
16394 | 41 |
42 OBJECTS = $(C_SRC:%.c=%.o) | |
43 | |
44 ## | |
45 ## LIBRARIES | |
46 ## | |
16396 | 47 LIBS = \ |
16394 | 48 -lglib-2.0 \ |
49 -lws2_32 \ | |
50 -lintl \ | |
16396 | 51 -lpurple |
16394 | 52 |
16396 | 53 include $(PIDGIN_COMMON_RULES) |
16394 | 54 |
55 ## | |
56 ## TARGET DEFINITIONS | |
57 ## | |
16396 | 58 .PHONY: all install clean |
16394 | 59 |
60 all: $(TARGET).dll | |
61 | |
16396 | 62 install: all $(DLL_INSTALL_DIR) |
63 cp $(TARGET).dll $(DLL_INSTALL_DIR) | |
16394 | 64 |
16396 | 65 $(OBJECTS): $(PURPLE_CONFIG_H) |
16394 | 66 |
67 ## | |
68 ## BUILD DLL | |
69 ## | |
16396 | 70 $(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS) |
71 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll | |
16394 | 72 |
73 ## | |
74 ## CLEAN RULES | |
75 ## | |
76 | |
77 clean: | |
16396 | 78 rm -f $(OBJECTS) |
79 rm -f $(TARGET).dll | |
80 | |
81 include $(PIDGIN_COMMON_TARGETS) |