aboutsummaryrefslogtreecommitdiffstats
path: root/cross/Makefile.in (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove ctags programPaul Eggert2025-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove our old ctags and suggest Universal Ctags instead. This fixes a FIXME in lib-src/Makefile.in and speeds up compilation quite a bit on my older CPU when I compile with --enable-gcc-warnings. It also lessens installation and runtime footprint. (Bug#76322) * .gitignore: Remove lib-src/ctags. * admin/authors.el (authors-renamed-files-alist): Remove ctags.1. * admin/check-man-pages: ctags.1 is no longer a special case. * admin/quick-install-emacs (PUBLIC_LIBSRC_BINARIES): Remove ctags. * cross/Makefile.in (LIBSRC_BINARIES): Remove lib-src/ctags. * doc/man/ctags.1, lib-src/ctags.c: Remove. * java/Makefile.in (CROSS_LIBSRC_BINS): Remove ctags. * lib-src/Makefile.in (INSTALLABLES): Remove ctags${EXEEXT}. (ctags${EXEEXT}): Remove. * lib-src/etags.c (CTAGS): Remove. All uses replaced by ... (ctags): ... this new static var. (STDIN): Remove macro. All uses replaced by new STDIN_OPTION constant. (CTAGS_OPTION, STDIN_OPTION): New contants. (longopts): New --ctags option. (ctags_default_C_help): New constant, to override default_C_help at runtime. (default_C_help): Now always the etags version. (C_LANG_NAMES_INDEX): New macro. (print_language_names): Do not assume etags. (PROGRAM_NAME): Remove. All uses removed. (print_help): Document --ctags if PRINT_UNDOCUMENTED_OPTIONS_HELP. (main): Support new --ctags option, and support all [ce]tags options. * test/manual/etags/Makefile (CTAGS_PROG): Now etags --ctags, since there is no longer a ctags.
* Simplify cross cleaningPaul Eggert2025-01-181-6/+2
| | | | | * cross/Makefile.in (clean, maintainer-clean): Prefer a single ‘find’ to doing ‘find’ in a shell loop.
* Update copyright year to 2025Paul Eggert2025-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright".
* Generate Android shared library list automaticallyPo Lu2024-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * .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.
* Guarantee presence of emacs-module.h during cross-compilationPo Lu2024-04-111-2/+5
| | | | | * cross/Makefile.in (src/emacs-module.h): New rule. (src/libemacs.so): Depend on the same.
* Guarantee presence of epaths.h during cross-compilationPo Lu2024-04-111-1/+4
| | | | | * cross/Makefile.in (src/epaths.h): New rule. (src/libemacs.so): Depend on the same.
* ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
|
* Fix bootstrap-clean in the cross directory on USGPo Lu2023-08-131-6/+10
| | | | | | * cross/Makefile.in (FIND_DELETE): New variable. (CLEAN_SUBDIRS): Avoid including src if not already present. (clean, bootstrap-clean, etc): Use FIND_DELETE.
* Fix doc file generation on AndroidPo Lu2023-07-111-1/+1
| | | | | | | | | | | | * .gitignore: Ignore cross/etc/DOC. * configure.ac: Make the directory `cross/etc'. * cross/Makefile.in (CLEAN_SUBDIRS): Clean files inside `etc' as well. * java/Makefile.in (install_temp): Copy cross/etc/DOC to the package if it is available. * src/Makefile.in (SOME_MACHINE_OBJECTS): Add androidselect.c, sfntfont-android.c and sfntfont.c. (libemacs.so): Depend on $(etc)/DOC.
* Update Android portPo Lu2023-03-151-0/+7
| | | | | | * cross/Makefile.in (lib/gnulib.mk): Edit out build-aux stuff. * m4/ndk-build.m4: Also look for cross ranlib.
* Update Android portPo Lu2023-03-151-50/+32
| | | | | | | | | * configure.ac (XCONFIGURE): Disable NS. * cross/Makefile.in (lib-src/config.h): (lib/libgnu.a): (src/android-emacs): Port sed invocation to Mac OS without GNU sed.
* Fix cross compilation of cross/lib in some casesPo Lu2023-03-051-2/+2
| | | | | * cross/Makefile.in: (config.status): Depend on top_builddir/config.status instead.
* ; * cross/Makefile.in (builddir): Define.Po Lu2023-03-051-0/+1
|
* Remove redundant second copy of gnulibPo Lu2023-03-051-17/+10
| | | | | | | | | | * .gitignore: Simplify cross/lib rule. * admin/merge-gnulib (avoided_flags): Stop copying to cross/lib. * configure.ac: Link gnulib source and header files to cross/lib. * cross/Makefile.in (LIB_SRCDIR): Make relative to builddir. (maintainer-clean): Merge with distclean. Remove links created by configure.
* Fix Makefile race conditionsPo Lu2023-03-021-12/+12
| | | | | | | | | * configure.ac: Make cross/* and related directories. * cross/Makefile.in (src/verbose.mk, lib/libgnu.a) (src/config.h): Stop making directories here. (lib-src/config.h): New config.h rule. ($(LIBSRC_BINARIES)): Add it. (clean): Don't remove CLEAN_SUBDIRS, but clean inside.
* Fix out-of-tree Android buildsPo Lu2023-03-011-12/+22
| | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (JAVA_PUSH_LINT): Push to WARN_JAVAFLAGS instead of JAVAFLAGS. (cross/lib): Always AS_MKDIR_P. * cross/Makefile.in (srcdir): New variable. (LIB_SRCDIR): Take realpath relative to srcdir, not .:(src/verbose.mk): Depend on verbose.mk.android in srcdir. (lib/Makefile): Edit srcdir and VPATH to LIB_SRCDIR. (src/Makefile): Edit -I$$(top_srcdir) to -I../$(srcdir)/lib, instead of ommitting it. (clean): Allow ndk-build clean to fail. * java/Makefile.in (builddir): New variable. (WARN_JAVAFLAGS): Likewise. (JAVAFLAGS): Define in terms of WARN_JAVAFLAGS. (SIGN_EMACS, SIGN_EMACS_V2): Use emacs.keystore relative to srcdir. Allow inclusion of ndk-build.mk to fail. (install_temp, emacs.apk-in) (../config.status): Depend relative to top_srcdir. (AndroidManifest.xml, $(APK_NAME)): Likewise. (RESOURCE_FILE, CLASS_FILES, classes.dex): Output class files to $(srcdir); these are arch independents, so this is okay.
* Fix mostlyclean rulesPo Lu2023-03-011-6/+0
| | | | | | * cross/Makefile.in: Remove outdated comment. * src/Makefile.in: (.PHONY): Clean android-emacs and libemacs.so, not emacs.so and aemacs.
* * cross/Makefile.in (src/libemacs.so): Depend on libgnu.a.Po Lu2023-02-191-1/+2
|
* More parallel build fixesPo Lu2023-02-191-3/+7
| | | | | | | | * cross/Makefile.in: (.PHONY): * java/Makefile.in: (.PHONY): * src/Makefile.in: (libemacs.so): Avoid calling ndk-build from two places at once. Build android-emacs separately from libemacs.so.
* Fix parallel compilation of Android portPo Lu2023-02-191-2/+2
| | | | | | | * cross/Makefile.in ($(top_builddir)/lib/libgnu.a): * java/Makefile.in (CROSS_LIBS): Explicitly depend on gnulib to prevent it from being built at the same time from different jobs.
* Improve appearance of the Android preferences screenPo Lu2023-02-101-21/+40
| | | | | | | | | | | | | | | | | | | * .gitignore: Add org/gnu/emacs/R.java. * cross/Makefile.in (top_builddir): Include verbose.mk. Rewrite rules to print nice looking statements. * doc/emacs/android.texi (Android, Android Startup) (Android Environment, Android Windowing, Android Fonts): * doc/emacs/emacs.texi (Top): Add an extra ``Android Troubleshooting'' node and move troubleshooting details there. * java/Makefile.in: Generate R.java; improve appearance by using verbose.mk. * java/org/gnu/emacs/EmacsPreferencesActivity.java: Reimplement in terms of PreferencesActivity. * java/org/gnu/emacs/EmacsView.java (handleDirtyBitmap): Avoid flicker. * java/res/xml/preferences.xml: New file. * src/verbose.mk.in (AM_V_AAPT, AM_V_SILENT): New variables.
* Update Android portPo Lu2023-01-261-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * INSTALL.android: Describe that apksigner is also required. * configure.ac: Correctly add cross/Makefile to SUBDIR_MAKEFILES. * cross/Makefile.in: (config.status): Depend on $(top_srcdir)/config.status. * doc/emacs/input.texi (On-Screen Keyboards): Document how to quit without a physical keyboard. * java/org/gnu/emacs/EmacsNative.java (EmacsNative): New function `quit'. * java/org/gnu/emacs/EmacsWindow.java (EmacsWindow): New field `lastVolumeButtonPress'. (onKeyDown): Quit if necessary. * m4/ndk-build.m4 (ndk_where_cc): Fix search if CC is not a single word. * src/android.c (android_open): Remove unused variable. (quit): New function. * src/androidmenu.c (android_process_events_for_menu): Allow quitting the menu. * src/xterm.c (handle_one_xevent, x_term_init, syms_of_xterm): Implement features described above, so they work on free operating systems. * src/xterm.h (struct x_display_info): New fields `quit_keysym', `quit_keysym_time'.
* Fix distclean targetPo Lu2023-01-241-1/+1
| | | | * cross/Makefile.in (distclean bootstrap-clean): Remove Makefile.
* Update android portPo Lu2023-01-241-0/+178
* xcompile: Move to cross. * cross: New directory.