Merge pull request #3819 from arnova/subtitles_for_stacks
[vuplus_xbmc] / tools / depends / target / xbmc / Makefile
1 -include ../../Makefile.include
2
3 SOURCE=../../../../
4
5 export CXXFLAGS+=-O3
6 export CFLAGS+=-O3
7
8 # configuration settings
9 CONFIGURE = cp -f $(CONFIG_SUB) $(CONFIG_GUESS) build-aux/ ;\
10   ./configure --prefix=$(PREFIX)
11
12 ifeq ($(OS),android)
13 CONFIGURE += --enable-codec=libstagefright,amcodec
14 endif
15
16 CONFIGURE += $(CONFIG_EXTRA)
17
18 all: $(SOURCE)/libxbmc.so
19
20
21 $(SOURCE)/libxbmc.so:
22         cd $(SOURCE); ./bootstrap
23         cd $(SOURCE); $(CONFIGURE)
24
25 ../../Makefile.include:
26         $(error Please run configure)
27
28 clean:
29         cd $(SOURCE); $(MAKE) clean
30
31 distclean:
32         cd $(SOURCE); $(MAKE) clean