1 include ..
/..
/Makefile.
include
3 PLATFORM
=$(NATIVEPLATFORM
)
4 DEPS
= ..
/..
/Makefile.
include Makefile visibility.patch ..
/..
/download-files.
include
9 SOURCE
=$(LIBNAME
)-$(VERSION
)
10 ARCHIVE
=$(SOURCE
).
tar.xz
11 SHA512
=9e7ac71a1824855ae526506883e439456b74ac0b811d54e94f6908249ba8719bec4c8d7672903c5280658b26cb6b5e93ecaaafe5cdc2980c760fa196773f0725
12 include ..
/..
/download-files.
include
13 # configuration settings
14 CONFIGURE
= CC
="$(CC_FOR_BUILD)" CFLAGS
="$(NATIVE_CFLAGS)" .
/configure
--prefix=$(PREFIX
)
16 LIBDYLIB
=$(PLATFORM
)/$(LIBNAME
).a
18 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
); patch
-p1
-i ..
/visibility.patch
25 cd
$(PLATFORM
); $(CONFIGURE
)
27 $(LIBDYLIB
): $(PLATFORM
)
28 $(MAKE
) -C
$(PLATFORM
)
31 .installed-
$(PLATFORM
): $(LIBDYLIB
)
32 $(MAKE
) -C
$(PLATFORM
) install
36 $(MAKE
) -C
$(PLATFORM
) clean
37 rm -f .installed-
$(PLATFORM
)
40 rm -rf
$(PLATFORM
) .installed-
$(PLATFORM
)