1 include ..
/..
/Makefile.
include XZ-VERSION ..
/..
/download-files.
include
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
)
20 $(MAKE
) -C
$(PLATFORM
)
22 .installed-
$(PLATFORM
): $(APP
)
23 $(MAKE
) -C
$(PLATFORM
) install
27 $(MAKE
) -C
$(PLATFORM
) clean
30 rm -rf
$(PLATFORM
) .installed-
$(PLATFORM
)