Mercurial > pidgin.yaz
comparison pidgin/plugins/win32/winprefs/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 winprefs plugin. | 4 # Description: Makefile for winprefs 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 = winprefs | 10 TARGET = winprefs |
11 DEFINES += -DWINVER=0x500 | 11 DEFINES += -DWINVER=0x500 |
12 | 12 |
13 ## | 13 ## |
19 -I$(GTK_TOP)/include/glib-2.0 \ | 19 -I$(GTK_TOP)/include/glib-2.0 \ |
20 -I$(GTK_TOP)/include/pango-1.0 \ | 20 -I$(GTK_TOP)/include/pango-1.0 \ |
21 -I$(GTK_TOP)/include/atk-1.0 \ | 21 -I$(GTK_TOP)/include/atk-1.0 \ |
22 -I$(GTK_TOP)/lib/glib-2.0/include \ | 22 -I$(GTK_TOP)/lib/glib-2.0/include \ |
23 -I$(GTK_TOP)/lib/gtk-2.0/include \ | 23 -I$(GTK_TOP)/lib/gtk-2.0/include \ |
24 -I$(GAIM_LIB_TOP) \ | 24 -I$(PURPLE_TOP) \ |
25 -I$(GAIM_LIB_TOP)/win32 \ | 25 -I$(PURPLE_TOP)/win32 \ |
26 -I$(GAIM_GTK_TOP) \ | 26 -I$(PIDGIN_TOP) \ |
27 -I$(GAIM_GTK_TOP)/win32 \ | 27 -I$(PIDGIN_TOP)/win32 \ |
28 -I$(GAIM_TOP) | 28 -I$(PIDGIN_TREE_TOP) |
29 | 29 |
30 LIB_PATHS = -L$(GTK_TOP)/lib \ | 30 LIB_PATHS = -L$(GTK_TOP)/lib \ |
31 -L$(GAIM_LIB_TOP) \ | 31 -L$(PURPLE_TOP) \ |
32 -L$(GAIM_GTK_TOP) | 32 -L$(PIDGIN_TOP) |
33 | 33 |
34 ## | 34 ## |
35 ## SOURCES, OBJECTS | 35 ## SOURCES, OBJECTS |
36 ## | 36 ## |
37 C_SRC = winprefs.c \ | 37 C_SRC = winprefs.c \ |
50 -lws2_32 \ | 50 -lws2_32 \ |
51 -lintl \ | 51 -lintl \ |
52 -lpurple \ | 52 -lpurple \ |
53 -lpidgin | 53 -lpidgin |
54 | 54 |
55 include $(GAIM_COMMON_RULES) | 55 include $(PIDGIN_COMMON_RULES) |
56 | 56 |
57 ## | 57 ## |
58 ## TARGET DEFINITIONS | 58 ## TARGET DEFINITIONS |
59 ## | 59 ## |
60 .PHONY: all install clean | 60 .PHONY: all install clean |
61 | 61 |
62 all: $(TARGET).dll | 62 all: $(TARGET).dll |
63 | 63 |
64 install: $(TARGET).dll $(GAIM_INSTALL_PLUGINS_DIR) | 64 install: $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR) |
65 cp $(TARGET).dll $(GAIM_INSTALL_PLUGINS_DIR) | 65 cp $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR) |
66 | 66 |
67 ## | 67 ## |
68 ## BUILD DLL | 68 ## BUILD DLL |
69 ## | 69 ## |
70 $(TARGET).dll: $(GAIM_LIBGAIM_DLL).a $(GAIM_GTKGAIM_DLL).a $(OBJECTS) | 70 $(TARGET).dll: $(PURPLE_DLL).a $(PIDGIN_DLL).a $(OBJECTS) |
71 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll | 71 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll |
72 | 72 |
73 ## | 73 ## |
74 ## CLEAN RULES | 74 ## CLEAN RULES |
75 ## | 75 ## |
76 clean: | 76 clean: |
77 rm -rf $(OBJECTS) | 77 rm -rf $(OBJECTS) |
78 rm -rf $(TARGET).dll | 78 rm -rf $(TARGET).dll |
79 | 79 |
80 include $(GAIM_COMMON_TARGETS) | 80 include $(PIDGIN_COMMON_TARGETS) |