1 include ..
/..
/Makefile.
include
3 PLATFORM
=$(NATIVEPLATFORM
)
4 DEPS
= ..
/..
/Makefile.
include Makefile ..
/..
/download-files.
include
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
34 $(MAKE
) -C
$(PLATFORM
) clean
35 rm -f .installed-
$(PLATFORM
)
38 rm -rf
$(PLATFORM
) .installed-
$(PLATFORM
)