Merge pull request #473 from Montellese/onplaybackspeedchanged
[vuplus_xbmc] / tools / darwin / depends / Makefile.in
1 include Makefile.include
2
3 BUILDTOOLS = gas-preprocessor help2man m4 autoconf automake libtool pkg-config yasm cmake sed tar dpkg
4
5 SUBDIRS := \
6         Backrow pcre expat gettext readline sqlite3 \
7         liblzo2 freetype2 fontconfig \
8         openssl libssh libssh2 curl \
9         libjpeg-turbo tiff libpng libogg \
10         libvorbis libflac libmad fribidi libmpeg2 \
11         libass libcdio libsamplerate librtmp libcrystalhd libnfs \
12         libGLEW libsdl libsdl_mixer libsdl_image \
13         libmicrohttpd libmodplug libbluray libyajl \
14         libgpg-error libgcrypt afpfs-ng \
15         libplist libshairport \
16         samba python26 distribute distutilscross \
17         mysqlclient boost \
18
19 ifeq ($(DARWIN), ios)
20   EXCLUDED = libusb libcrystalhd libGLEW libsdl libsdl_mixer libsdl_image
21 else
22   EXCLUDED = Backrow
23 endif
24 SUBDIRS := $(filter-out $(EXCLUDED),$(SUBDIRS))
25
26 .PHONY: $(BUILDTOOLS) $(SUBDIRS)
27
28 all: $(BUILDTOOLS) $(SUBDIRS)
29
30 $(BUILDTOOLS):
31         $(MAKE) -C $@
32
33 $(SUBDIRS):
34         $(MAKE) -C $@
35
36 clean:
37         for d in $(BUILDTOOLS); do if test -f $$d/Makefile; then $(MAKE) -C $$d distclean; fi; done
38         for d in $(SUBDIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d distclean; fi; done
39
40 cleanbuildtools:
41         for d in $(BUILDTOOLS); do if test -f $$d/Makefile; then $(MAKE) -C $$d distclean; fi; done
42
43 cleanbuilddepends:
44         for d in $(SUBDIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d distclean; fi; done
45
46 cleantoolchain:
47         rm -rf $(TOOLCHAIN)
48
49 cleanprefix:
50         rm -rf $(PREFIX)
51
52 distclean::
53         for d in $(BUILDTOOLS); do if test -f $$d/Makefile; then $(MAKE) -C $$d distclean; fi; done
54         for d in $(SUBDIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d distclean; fi; done
55         find . -name .gitignore  -exec rm -rf {} \;
56         rm -rf $(TOOLCHAIN)
57         rm -rf $(PREFIX)
58         rm -f Makefile Makefile.include config.site config.site.mk config.log config.status configure