Merge pull request #26308 from jjd-uk/estuary_playerprocess
[xbmc.git] / tools / depends / native / m4 / Makefile
blob016f098752ab4bb0b49fab7b72ecf45a38a93a37
1 include ../../Makefile.include
2 PREFIX=$(NATIVEPREFIX)
3 PLATFORM=$(NATIVEPLATFORM)
4 DEPS = ../../Makefile.include Makefile ../../download-files.include
6 # lib name, version
7 LIBNAME=m4
8 VERSION=1.4.19
9 SOURCE=$(LIBNAME)-$(VERSION)
10 ARCHIVE=$(SOURCE).tar.xz
11 SHA512=47f595845c89709727bda0b3fc78e3188ef78ec818965b395532e7041cabe9e49677ee4aca3d042930095a7f8df81de3da1026b23b6897be471f6cf13ddd512b
12 include ../../download-files.include
14 # configuration settings
15 CONFIGURE=./configure --prefix=$(PREFIX)
17 LIBDYLIB=$(PLATFORM)/src/$(LIBNAME)
19 all: .installed-$(PLATFORM)
21 $(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE)
22 -rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
23 cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
24 cd $(PLATFORM); $(CONFIGURE)
26 $(LIBDYLIB): $(PLATFORM)
27 $(MAKE) -C $(PLATFORM)
29 .installed-$(PLATFORM): $(LIBDYLIB)
30 $(MAKE) -C $(PLATFORM) install
31 touch $@
33 clean:
34 $(MAKE) -C $(PLATFORM) clean
35 rm -f .installed-$(PLATFORM)
37 distclean::
38 rm -rf $(PLATFORM) .installed-$(PLATFORM)