1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00
emacs/cross
Po Lu 3bcdf010a9 Generate Android shared library list automatically
* .gitignore: Ignore new generated files.

* cross/Makefile.in (src/Makefile): Remove leftover
specification of the source Gnulib directory.

* cross/ndk-build/ndk-build.mk.in (NDK_BUILD_READELF): New
variable.

* java/Makefile.in (CONFIG_FILE, ALL_DEPENDENCIES, READELF)
(cf-stamp-1, cf-stamp): New variables and rules; compute the set
of library files in the order of loading and generate a file
with this information.
(ALL_CLASS_FILES): New variable; if builddir is not srcdir,
$($(CONFIG_FILE), $(CLASS_FILES)): Depend on EmacsConfig.java.
add generated files in the build directory.
(classes.dex): Adjust to match.

* java/org/gnu/emacs/EmacsNative.java (EmacsNative)
<static initializer>: Load shared libraries from
EMACS_SHARED_LIBRARIES rather than a hard-coded list.

* m4/ndk-build.m4 (ndk_INIT): Search for readelf...
(ndk_CHECK_MODULES): ...and substitute its path as
NDK_BUILD_READELF.
2024-04-22 16:30:15 +08:00
..
ndk-build Generate Android shared library list automatically 2024-04-22 16:30:15 +08:00
langinfo.h ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
Makefile.in Generate Android shared library list automatically 2024-04-22 16:30:15 +08:00
README ; * cross/README: Update. 2023-03-05 10:22:49 +08:00
verbose.mk.android Port to GNU Make 03ecd94488b85adc38746ec3e7c2a297a522598e 2024-02-08 23:22:00 -08:00

This directory holds Makefiles and other required assets to build an
Emacs binary independently for another toolchain.

The directory ndk-build also contains an implementation of the Android
`ndk-build' build system.