aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorTom Tromey <tromey@gcc.gnu.org>2000-03-06 02:50:38 +0000
committerTom Tromey <tromey@gcc.gnu.org>2000-03-06 02:50:38 +0000
commit4d54cfecc39c1e9818677f2ccfe265fa448c7652 (patch)
tree6f67e178c6f51844caad709e1795b1e5fa27522a /libjava
parentee25a7a5f655464616cfb7faafb0d434f8174d92 (diff)
downloadgcc-4d54cfecc39c1e9818677f2ccfe265fa448c7652.zip
gcc-4d54cfecc39c1e9818677f2ccfe265fa448c7652.tar.gz
gcc-4d54cfecc39c1e9818677f2ccfe265fa448c7652.tar.bz2
re GNATS libgcj/43 (jni.h not installed)
Fix for PR libgcj/43: * include/Makefile.in: Rebuilt. * include/Makefile.am (include_HEADERS): New define. From-SVN: r32351
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog8
-rw-r--r--libjava/include/Makefile.am4
-rw-r--r--libjava/include/Makefile.in78
3 files changed, 71 insertions, 19 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 64144d2..5dc588c 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,4 +1,10 @@
-2000-03-08 Anthony Green <green@redhat.com>
+2000-03-05 Tom Tromey <tromey@cygnus.com>
+
+ Fix for PR libgcj/43:
+ * include/Makefile.in: Rebuilt.
+ * include/Makefile.am (include_HEADERS): New define.
+
+2000-03-05 Anthony Green <green@redhat.com>
* gcj/javaprims.h ("Java"): Remove FirstThread.
diff --git a/libjava/include/Makefile.am b/libjava/include/Makefile.am
index 37b3f4f..5a951de 100644
--- a/libjava/include/Makefile.am
+++ b/libjava/include/Makefile.am
@@ -2,6 +2,4 @@
AUTOMAKE_OPTIONS = foreign no-installinfo
-## FIXME: for now we don't install jni.h because we aren't really sure
-## where to install it.
-## include_HEADERS = jni.h
+include_HEADERS = jni.h
diff --git a/libjava/include/Makefile.in b/libjava/include/Makefile.in
index f753c74..af8cc0f 100644
--- a/libjava/include/Makefile.in
+++ b/libjava/include/Makefile.in
@@ -115,9 +115,13 @@ here = @here@
libgcj_basedir = @libgcj_basedir@
AUTOMAKE_OPTIONS = foreign no-installinfo
+
+include_HEADERS = jni.h
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
+HEADERS = $(include_HEADERS)
+
DIST_COMMON = ./stamp-h.in Makefile.am Makefile.in config.h.in
@@ -162,9 +166,50 @@ distclean-hdr:
-rm -f config.h
maintainer-clean-hdr:
+
+install-includeHEADERS: $(include_HEADERS)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(includedir)
+ @list='$(include_HEADERS)'; for p in $$list; do \
+ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
+ done
+
+uninstall-includeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ list='$(include_HEADERS)'; for p in $$list; do \
+ rm -f $(DESTDIR)$(includedir)/$$p; \
+ done
+
tags: TAGS
-TAGS:
+ID: $(HEADERS) $(SOURCES) $(LISP)
+ list='$(SOURCES) $(HEADERS)'; \
+ unique=`for i in $$list; do echo $$i; done | \
+ awk ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ here=`pwd` && cd $(srcdir) \
+ && mkid -f$$here/ID $$unique $(LISP)
+
+TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS)'; \
+ unique=`for i in $$list; do echo $$i; done | \
+ awk ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
+ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
+
+mostlyclean-tags:
+
+clean-tags:
+
+distclean-tags:
+ -rm -f TAGS ID
+
+maintainer-clean-tags:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
@@ -202,19 +247,20 @@ all-recursive-am: config.h
install-exec-am:
install-exec: install-exec-am
-install-data-am:
+install-data-am: install-includeHEADERS
install-data: install-data-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
-uninstall-am:
+uninstall-am: uninstall-includeHEADERS
uninstall: uninstall-am
-all-am: Makefile config.h
+all-am: Makefile $(HEADERS) config.h
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
+ $(mkinstalldirs) $(DESTDIR)$(includedir)
mostlyclean-generic:
@@ -226,33 +272,35 @@ distclean-generic:
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
-mostlyclean-am: mostlyclean-hdr mostlyclean-generic
+mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
mostlyclean: mostlyclean-am
-clean-am: clean-hdr clean-generic mostlyclean-am
+clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
clean: clean-am
-distclean-am: distclean-hdr distclean-generic clean-am
+distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
-rm -f libtool
distclean: distclean-am
-maintainer-clean-am: maintainer-clean-hdr maintainer-clean-generic \
- distclean-am
+maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \
+ maintainer-clean-generic distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-am
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
-tags distdir info-am info dvi-am dvi check check-am installcheck-am \
-installcheck install-info-am install-info all-recursive-am \
-install-exec-am install-exec install-data-am install-data install-am \
-install uninstall-am uninstall all-redirect all-am all installdirs \
-mostlyclean-generic distclean-generic clean-generic \
-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+uninstall-includeHEADERS install-includeHEADERS tags mostlyclean-tags \
+distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+dvi-am dvi check check-am installcheck-am installcheck install-info-am \
+install-info all-recursive-am install-exec-am install-exec \
+install-data-am install-data install-am install uninstall-am uninstall \
+all-redirect all-am all installdirs mostlyclean-generic \
+distclean-generic clean-generic maintainer-clean-generic clean \
+mostlyclean distclean maintainer-clean
# Tell versions [3.59,3.63) of GNU make to not export all variables.