Mercurial > pidgin.yaz
comparison pidgin/plugins/ticker/Makefile.mingw @ 16039:ded8da3de5f8
This should get all the Win32 Makefiles in line with
the names Pidgin and Purple. I tried to separate PIDGIN
and PURPLE values as much as a could to make it easier to
divide them later if that's ever desired.
author | Kevin Stange <kevin@simguy.net> |
---|---|
date | Tue, 10 Apr 2007 06:19:29 +0000 |
parents | 0e17470b47c2 |
children | e8173e12182a |
comparison
equal
deleted
inserted
replaced
16037:8f62c4177e0c | 16039:ded8da3de5f8 |
---|---|
2 # Makefile.mingw | 2 # Makefile.mingw |
3 # | 3 # |
4 # Description: Makefile for ticker plugin. | 4 # Description: Makefile for ticker plugin. |
5 # | 5 # |
6 | 6 |
7 GAIM_TOP := ../../.. | 7 PIDGIN_TREE_TOP := ../../.. |
8 include $(GAIM_TOP)/libpurple/win32/global.mak | 8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
9 | 9 |
10 TARGET = ticker | 10 TARGET = ticker |
11 | 11 |
12 ## | 12 ## |
13 ## INCLUDE PATHS | 13 ## INCLUDE PATHS |
18 -I$(GTK_TOP)/include/glib-2.0 \ | 18 -I$(GTK_TOP)/include/glib-2.0 \ |
19 -I$(GTK_TOP)/include/pango-1.0 \ | 19 -I$(GTK_TOP)/include/pango-1.0 \ |
20 -I$(GTK_TOP)/include/atk-1.0 \ | 20 -I$(GTK_TOP)/include/atk-1.0 \ |
21 -I$(GTK_TOP)/lib/glib-2.0/include \ | 21 -I$(GTK_TOP)/lib/glib-2.0/include \ |
22 -I$(GTK_TOP)/lib/gtk-2.0/include \ | 22 -I$(GTK_TOP)/lib/gtk-2.0/include \ |
23 -I$(GAIM_LIB_TOP) \ | 23 -I$(PURPLE_TOP) \ |
24 -I$(GAIM_LIB_TOP)/win32 \ | 24 -I$(PURPLE_TOP)/win32 \ |
25 -I$(GAIM_GTK_TOP) \ | 25 -I$(PIDGIN_TOP) \ |
26 -I$(GAIM_GTK_TOP)/win32 \ | 26 -I$(PIDGIN_TOP)/win32 \ |
27 -I$(GAIM_TOP) | 27 -I$(PIDGIN_TREE_TOP) |
28 | 28 |
29 LIB_PATHS = -L$(GTK_TOP)/lib \ | 29 LIB_PATHS = -L$(GTK_TOP)/lib \ |
30 -L$(GAIM_LIB_TOP) \ | 30 -L$(PURPLE_TOP) \ |
31 -L$(GAIM_GTK_TOP) | 31 -L$(PIDGIN_TOP) |
32 | 32 |
33 ## | 33 ## |
34 ## SOURCES, OBJECTS | 34 ## SOURCES, OBJECTS |
35 ## | 35 ## |
36 C_SRC = ticker.c \ | 36 C_SRC = ticker.c \ |
47 -lgobject-2.0 \ | 47 -lgobject-2.0 \ |
48 -lintl \ | 48 -lintl \ |
49 -lpurple \ | 49 -lpurple \ |
50 -lpidgin | 50 -lpidgin |
51 | 51 |
52 include $(GAIM_COMMON_RULES) | 52 include $(PIDGIN_COMMON_RULES) |
53 | 53 |
54 ## | 54 ## |
55 ## TARGET DEFINITIONS | 55 ## TARGET DEFINITIONS |
56 ## | 56 ## |
57 .PHONY: all install clean | 57 .PHONY: all install clean |
58 | 58 |
59 all: $(TARGET).dll | 59 all: $(TARGET).dll |
60 | 60 |
61 install: $(GAIM_INSTALL_PLUGINS_DIR) | 61 install: $(PIDGIN_INSTALL_PLUGINS_DIR) |
62 cp $(TARGET).dll $(GAIM_INSTALL_PLUGINS_DIR) | 62 cp $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR) |
63 | 63 |
64 $(OBJECTS): $(GAIM_CONFIG_H) | 64 $(OBJECTS): $(PIDGIN_CONFIG_H) |
65 | 65 |
66 $(TARGET).dll: $(GAIM_LIBGAIM_DLL).a $(GAIM_GTKGAIM_DLL).a $(OBJECTS) | 66 $(TARGET).dll: $(PURPLE_DLL).a $(PIDGIN_DLL).a $(OBJECTS) |
67 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll | 67 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll |
68 | 68 |
69 ## | 69 ## |
70 ## CLEAN RULES | 70 ## CLEAN RULES |
71 ## | 71 ## |
72 clean: | 72 clean: |
73 rm -rf $(OBJECTS) | 73 rm -rf $(OBJECTS) |
74 rm -rf $(TARGET).dll | 74 rm -rf $(TARGET).dll |
75 | 75 |
76 include $(GAIM_COMMON_TARGETS) | 76 include $(PIDGIN_COMMON_TARGETS) |