aboutsummaryrefslogtreecommitdiff
path: root/tools/darwin/depends/Makefile.in
blob: 744e2024b5e20e7426361d53b6756a6fe341ab86 (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
include Makefile.include

BUILDTOOLS = gas-preprocessor help2man autoconf automake libtool pkg-config yasm cmake

SUBDIRS := \
	Backrow pcre expat gettext readline sqlite3 \
	liblzo2 freetype2 fontconfig \
	openssl libssh2 curl \
	jpeg tiff libpng libogg \
	libvorbis libflac libmad fribidi libwavpack libmpeg2 \
	libass libcdio libsamplerate librtmp libcrystalhd \
	libGLEW libsdl libsdl_mixer libsdl_image \
	libmicrohttpd libmodplug libbluray libyajl \
	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 clean; fi; done
	for d in $(SUBDIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d clean; fi; done

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