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