libpurple/win32/targets.mak

Wed, 08 Jul 2009 14:50:49 +0000

author
Etan Reisner <deryni@pidgin.im>
date
Wed, 08 Jul 2009 14:50:49 +0000
changeset 27670
fcbe23d70928
parent 27665
00196a586c45
child 27970
1dea59c9eced
permissions
-rw-r--r--

Oops, missed this.

14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
1 #
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
2 # targets.mak
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
3 #
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
4 # This file should be included at the end of all Makefile.mingw
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
5 # files for better handling of cross directory dependencies
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
6 #
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
7
20289
5c844288fbec applied changes from 32f31e981f0618a4167aa98bcc22c2dab13d1550
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 16684
diff changeset
8 $(PIDGIN_CONFIG_H): $(PIDGIN_CONFIG_H).mingw $(PIDGIN_TREE_TOP)/configure.ac
21467
cf96ffcf7f99 Allow win32 builds to define EXTRAVERSION in local.mak to do the equivalent
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 21466
diff changeset
9 sed -e 's/@VERSION@/$(PIDGIN_VERSION)/; s/@DISPLAY_VERSION@/$(DISPLAY_VERSION)/' $@.mingw > $@
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
10
21466
491faf2e1fe4 Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 20289
diff changeset
11 $(PURPLE_PURPLE_H): $(PURPLE_PURPLE_H).in
21632
59fa3895076e Fix purple.h generation on win32. Thanks to Kevin for noticing.
Daniel Atallah <datallah@pidgin.im>
parents: 21467
diff changeset
12 sed -e 's/@PLUGINS_DEFINE@/#define PURPLE_PLUGINS 1/' $@.in > $@
21466
491faf2e1fe4 Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 20289
diff changeset
13
16684
2743926ce447 version.h needs to be regenerated when configure.ac changes
Daniel Atallah <datallah@pidgin.im>
parents: 16673
diff changeset
14 $(PURPLE_VERSION_H): $(PURPLE_VERSION_H).in $(PIDGIN_TREE_TOP)/configure.ac
16663
bcc4caec2e29 Fix version.h generation on mingw build.
Daniel Atallah <datallah@pidgin.im>
parents: 16100
diff changeset
15 awk 'BEGIN {FS="[\\(\\)\\[\\]]"} \
22813
def7382231ff Patch from dharding to allow pidgin to be built on win32 using MSYS 1.0.10 which includes a version of sed that doesn't handle in-place replacement. Fixes #5527.
Daniel Atallah <datallah@pidgin.im>
parents: 21632
diff changeset
16 /^m4_define..purple_major_version/ {system("sed -e s/@PURPLE_MAJOR_VERSION@/"$$5"/ $@.in > $@");} \
24841
e80889e8f1cc I'm not sure how this ever worked...
Daniel Atallah <datallah@pidgin.im>
parents: 22813
diff changeset
17 /^m4_define..purple_minor_version/ {system("sed -e s/@PURPLE_MINOR_VERSION@/"$$5"/ $@ > $@.tmp && mv $@.tmp $@");} \
e80889e8f1cc I'm not sure how this ever worked...
Daniel Atallah <datallah@pidgin.im>
parents: 22813
diff changeset
18 /^m4_define..purple_micro_version/ {system("sed -e s/@PURPLE_MICRO_VERSION@/"$$5"/ $@ > $@.tmp && mv $@.tmp $@"); exit}' $(PIDGIN_TREE_TOP)/configure.ac
16663
bcc4caec2e29 Fix version.h generation on mingw build.
Daniel Atallah <datallah@pidgin.im>
parents: 16100
diff changeset
19
bcc4caec2e29 Fix version.h generation on mingw build.
Daniel Atallah <datallah@pidgin.im>
parents: 16100
diff changeset
20 $(PURPLE_DLL) $(PURPLE_DLL).a: $(PURPLE_VERSION_H)
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
21 $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) libpurple.dll
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
22
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
23 $(PURPLE_PERL_DLL) $(PURPLE_PERL_DLL).a:
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
24 $(MAKE) -C $(PURPLE_PERL_TOP) -f $(MINGW_MAKEFILE) perl.dll
14509
e46c4ed7e331 [gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents: 14377
diff changeset
25
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
26 $(PIDGIN_DLL) $(PIDGIN_DLL).a:
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
27 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) pidgin.dll
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
28
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
29 $(PIDGIN_IDLETRACK_DLL) $(PIDGIN_IDLETRACK_DLL).a:
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
30 $(MAKE) -C $(PIDGIN_IDLETRACK_TOP) -f $(MINGW_MAKEFILE) idletrack.dll
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
31
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
32 $(PIDGIN_EXE):
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
33 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) pidgin.exe
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
34
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
35 # Installation Directories
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
36 $(PIDGIN_INSTALL_DIR):
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
37 mkdir -p $(PIDGIN_INSTALL_DIR)
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
38
27670
fcbe23d70928 Oops, missed this.
Etan Reisner <deryni@pidgin.im>
parents: 27665
diff changeset
39 $(PIDGIN_INSTALL_PERL_DIR):
27665
00196a586c45 Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <deryni@pidgin.im>
parents: 24841
diff changeset
40 mkdir -p $(PIDGIN_INSTALL_PERL_DIR)
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
41
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
42 $(PIDGIN_INSTALL_PLUGINS_DIR):
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
43 mkdir -p $(PIDGIN_INSTALL_PLUGINS_DIR)
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
44
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
45 $(PURPLE_INSTALL_PO_DIR):
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
46 mkdir -p $(PURPLE_INSTALL_PO_DIR)
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
47
27665
00196a586c45 Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <deryni@pidgin.im>
parents: 24841
diff changeset
48 #$(PURPLE_INSTALL_PLUGINS_DIR):
00196a586c45 Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <deryni@pidgin.im>
parents: 24841
diff changeset
49 # mkdir -p $(PURPLE_INSTALL_PLUGINS_DIR)
00196a586c45 Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <deryni@pidgin.im>
parents: 24841
diff changeset
50
00196a586c45 Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <deryni@pidgin.im>
parents: 24841
diff changeset
51 #$(PURPLE_INSTALL_PERL_DIR):
00196a586c45 Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <deryni@pidgin.im>
parents: 24841
diff changeset
52 # mkdir -p $(PURPLE_INSTALL_PERL_DIR)

mercurial