annotate pidgin/plugins/disco/Makefile.mingw @ 30914:d0965a30216a

Spelling and spacing.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 01 Sep 2010 21:54:19 +0000
parents 14baa6cb1c2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27218
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
1 #
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
2 # Makefile.mingw
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
3 #
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
4 # Description: Makefile for xmppdisco plugin.
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
5 #
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
6
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
7 PIDGIN_TREE_TOP := ../../..
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
9
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
10 TARGET = xmppdisco
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
11
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
12 ##
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
13 ## INCLUDE PATHS
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
14 ##
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
15 INCLUDE_PATHS += -I. \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
16 -I$(GTK_TOP)/include \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
17 -I$(GTK_TOP)/include/gtk-2.0 \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
18 -I$(GTK_TOP)/include/glib-2.0 \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
19 -I$(GTK_TOP)/include/pango-1.0 \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
20 -I$(GTK_TOP)/include/atk-1.0 \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
21 -I$(GTK_TOP)/include/cairo \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
22 -I$(GTK_TOP)/lib/glib-2.0/include \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
23 -I$(GTK_TOP)/lib/gtk-2.0/include \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
24 -I$(PURPLE_TOP) \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
25 -I$(PURPLE_TOP)/win32 \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
26 -I$(PIDGIN_TOP) \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
27 -I$(PIDGIN_TOP)/win32 \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
28 -I$(PIDGIN_TREE_TOP)
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
29
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
30 LIB_PATHS += -L$(GTK_TOP)/lib \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
31 -L$(PURPLE_TOP) \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
32 -L$(PIDGIN_TOP)
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
33
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
34 ##
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
35 ## SOURCES, OBJECTS
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
36 ##
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
37 C_SRC = xmppdisco.c \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
38 gtkdisco.c
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
39
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
40 OBJECTS = $(C_SRC:%.c=%.o)
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
41
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
42 ##
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
43 ## LIBRARIES
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
44 ##
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
45 LIBS = -lgtk-win32-2.0 \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
46 -lglib-2.0 \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
47 -lgdk-win32-2.0 \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
48 -lgobject-2.0 \
27227
14baa6cb1c2b Fix building of disco plugin on Windows. Thanks to SuperMMX.
supermmx@gmail.com
parents: 27218
diff changeset
49 -lpango-1.0 \
14baa6cb1c2b Fix building of disco plugin on Windows. Thanks to SuperMMX.
supermmx@gmail.com
parents: 27218
diff changeset
50 -lgdk_pixbuf-2.0 \
27218
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
51 -lintl \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
52 -lpurple \
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
53 -lpidgin
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
54
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
55 include $(PIDGIN_COMMON_RULES)
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
56
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
57 ##
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
58 ## TARGET DEFINITIONS
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
59 ##
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
60 .PHONY: all install clean
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
61
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
62 all: $(TARGET).dll
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
63
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
64 install: $(PIDGIN_INSTALL_PLUGINS_DIR) all
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
65 cp $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR)
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
66
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
67 $(OBJECTS): $(PIDGIN_CONFIG_H)
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
68
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
69 $(TARGET).dll: $(PURPLE_DLL).a $(PIDGIN_DLL).a $(OBJECTS)
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
70 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
71
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
72 ##
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
73 ## CLEAN RULES
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
74 ##
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
75 clean:
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
76 rm -rf $(OBJECTS)
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
77 rm -rf $(TARGET).dll
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
78
f97cc05bf3b7 Build infrastructure for XMPP Disco plugin on Windows. Ripped from the ticker.
Paul Aurich <paul@darkrain42.org>
parents:
diff changeset
79 include $(PIDGIN_COMMON_TARGETS)