1 include ..
/..
/Makefile.
include
3 PLATFORM
=$(NATIVEPLATFORM
)
4 DEPS
= ..
/..
/Makefile.
include Makefile ..
/..
/download-files.
include
9 SOURCE
=$(LIBNAME
)-$(VERSION
)
10 ARCHIVE
=$(SOURCE
).
tar.gz
11 SHA512
=a3dae5e4a6b93b1f5bf7435e8ab114a9be57252e9efc5dd444947d7a2d031b0819f34bcaeb35f60b5629a01b1238d738735a64db8f672be9690d3c80094511a4
12 include ..
/..
/download-files.
include
14 # configuration settings
15 CONFIGURE
=cp
-f
$(CONFIG_SUB
) $(CONFIG_GUESS
) autoconf
/; \
16 .
/configure
--prefix=$(PREFIX
) --enable-shared
18 LIBDYLIB
=$(PLATFORM
)/src
/.libs
/lib
$(LIBNAME
)2.a
20 all: .installed-
$(PLATFORM
)
23 $(PLATFORM
): $(DEPS
) |
$(TARBALLS_LOCATION
)/$(ARCHIVE
).
$(HASH_TYPE
)
24 rm -rf
$(PLATFORM
)/*; mkdir
-p
$(PLATFORM
)
25 cd
$(PLATFORM
); $(ARCHIVE_TOOL
) $(ARCHIVE_TOOL_FLAGS
) $(TARBALLS_LOCATION
)/$(ARCHIVE
)
26 cd
$(PLATFORM
); $(CONFIGURE
)
28 $(LIBDYLIB
): $(PLATFORM
)
29 $(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
)