libpurple/win32/targets.mak

Fri, 28 Sep 2007 20:29:06 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Fri, 28 Sep 2007 20:29:06 +0000
changeset 20756
2828e7b71a7c
parent 16684
2743926ce447
child 18068
b6554e3c8224
child 20289
5c844288fbec
permissions
-rw-r--r--

propagate from branch 'im.pidgin.rlaager.merging.2_2_1_conflicts' (head 2c886553edaf187292439e8fea5eb6cace270126)
to branch 'im.pidgin.pidgin' (head 4d669acf2042a39fd9aa77ed011c492aab5e3c1b)

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
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
8 $(PIDGIN_CONFIG_H): $(PIDGIN_TREE_TOP)/config.h.mingw
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
9 cp $(PIDGIN_TREE_TOP)/config.h.mingw $(PIDGIN_CONFIG_H)
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
10
16684
2743926ce447 version.h needs to be regenerated when configure.ac changes
Daniel Atallah <datallah@pidgin.im>
parents: 16673
diff changeset
11 $(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
12 cp $(PURPLE_VERSION_H).in $(PURPLE_VERSION_H)
bcc4caec2e29 Fix version.h generation on mingw build.
Daniel Atallah <datallah@pidgin.im>
parents: 16100
diff changeset
13 awk 'BEGIN {FS="[\\(\\)\\[\\]]"} \
bcc4caec2e29 Fix version.h generation on mingw build.
Daniel Atallah <datallah@pidgin.im>
parents: 16100
diff changeset
14 /^m4_define..purple_major_version/ {system("sed -i -e s/@PURPLE_MAJOR_VERSION@/"$$5"/ $(PURPLE_VERSION_H)");} \
bcc4caec2e29 Fix version.h generation on mingw build.
Daniel Atallah <datallah@pidgin.im>
parents: 16100
diff changeset
15 /^m4_define..purple_minor_version/ {system("sed -i -e s/@PURPLE_MINOR_VERSION@/"$$5"/ $(PURPLE_VERSION_H)");} \
bcc4caec2e29 Fix version.h generation on mingw build.
Daniel Atallah <datallah@pidgin.im>
parents: 16100
diff changeset
16 /^m4_define..purple_micro_version/ {system("sed -i -e s/@PURPLE_MICRO_VERSION@/"$$5"/ $(PURPLE_VERSION_H)"); exit}' $(PIDGIN_TREE_TOP)/configure.ac
bcc4caec2e29 Fix version.h generation on mingw build.
Daniel Atallah <datallah@pidgin.im>
parents: 16100
diff changeset
17
bcc4caec2e29 Fix version.h generation on mingw build.
Daniel Atallah <datallah@pidgin.im>
parents: 16100
diff changeset
18 $(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
19 $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) libpurple.dll
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
20
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
21 $(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
22 $(MAKE) -C $(PURPLE_PERL_TOP) -f $(MINGW_MAKEFILE) perl.dll
14509
e46c4ed7e331 [gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents: 14377
diff changeset
23
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
24 $(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
25 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) pidgin.dll
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
26
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
27 $(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
28 $(MAKE) -C $(PIDGIN_IDLETRACK_TOP) -f $(MINGW_MAKEFILE) idletrack.dll
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
29
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
30 $(PIDGIN_EXE):
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
31 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) pidgin.exe
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
32
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
33 $(PIDGIN_PORTABLE_EXE):
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
34 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) pidgin-portable.exe
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
35
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
36 # Installation Directories
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
37 $(PIDGIN_INSTALL_DIR):
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
38 mkdir -p $(PIDGIN_INSTALL_DIR)
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
39
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
40 $(PIDGIN_INSTALL_PERLMOD_DIR):
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
41 mkdir -p $(PURPLE_INSTALL_PERLMOD_DIR)
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
42
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
43 $(PIDGIN_INSTALL_PLUGINS_DIR):
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
44 mkdir -p $(PIDGIN_INSTALL_PLUGINS_DIR)
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
45
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
46 $(PURPLE_INSTALL_PO_DIR):
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
47 mkdir -p $(PURPLE_INSTALL_PO_DIR)
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
diff changeset
48

mercurial