Mercurial > pidgin.yaz
annotate pidgin/plugins/cap/Makefile.mingw @ 23454:0ece981e44f5
Fixed theme-manager to be more of a singleton and less-gobject like
author | Justin Rodriguez <ffdragon@soc.pidgin.im> |
---|---|
date | Wed, 11 Jun 2008 03:41:35 +0000 |
parents | 926b94050ba7 |
children |
rev | line source |
---|---|
18641
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
1 # |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
2 # Makefile.mingw |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
3 # |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
4 # Description: Makefile for cap plugin. |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
5 # |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
6 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
7 PIDGIN_TREE_TOP := ../../.. |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
9 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
10 TARGET = cap |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
11 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
12 # This is where sqlite3.[ch] from the sqlite "amalgamation" archive were extracted to |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
13 # This is available from http://www.sqlite.org/download.html |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
14 SQLITE_TOP ?= $(WIN32_DEV_TOP)/sqlite-3.4.1 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
15 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
16 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
17 ## INCLUDE PATHS |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
18 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
19 INCLUDE_PATHS += -I. \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
20 -I$(SQLITE_TOP) \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
21 -I$(GTK_TOP)/include \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
22 -I$(GTK_TOP)/include/gtk-2.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
23 -I$(GTK_TOP)/include/glib-2.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
24 -I$(GTK_TOP)/include/pango-1.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
25 -I$(GTK_TOP)/include/atk-1.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
26 -I$(GTK_TOP)/include/cairo \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
27 -I$(GTK_TOP)/lib/glib-2.0/include \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
28 -I$(GTK_TOP)/lib/gtk-2.0/include \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
29 -I$(PURPLE_TOP) \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
30 -I$(PURPLE_TOP)/win32 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
31 -I$(PIDGIN_TOP) \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
32 -I$(PIDGIN_TOP)/win32 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
33 -I$(PIDGIN_TREE_TOP) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
34 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
35 LIB_PATHS += -L$(GTK_TOP)/lib \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
36 -L$(PURPLE_TOP) \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
37 -L$(PIDGIN_TOP) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
38 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
39 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
40 ## SOURCES, OBJECTS |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
41 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
42 C_SRC = cap.c \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
43 $(SQLITE_TOP)/sqlite3.c |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
44 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
45 OBJECTS = $(C_SRC:%.c=%.o) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
46 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
47 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
48 ## LIBRARIES |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
49 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
50 LIBS = -lgtk-win32-2.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
51 -lglib-2.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
52 -lgdk-win32-2.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
53 -lgobject-2.0 \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
54 -lintl \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
55 -lpurple \ |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
56 -lpidgin |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
57 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
58 include $(PIDGIN_COMMON_RULES) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
59 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
60 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
61 ## TARGET DEFINITIONS |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
62 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
63 .PHONY: all install clean |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
64 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
65 all: $(TARGET).dll |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
66 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
67 install: $(PIDGIN_INSTALL_PLUGINS_DIR) all |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
68 cp $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
69 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
70 $(OBJECTS): $(PIDGIN_CONFIG_H) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
71 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
72 $(TARGET).dll: $(PURPLE_DLL).a $(PIDGIN_DLL).a $(OBJECTS) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
73 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
74 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
75 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
76 ## CLEAN RULES |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
77 ## |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
78 clean: |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
79 rm -rf $(OBJECTS) |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
80 rm -rf $(TARGET).dll |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
81 |
926b94050ba7
Add mingw makefile for cap. This isn't being built by default, but allows someone to do so if they want to.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff
changeset
|
82 include $(PIDGIN_COMMON_TARGETS) |