aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2023-07-11 16:47:13 +0800
committerPo Lu2023-07-11 16:47:13 +0800
commitfcf53bf9f5894665af07499137d7e8ef888cdcdd (patch)
treedeeccc2595b3db08caaf703d813cae574e715b9c /src
parentf2c4643890837c156b8332227232060028102c01 (diff)
downloademacs-fcf53bf9f5894665af07499137d7e8ef888cdcdd.tar.gz
emacs-fcf53bf9f5894665af07499137d7e8ef888cdcdd.zip
Fix doc file generation on Android
* .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.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 9d43af4dad6..8cbdd67378c 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -494,7 +494,7 @@ SOME_MACHINE_OBJECTS = dosfns.o msdos.o \
494 w16select.o widget.o xfont.o ftfont.o xftfont.o gtkutil.o \ 494 w16select.o widget.o xfont.o ftfont.o xftfont.o gtkutil.o \
495 xsettings.o xgselect.o termcap.o hbfont.o \ 495 xsettings.o xgselect.o termcap.o hbfont.o \
496 haikuterm.o haikufns.o haikumenu.o haikufont.o androidterm.o androidfns.o \ 496 haikuterm.o haikufns.o haikumenu.o haikufont.o androidterm.o androidfns.o \
497 androidfont.o 497 androidfont.o androidselect.c sfntfont-android.c sfntfont.c
498 498
499## gmalloc.o if !SYSTEM_MALLOC && !DOUG_LEA_MALLOC, else empty. 499## gmalloc.o if !SYSTEM_MALLOC && !DOUG_LEA_MALLOC, else empty.
500GMALLOC_OBJ=@GMALLOC_OBJ@ 500GMALLOC_OBJ=@GMALLOC_OBJ@
@@ -749,11 +749,11 @@ ifeq ($(DUMPING),unexec)
749endif 749endif
750 750
751ifeq ($(XCONFIGURE),android) 751ifeq ($(XCONFIGURE),android)
752## The Android package internally links to and communicates with a 752## The Android package internally links to a shared library named
753## shared library named `libemacs.so' at startup. This is built 753## `libemacs.so' at startup. It is built almost the same way temacs
754## almost the same way temacs is. But it is position independent. It 754## is. But it is position independent, and is not dumped here.
755## is not dumped here. Instead, it dumps itself the first time it 755## Instead, it dumps itself the first time it starts on the user's
756## starts on the user's device. 756## device.
757 757
758# Include ndk-build.mk in order to build Emacs dependencies. 758# Include ndk-build.mk in order to build Emacs dependencies.
759old_top_builddir := $(top_builddir) 759old_top_builddir := $(top_builddir)
@@ -763,7 +763,7 @@ top_builddir := $(old_top_builddir)
763 763
764libemacs.so: $(ALLOBJS) $(LIBEGNU_ARCHIVE) $(EMACSRES) \ 764libemacs.so: $(ALLOBJS) $(LIBEGNU_ARCHIVE) $(EMACSRES) \
765 $(MAKE_PDUMPER_FINGERPRINT) $(NDK_BUILD_SHARED) \ 765 $(MAKE_PDUMPER_FINGERPRINT) $(NDK_BUILD_SHARED) \
766 $(NDK_BUILD_STATIC) 766 $(NDK_BUILD_STATIC) $(etc)/DOC
767 $(AM_V_CCLD)$(CC) -o $@ $(ALL_CFLAGS) $(TEMACS_LDFLAGS) \ 767 $(AM_V_CCLD)$(CC) -o $@ $(ALL_CFLAGS) $(TEMACS_LDFLAGS) \
768 $(ANDROID_LDFLAGS) $(LDFLAGS) -shared $(ALLOBJS) \ 768 $(ANDROID_LDFLAGS) $(LDFLAGS) -shared $(ALLOBJS) \
769 $(LIBEGNU_ARCHIVE) $(LIBES) 769 $(LIBEGNU_ARCHIVE) $(LIBES)