Thu, 03 May 2018 21:13:48 -0500
Add the addition of purple_request_screenshare_media to ChangeLog.API
| 14509 | 1 | # |
| 2 | # Makefile.mingw | |
| 3 | # | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
4 | # Description: Makefile for Pidgin perl module. |
| 14509 | 5 | # |
| 6 | ||
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
7 | PIDGIN_TREE_TOP := ../../../.. |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
8 | include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
| 14509 | 9 | |
| 35616 | 10 | #we cannot include win32dep.h, but we need struct sockaddr_in6 definition |
| 11 | CFLAGS += -include ws2tcpip.h | |
| 12 | ||
|
28783
7271f3acaae4
Define WIN32_LEAN_AND_MEAN where possible during the compile to hopefully speed it up.
Daniel Atallah <datallah@pidgin.im>
parents:
27665
diff
changeset
|
13 | GCCWARNINGS += -Wno-comment -Wno-unused -Wno-nested-externs |
|
7271f3acaae4
Define WIN32_LEAN_AND_MEAN where possible during the compile to hopefully speed it up.
Daniel Atallah <datallah@pidgin.im>
parents:
27665
diff
changeset
|
14 | |
|
7271f3acaae4
Define WIN32_LEAN_AND_MEAN where possible during the compile to hopefully speed it up.
Daniel Atallah <datallah@pidgin.im>
parents:
27665
diff
changeset
|
15 | DEFINES := $(subst -DWIN32_LEAN_AND_MEAN,,$(DEFINES)) |
|
7271f3acaae4
Define WIN32_LEAN_AND_MEAN where possible during the compile to hopefully speed it up.
Daniel Atallah <datallah@pidgin.im>
parents:
27665
diff
changeset
|
16 | |
|
16108
f034f01bc55e
Fix some mingw makefile rename glitches.
Daniel Atallah <datallah@pidgin.im>
parents:
16100
diff
changeset
|
17 | TARGET = Pidgin |
| 14509 | 18 | |
| 19 | ## | |
| 20 | ## INCLUDE PATHS | |
| 21 | ## | |
| 22 | INCLUDE_PATHS = -I. \ | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
23 | -I$(PIDGIN_TREE_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
24 | -I$(PURPLE_TOP) \ |
|
18633
34ba43198355
Fix the win32 build. Thanks to Etan and Lee Roach. Fixes #1929.
Daniel Atallah <datallah@pidgin.im>
parents:
16641
diff
changeset
|
25 | -I$(PURPLE_TOP)/win32 \ |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
26 | -I$(PIDGIN_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
27 | -I$(PIDGIN_TOP)/win32 \ |
| 14509 | 28 | -I$(GTK_TOP)/include \ |
| 29 | -I$(GTK_TOP)/include/atk-1.0 \ | |
|
29502
93207c23495b
Fix Windows build with gtk-dev-2.10.3-rev-a.tar.gz package that doesn't
Kevin Stange <kstange@pidgin.im>
parents:
27665
diff
changeset
|
30 | -I$(GTK_TOP)/include/cairo \ |
| 14509 | 31 | -I$(GTK_TOP)/include/glib-2.0 \ |
| 32 | -I$(GTK_TOP)/include/gtk-2.0 \ | |
| 33 | -I$(GTK_TOP)/include/pango-1.0 \ | |
| 34 | -I$(GTK_TOP)/lib/glib-2.0/include \ | |
| 35 | -I$(GTK_TOP)/lib/gtk-2.0/include \ | |
|
36301
2b4af2e09a67
Update windows build to use perl 5.20.1. Thanks to Renato Silva for much of this. Fixes #15599
Daniel Atallah <datallah@pidgin.im>
parents:
35616
diff
changeset
|
36 | -I$(PERL_LIB_TOP)/lib/CORE |
| 14509 | 37 | |
|
36301
2b4af2e09a67
Update windows build to use perl 5.20.1. Thanks to Renato Silva for much of this. Fixes #15599
Daniel Atallah <datallah@pidgin.im>
parents:
35616
diff
changeset
|
38 | LIB_PATHS += -L$(PERL_LIB_TOP)/lib/CORE \ |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
39 | -L$(PURPLE_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
40 | -L$(PIDGIN_TOP) \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
41 | -L$(PURPLE_PERL_TOP) \ |
| 14509 | 42 | -L$(GTK_TOP)/lib |
| 43 | ||
| 44 | ## | |
| 45 | ## SOURCES, OBJECTS | |
| 46 | ## | |
| 47 | XS_FILES = \ | |
|
16529
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16393
diff
changeset
|
48 | Pidgin.xs \ |
| 14509 | 49 | GtkAccount.xs \ |
| 50 | GtkBlist.xs \ | |
| 51 | GtkConn.xs \ | |
| 52 | GtkConv.xs \ | |
| 53 | GtkConvWin.xs \ | |
| 54 | GtkDebug.xs \ | |
| 55 | GtkDialogs.xs \ | |
| 56 | GtkFt.xs \ | |
| 57 | GtkIMHtml.xs \ | |
| 58 | GtkIMHtmlToolbar.xs \ | |
| 59 | GtkLog.xs \ | |
| 60 | GtkMenuTray.xs \ | |
| 61 | GtkPlugin.xs \ | |
| 62 | GtkPluginPref.xs \ | |
| 63 | GtkPounce.xs \ | |
| 64 | GtkPrefs.xs \ | |
| 65 | GtkPrivacy.xs \ | |
| 66 | GtkRoomlist.xs \ | |
| 67 | GtkSavedStatuses.xs \ | |
| 68 | GtkSound.xs \ | |
| 69 | GtkStatusBox.xs \ | |
| 70 | GtkThemes.xs \ | |
| 71 | GtkUtils.xs | |
| 72 | ||
| 73 | ||
| 74 | C_FILES = $(XS_FILES:%.xs=%.c) | |
| 75 | OBJECTS = $(C_FILES:%.c=%.o) | |
| 76 | ||
| 77 | ## | |
| 78 | ## LIBRARIES | |
| 79 | ## | |
|
36301
2b4af2e09a67
Update windows build to use perl 5.20.1. Thanks to Renato Silva for much of this. Fixes #15599
Daniel Atallah <datallah@pidgin.im>
parents:
35616
diff
changeset
|
80 | LIBS = -lperl520 \ |
| 14509 | 81 | -lperl \ |
|
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
|
82 | -lpurple \ |
|
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
|
83 | -lpidgin \ |
| 14509 | 84 | -lglib-2.0 |
| 85 | ||
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
86 | include $(PIDGIN_COMMON_RULES) |
| 14509 | 87 | |
| 88 | ## | |
| 89 | ## TARGETS | |
| 90 | ## | |
|
14638
b0fa76dac93f
[gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents:
14637
diff
changeset
|
91 | .PHONY: all install clean |
| 14509 | 92 | |
| 93 | all: $(TARGET).dll | |
| 94 | ||
|
27665
00196a586c45
Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <deryni@pidgin.im>
parents:
23915
diff
changeset
|
95 | $(PURPLE_INSTALL_PERL_DIR)/Purple.pm: |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
96 | $(MAKE) -C $(PURPLE_PERL_TOP)/common -f $(MINGW_MAKEFILE) install |
| 14509 | 97 | |
|
27665
00196a586c45
Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <deryni@pidgin.im>
parents:
23915
diff
changeset
|
98 | install: all $(PURPLE_INSTALL_PERL_DIR)/Purple.pm |
|
00196a586c45
Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <deryni@pidgin.im>
parents:
23915
diff
changeset
|
99 | rm -f $(PIDGIN_INSTALL_PERL_DIR)/$(TARGET).dll $(PIDGIN_INSTALL_PERL_DIR)/auto/Pidgin/$(TARGET).pm |
|
00196a586c45
Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <deryni@pidgin.im>
parents:
23915
diff
changeset
|
100 | mkdir -p $(PIDGIN_INSTALL_PERL_DIR) |
|
00196a586c45
Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <deryni@pidgin.im>
parents:
23915
diff
changeset
|
101 | cp $(TARGET).pm $(PIDGIN_INSTALL_PERL_DIR) |
|
00196a586c45
Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <deryni@pidgin.im>
parents:
23915
diff
changeset
|
102 | mkdir -p $(PIDGIN_INSTALL_PERL_DIR)/auto/Pidgin |
|
00196a586c45
Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <deryni@pidgin.im>
parents:
23915
diff
changeset
|
103 | cp $(TARGET).dll $(PIDGIN_INSTALL_PERL_DIR)/auto/Pidgin |
| 14509 | 104 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
105 | $(C_FILES): $(PIDGIN_CONFIG_H) |
| 14509 | 106 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
107 | $(TARGET).dll: $(PIDGIN_DLL).a $(PURPLE_PERL_DLL).a $(OBJECTS) |
|
33364
d9ebf57cd361
Enable DEP and ASLR flags as well as some other security related compiler flags
Daniel Atallah <datallah@pidgin.im>
parents:
29868
diff
changeset
|
108 | $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(DLL_LD_FLAGS) $(LIBS) -o $(TARGET).dll |
| 14509 | 109 | |
| 110 | ## | |
| 111 | ## CLEAN | |
| 112 | ## | |
| 113 | clean: | |
|
14761
d90178571681
[gaim-migrate @ 17451]
Daniel Atallah <datallah@pidgin.im>
parents:
14638
diff
changeset
|
114 | rm -f *.o $(C_FILES) $(TARGET).dll |
| 14509 | 115 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15636
diff
changeset
|
116 | include $(PIDGIN_COMMON_TARGETS) |