Merge pull request #26302 from ksooo/pvr-fix-recordings-playback
[xbmc.git] / tools / depends / native / xz / Makefile
blob9eb6ca11fc9a45c82427916ccea84f583cb2b132
1 include ../../Makefile.include XZ-VERSION ../../download-files.include
2 PREFIX=$(NATIVEPREFIX)
3 PLATFORM=$(NATIVEPLATFORM)
4 DEPS = ../../Makefile.include Makefile XZ-VERSION ../../download-files.include
6 export LIBTOOL=builds/unix/libtool
7 export PATH:=$(PREFIX)/bin:$(PATH)
8 CONFIGURE=./configure --prefix=$(PREFIX) --disable-doc
10 APP=$(PLATFORM)/src/xz/xz
12 all: .installed-$(PLATFORM)
14 $(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE)
15 -rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
16 cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
17 cd $(PLATFORM); $(CONFIGURE)
19 $(APP): $(PLATFORM)
20 $(MAKE) -C $(PLATFORM)
22 .installed-$(PLATFORM): $(APP)
23 $(MAKE) -C $(PLATFORM) install
24 touch $@
26 clean:
27 $(MAKE) -C $(PLATFORM) clean
29 distclean::
30 rm -rf $(PLATFORM) .installed-$(PLATFORM)