Sun, 22 Jul 2007 08:14:16 +0000
revert 'no visible tabs when only one conversation' as it proved unpopular. Made tabs only fill the entire width of the notebook when there's only one tab to avoid http://pidgin.im/~deryni/that_just_looks_dumb.png
| 14286 | 1 | # |
| 2 | # Makefile.mingw | |
| 3 | # | |
| 4 | # Description: Makefile for win32trans plugin. | |
| 5 | # | |
| 6 | ||
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
7 | PIDGIN_TREE_TOP := ../../../.. |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
8 | include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
| 14286 | 9 | |
| 10 | TARGET = win2ktrans | |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
11 | DEFINES += -D_WIN32_WINNT=0x0500 |
| 14286 | 12 | |
| 13 | ## | |
| 14 | ## INCLUDE PATHS | |
| 15 | ## | |
| 16 | INCLUDE_PATHS += -I. \ | |
| 17 | -I$(GTK_TOP)/include \ | |
| 18 | -I$(GTK_TOP)/include/gtk-2.0 \ | |
| 19 | -I$(GTK_TOP)/include/glib-2.0 \ | |
| 20 | -I$(GTK_TOP)/include/pango-1.0 \ | |
| 21 | -I$(GTK_TOP)/include/atk-1.0 \ | |
|
16294
8310c8cce698
Add cairo to the mingw build include path. Fixes #175 .
Daniel Atallah <datallah@pidgin.im>
parents:
16100
diff
changeset
|
22 | -I$(GTK_TOP)/include/cairo \ |
| 14286 | 23 | -I$(GTK_TOP)/lib/glib-2.0/include \ |
| 24 | -I$(GTK_TOP)/lib/gtk-2.0/include \ | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
25 | -I$(PURPLE_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
26 | -I$(PURPLE_TOP)/win32 \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
27 | -I$(PIDGIN_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
28 | -I$(PIDGIN_TOP)/win32 \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
29 | -I$(PIDGIN_TREE_TOP) |
| 14286 | 30 | |
|
16393
d89faf3f5282
Allow include and lib paths to be overridden from local.ent
Daniel Atallah <datallah@pidgin.im>
parents:
16294
diff
changeset
|
31 | LIB_PATHS += -L$(GTK_TOP)/lib \ |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
32 | -L$(PURPLE_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
33 | -L$(PIDGIN_TOP) |
| 14286 | 34 | |
| 35 | ## | |
| 36 | ## SOURCES, OBJECTS | |
| 37 | ## | |
| 38 | C_SRC = win2ktrans.c | |
| 39 | ||
| 40 | OBJECTS = $(C_SRC:%.c=%.o) | |
| 41 | ||
| 42 | ## | |
| 43 | ## LIBRARIES | |
| 44 | ## | |
| 45 | LIBS = -lgtk-win32-2.0 \ | |
| 46 | -lglib-2.0 \ | |
| 47 | -lgdk-win32-2.0 \ | |
| 48 | -lgmodule-2.0 \ | |
| 49 | -lgobject-2.0 \ | |
| 50 | -lintl \ | |
|
15438
c3e93cd038c5
Update win32 build for libpurple and pidgin renames. This compiles, but is far from complete.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
51 | -lpidgin \ |
|
c3e93cd038c5
Update win32 build for libpurple and pidgin renames. This compiles, but is far from complete.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
52 | -lpurple |
| 14286 | 53 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
54 | include $(PIDGIN_COMMON_RULES) |
| 14286 | 55 | |
| 56 | ## | |
| 57 | ## TARGET DEFINITIONS | |
| 58 | ## | |
|
14638
b0fa76dac93f
[gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
59 | .PHONY: all install clean |
| 14286 | 60 | |
| 61 | all: $(TARGET).dll | |
| 62 | ||
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
63 | install: all $(PIDGIN_INSTALL_PLUGINS_DIR) |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
64 | cp $(TARGET).dll $(PIDGIN_INSTALL_PLUGINS_DIR) |
| 14286 | 65 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
66 | $(TARGET).dll: $(PURPLE_DLL).a $(PIDGIN_DLL).a $(OBJECTS) |
| 14286 | 67 | $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll |
| 68 | ||
| 69 | ## | |
| 70 | ## CLEAN RULES | |
| 71 | ## | |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
72 | clean: |
|
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
73 | rm -rf $(OBJECTS) |
|
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14286
diff
changeset
|
74 | rm -rf $(TARGET).dll |
| 14286 | 75 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15438
diff
changeset
|
76 | include $(PIDGIN_COMMON_TARGETS) |