Mercurial > pidgin.yaz
comparison libgaim/plugins/perl/Makefile.mingw @ 14224:ab8a105eff62
[gaim-migrate @ 16905]
First step of getting wingaim working again.
libgaim and gtk are compiling.
The protocols aren't compiling yet.
There are a number of things that are compiling, but should be cleaned up.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 20 Aug 2006 16:49:37 +0000 |
parents | 60b1bc8dbf37 |
children | 8793fc8f7064 |
comparison
equal
deleted
inserted
replaced
14223:7c560c01b8f9 | 14224:ab8a105eff62 |
---|---|
6 | 6 |
7 # | 7 # |
8 # PATHS | 8 # PATHS |
9 # | 9 # |
10 | 10 |
11 GTK_TOP := ../../../win32-dev/gtk_2_0 | 11 GTK_TOP := ../../../../win32-dev/gtk_2_0 |
12 GAIM_TOP := ../.. | 12 GAIM_TOP := ../../.. |
13 PERL_LIB_DIR := ../../../win32-dev/perl58 | 13 LIBGAIM_TOP := ../.. |
14 PERL_INCLUDE := $(PERL_LIB_DIR)/CORE | 14 PERL_LIB_DIR := ../../../../win32-dev/perl58 |
15 PERL_INCLUDE := $(PERL_LIB_DIR)/CORE | |
15 GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir | 16 GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir |
16 DLL_INSTALL_DIR := $(GAIM_INSTALL_DIR)/plugins | 17 DLL_INSTALL_DIR := $(GAIM_INSTALL_DIR)/plugins |
17 | 18 |
18 ## | 19 ## |
19 ## VARIABLE DEFINITIONS | 20 ## VARIABLE DEFINITIONS |
31 | 32 |
32 ## | 33 ## |
33 ## INCLUDE MAKEFILES | 34 ## INCLUDE MAKEFILES |
34 ## | 35 ## |
35 | 36 |
36 include $(GAIM_TOP)/src/win32/global.mak | 37 include $(LIBGAIM_TOP)/win32/global.mak |
37 | 38 |
38 # Perl headers with /* /* */ type comments.. Turn off warnings. | 39 # Perl headers with /* /* */ type comments.. Turn off warnings. |
39 CFLAGS += -Wno-comment | 40 CFLAGS += -Wno-comment |
40 | 41 |
41 ## | 42 ## |
42 ## INCLUDE PATHS | 43 ## INCLUDE PATHS |
43 ## | 44 ## |
44 | 45 |
45 INCLUDE_PATHS += -I. \ | 46 INCLUDE_PATHS += -I. \ |
46 -I$(GAIM_TOP) \ | 47 -I$(GAIM_TOP) \ |
47 -I$(GAIM_TOP)/src \ | 48 -I$(LIBGAIM_TOP) \ |
48 -I$(GAIM_TOP)/src/win32 \ | 49 -I$(LIBGAIM_TOP)/win32 \ |
49 -I$(GTK_TOP)/include \ | 50 -I$(GTK_TOP)/include \ |
50 -I$(GTK_TOP)/include/gtk-2.0 \ | |
51 -I$(GTK_TOP)/include/glib-2.0 \ | 51 -I$(GTK_TOP)/include/glib-2.0 \ |
52 -I$(GTK_TOP)/include/pango-1.0 \ | |
53 -I$(GTK_TOP)/include/atk-1.0 \ | |
54 -I$(GTK_TOP)/lib/glib-2.0/include \ | 52 -I$(GTK_TOP)/lib/glib-2.0/include \ |
55 -I$(GTK_TOP)/lib/gtk-2.0/include \ | |
56 -I$(PERL_INCLUDE) | 53 -I$(PERL_INCLUDE) |
57 | 54 |
58 | 55 |
59 | 56 |
60 | 57 |
77 | 74 |
78 ## | 75 ## |
79 ## LIBRARIES | 76 ## LIBRARIES |
80 ## | 77 ## |
81 | 78 |
82 LIBS = -lgtk-win32-2.0 \ | 79 LIBS = \ |
83 -lglib-2.0 \ | 80 -lglib-2.0 \ |
84 -lgdk-win32-2.0 \ | |
85 -lgmodule-2.0 \ | 81 -lgmodule-2.0 \ |
86 -lgobject-2.0 \ | 82 -lgobject-2.0 \ |
87 -lws2_32 \ | 83 -lws2_32 \ |
88 -lintl \ | 84 -lintl \ |
89 -lgaim \ | 85 -lgaim \ |
114 | 110 |
115 ## | 111 ## |
116 ## BUILD Dependencies | 112 ## BUILD Dependencies |
117 ## | 113 ## |
118 | 114 |
119 $(GAIM_TOP)/src/gaim.lib: | 115 $(GAIM_TOP)/src/libgaim.dll.a: |
120 $(MAKE) -C $(GAIM_TOP)/src -f Makefile.mingw gaim.lib | 116 $(MAKE) -C $(GAIM_TOP)/src -f Makefile.mingw libgaim.dll.a |
121 | 117 |
122 ## | 118 ## |
123 ## BUILD DLL | 119 ## BUILD DLL |
124 ## | 120 ## |
125 | 121 |
126 $(TARGET).dll: $(OBJECTS) $(GAIM_TOP)/src/gaim.lib | 122 $(TARGET).dll: $(OBJECTS) $(GAIM_TOP)/src/libgaim.dll.a |
127 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--export-all-symbols -Wl,--out-implib,$(TARGET).lib -o $(TARGET).dll | 123 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--export-all-symbols -o $(TARGET).dll |
128 | 124 |
129 | 125 |
130 ## | 126 ## |
131 ## CLEAN RULES | 127 ## CLEAN RULES |
132 ## | 128 ## |