Sun, 23 Nov 2008 18:30:31 +0000
Clean up some crufts. I think this is now mergeable with .next.minor.
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
1 | # |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
2 | # Makefile.mingw |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
3 | # |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
4 | # Description: Makefile for win32 (mingw) version of Pidgin pixmaps |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
5 | # |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
6 | |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
7 | PIDGIN_TREE_TOP := ../.. |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
8 | include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
9 | |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
10 | datadir := $(PIDGIN_INSTALL_DIR) |
|
22750
ffe7d370bab9
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <datallah@pidgin.im>
parents:
21671
diff
changeset
|
11 | -include ./Makefile.am.mingw |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
12 | |
|
18957
a9c2ef06b34b
Make sure we delete all generated files with the mingw clean make target.
Daniel Atallah <datallah@pidgin.im>
parents:
16791
diff
changeset
|
13 | .PHONY: install clean |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
14 | |
|
22750
ffe7d370bab9
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <datallah@pidgin.im>
parents:
21671
diff
changeset
|
15 | install: ./Makefile.am.mingw |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
16 | if test '$(SUBDIRS)'; then \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
17 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
18 | $(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) install || exit 1 ;\ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
19 | done; \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
20 | fi; |
|
21139
c99a521959e2
Makefile.mingw updates to install animations/16 files without a Makefile in
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21136
diff
changeset
|
21 | if test '$(nobase_dist_pidginpixmap_DATA)'; then \ |
|
c99a521959e2
Makefile.mingw updates to install animations/16 files without a Makefile in
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21136
diff
changeset
|
22 | list='$(nobase_dist_pidginpixmap_DATA)'; for file in $$list; do \ |
|
c99a521959e2
Makefile.mingw updates to install animations/16 files without a Makefile in
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21136
diff
changeset
|
23 | dir=`dirname $$file`; \ |
|
c99a521959e2
Makefile.mingw updates to install animations/16 files without a Makefile in
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21136
diff
changeset
|
24 | mkdir -p $(pidginpixmapdir)/$$dir; \ |
|
c99a521959e2
Makefile.mingw updates to install animations/16 files without a Makefile in
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21136
diff
changeset
|
25 | cp $$file $(pidginpixmapdir)/$$dir/; \ |
|
c99a521959e2
Makefile.mingw updates to install animations/16 files without a Makefile in
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21136
diff
changeset
|
26 | done; \ |
|
c99a521959e2
Makefile.mingw updates to install animations/16 files without a Makefile in
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21136
diff
changeset
|
27 | fi; |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
28 | if test '$(pidginbuttonpix_DATA)'; then \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
29 | mkdir -p $(pidginbuttonpixdir); \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
30 | cp $(pidginbuttonpix_DATA) $(pidginbuttonpixdir); \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
31 | fi; |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
32 | if test '$(pidgindistpix_DATA)'; then \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
33 | mkdir -p $(pidgindistpixdir); \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
34 | cp $(pidgindistpix_DATA) $(pidgindistpixdir); \ |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
35 | fi; |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15999
diff
changeset
|
36 | |
|
22750
ffe7d370bab9
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <datallah@pidgin.im>
parents:
21671
diff
changeset
|
37 | clean: ./Makefile.am.mingw |
|
21671
5fb405d62f39
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 <datallah@pidgin.im>
parents:
21479
diff
changeset
|
38 | if test '$(SUBDIRS)'; then \ |
|
5fb405d62f39
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 <datallah@pidgin.im>
parents:
21479
diff
changeset
|
39 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
|
5fb405d62f39
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 <datallah@pidgin.im>
parents:
21479
diff
changeset
|
40 | $(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) clean;\ |
|
5fb405d62f39
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 <datallah@pidgin.im>
parents:
21479
diff
changeset
|
41 | done; \ |
|
5fb405d62f39
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 <datallah@pidgin.im>
parents:
21479
diff
changeset
|
42 | fi; |
|
24229
ca33845455fd
Some Makefile cleanups to remove generated files from Lee Roach. Fixes #6609.
Daniel Atallah <datallah@pidgin.im>
parents:
22750
diff
changeset
|
43 | rm -f ./Makefile.am.mingw |
|
22750
ffe7d370bab9
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <datallah@pidgin.im>
parents:
21671
diff
changeset
|
44 | |
|
ffe7d370bab9
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <datallah@pidgin.im>
parents:
21671
diff
changeset
|
45 | ./Makefile.am.mingw: ./Makefile.am |
|
ffe7d370bab9
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <datallah@pidgin.im>
parents:
21671
diff
changeset
|
46 | sed -e 's/^if\ INSTALL_PIXMAPS/ifeq (\$$(INSTALL_PIXMAPS), 1)/' ./Makefile.am > $@ |
|
ffe7d370bab9
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <datallah@pidgin.im>
parents:
21671
diff
changeset
|
47 | include $@ |
|
ffe7d370bab9
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <datallah@pidgin.im>
parents:
21671
diff
changeset
|
48 |