Mercurial > pidgin.yaz
annotate pidgin/pixmaps/Makefile.mingw @ 29733:356d1f40a56d
propagate from branch 'im.pidgin.pidgin' (head fc93e0ea1ceae4b0e76c50e35965814711dc1c00)
to branch 'im.pidgin.pidgin.next.minor' (head bca91e5200ed5372978a121437fd19fe2774c583)
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Sun, 20 Dec 2009 17:17:10 +0000 |
parents | 78c64f7c598f |
children | eec2900b0eee |
rev | line source |
---|---|
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
1 # |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
2 # Makefile.mingw |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
3 # |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
4 # Description: Makefile for win32 (mingw) version of Pidgin pixmaps |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
5 # |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
6 |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
7 PIDGIN_TREE_TOP := ../.. |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
9 |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
10 datadir := $(PIDGIN_INSTALL_DIR) |
22589
8b952cb84f45
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
21584
diff
changeset
|
11 -include ./Makefile.am.mingw |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
12 |
18657
46629aab70b1
Make sure we delete all generated files with the mingw clean make target.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16723
diff
changeset
|
13 .PHONY: install clean |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
14 |
22589
8b952cb84f45
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
21584
diff
changeset
|
15 install: ./Makefile.am.mingw |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
16 if test '$(SUBDIRS)'; then \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
17 list='$(SUBDIRS)'; for subdir in $$list; do \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
18 $(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) install || exit 1 ;\ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
19 done; \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
20 fi; |
21037
54c33a552eb6
Makefile.mingw updates to install animations/16 files without a Makefile in
Stu Tomlinson <stu@nosnilmot.com>
parents:
21034
diff
changeset
|
21 if test '$(nobase_dist_pidginpixmap_DATA)'; then \ |
54c33a552eb6
Makefile.mingw updates to install animations/16 files without a Makefile in
Stu Tomlinson <stu@nosnilmot.com>
parents:
21034
diff
changeset
|
22 list='$(nobase_dist_pidginpixmap_DATA)'; for file in $$list; do \ |
54c33a552eb6
Makefile.mingw updates to install animations/16 files without a Makefile in
Stu Tomlinson <stu@nosnilmot.com>
parents:
21034
diff
changeset
|
23 dir=`dirname $$file`; \ |
54c33a552eb6
Makefile.mingw updates to install animations/16 files without a Makefile in
Stu Tomlinson <stu@nosnilmot.com>
parents:
21034
diff
changeset
|
24 mkdir -p $(pidginpixmapdir)/$$dir; \ |
54c33a552eb6
Makefile.mingw updates to install animations/16 files without a Makefile in
Stu Tomlinson <stu@nosnilmot.com>
parents:
21034
diff
changeset
|
25 cp $$file $(pidginpixmapdir)/$$dir/; \ |
54c33a552eb6
Makefile.mingw updates to install animations/16 files without a Makefile in
Stu Tomlinson <stu@nosnilmot.com>
parents:
21034
diff
changeset
|
26 done; \ |
54c33a552eb6
Makefile.mingw updates to install animations/16 files without a Makefile in
Stu Tomlinson <stu@nosnilmot.com>
parents:
21034
diff
changeset
|
27 fi; |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
28 if test '$(pidginbuttonpix_DATA)'; then \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
29 mkdir -p $(pidginbuttonpixdir); \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
30 cp $(pidginbuttonpix_DATA) $(pidginbuttonpixdir); \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
31 fi; |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
32 if test '$(pidgindistpix_DATA)'; then \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
33 mkdir -p $(pidgindistpixdir); \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
34 cp $(pidgindistpix_DATA) $(pidgindistpixdir); \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
35 fi; |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15938
diff
changeset
|
36 |
22589
8b952cb84f45
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
21584
diff
changeset
|
37 clean: ./Makefile.am.mingw |
21584
055e1abac7cf
This is a patch from Lee Roach to update the mingw "clean" makefile targets to remove some generated files and to fix a couple other issues. Fixes #3981.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
21301
diff
changeset
|
38 if test '$(SUBDIRS)'; then \ |
055e1abac7cf
This is a patch from Lee Roach to update the mingw "clean" makefile targets to remove some generated files and to fix a couple other issues. Fixes #3981.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
21301
diff
changeset
|
39 list='$(SUBDIRS)'; for subdir in $$list; do \ |
055e1abac7cf
This is a patch from Lee Roach to update the mingw "clean" makefile targets to remove some generated files and to fix a couple other issues. Fixes #3981.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
21301
diff
changeset
|
40 $(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) clean;\ |
055e1abac7cf
This is a patch from Lee Roach to update the mingw "clean" makefile targets to remove some generated files and to fix a couple other issues. Fixes #3981.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
21301
diff
changeset
|
41 done; \ |
055e1abac7cf
This is a patch from Lee Roach to update the mingw "clean" makefile targets to remove some generated files and to fix a couple other issues. Fixes #3981.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
21301
diff
changeset
|
42 fi; |
23962
78c64f7c598f
Some Makefile cleanups to remove generated files from Lee Roach. Fixes #6609.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
22589
diff
changeset
|
43 rm -f ./Makefile.am.mingw |
22589
8b952cb84f45
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
21584
diff
changeset
|
44 |
8b952cb84f45
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
21584
diff
changeset
|
45 ./Makefile.am.mingw: ./Makefile.am |
8b952cb84f45
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
21584
diff
changeset
|
46 sed -e 's/^if\ INSTALL_PIXMAPS/ifeq (\$$(INSTALL_PIXMAPS), 1)/' ./Makefile.am > $@ |
8b952cb84f45
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
21584
diff
changeset
|
47 include $@ |
8b952cb84f45
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
21584
diff
changeset
|
48 |