annotate libpurple/win32/targets.mak @ 20889:d41c5443f443

merge of 'bb426e3c52ba2442bfbf7ec6159714fca242cb92' and 'd35dd87d97af4087e74e0a16d574533ab62dad8f'
author Casey Harkins <charkins@pidgin.im>
date Sun, 28 Oct 2007 17:08:49 +0000
parents bb5c527cf143
children daf98e539358
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
1 #
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
2 # targets.mak
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
3 #
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
4 # This file should be included at the end of all Makefile.mingw
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
5 # files for better handling of cross directory dependencies
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
6 #
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
7
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
8 $(PIDGIN_CONFIG_H): $(PIDGIN_TREE_TOP)/config.h.mingw
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
9 cp $(PIDGIN_TREE_TOP)/config.h.mingw $(PIDGIN_CONFIG_H)
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
10
16611
bb5c527cf143 version.h needs to be regenerated when configure.ac changes
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16607
diff changeset
11 $(PURPLE_VERSION_H): $(PURPLE_VERSION_H).in $(PIDGIN_TREE_TOP)/configure.ac
16594
56c61eb40850 Fix version.h generation on mingw build.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16039
diff changeset
12 cp $(PURPLE_VERSION_H).in $(PURPLE_VERSION_H)
56c61eb40850 Fix version.h generation on mingw build.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16039
diff changeset
13 awk 'BEGIN {FS="[\\(\\)\\[\\]]"} \
56c61eb40850 Fix version.h generation on mingw build.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16039
diff changeset
14 /^m4_define..purple_major_version/ {system("sed -i -e s/@PURPLE_MAJOR_VERSION@/"$$5"/ $(PURPLE_VERSION_H)");} \
56c61eb40850 Fix version.h generation on mingw build.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16039
diff changeset
15 /^m4_define..purple_minor_version/ {system("sed -i -e s/@PURPLE_MINOR_VERSION@/"$$5"/ $(PURPLE_VERSION_H)");} \
56c61eb40850 Fix version.h generation on mingw build.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16039
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
56c61eb40850 Fix version.h generation on mingw build.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16039
diff changeset
17
56c61eb40850 Fix version.h generation on mingw build.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16039
diff changeset
18 $(PURPLE_DLL) $(PURPLE_DLL).a: $(PURPLE_VERSION_H)
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
19 $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) libpurple.dll
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
20
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
21 $(PURPLE_PERL_DLL) $(PURPLE_PERL_DLL).a:
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
22 $(MAKE) -C $(PURPLE_PERL_TOP) -f $(MINGW_MAKEFILE) perl.dll
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
23
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
24 $(PIDGIN_DLL) $(PIDGIN_DLL).a:
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
25 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) pidgin.dll
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
26
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
27 $(PIDGIN_IDLETRACK_DLL) $(PIDGIN_IDLETRACK_DLL).a:
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
28 $(MAKE) -C $(PIDGIN_IDLETRACK_TOP) -f $(MINGW_MAKEFILE) idletrack.dll
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
29
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
30 $(PIDGIN_EXE):
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
31 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) pidgin.exe
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
32
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
33 $(PIDGIN_PORTABLE_EXE):
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
34 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) pidgin-portable.exe
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
35
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
36 # Installation Directories
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
37 $(PIDGIN_INSTALL_DIR):
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
38 mkdir -p $(PIDGIN_INSTALL_DIR)
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
39
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
40 $(PIDGIN_INSTALL_PERLMOD_DIR):
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
41 mkdir -p $(PURPLE_INSTALL_PERLMOD_DIR)
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
42
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
43 $(PIDGIN_INSTALL_PLUGINS_DIR):
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
44 mkdir -p $(PIDGIN_INSTALL_PLUGINS_DIR)
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
45
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
46 $(PURPLE_INSTALL_PO_DIR):
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15376
diff changeset
47 mkdir -p $(PURPLE_INSTALL_PO_DIR)
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
48