configure.ac (ac_configure_args): Add --with-native-libdir.
2006-07-06 Thomas Fitzsimmons <fitzsim@redhat.com> * configure.ac (ac_configure_args): Add --with-native-libdir. * configure: Regenerate. * classpath/native/jni/gtk-peer/Makefile.am: Remove GCJ LOCAL sections. * classpath/native/jni/gtk-peer/Makefile.in: Regenerate. * classpath/native/jawt/Makefile.am: Remove GCJ LOCAL sections. * classpath/native/jawt/Makefile.in: Regenerate. * classpath/native/plugin/Makefile.am: Remove GCJ LOCAL sections. * classpath/native/plugin/Makefile.in: Regenerate. From-SVN: r115223
This commit is contained in:
committed by
Thomas Fitzsimmons
parent
303c8bfdb2
commit
80f06e289b
@@ -1,24 +1,16 @@
|
||||
## GCJ LOCAL: install this library in GCJ's versioned library
|
||||
## directory
|
||||
gcc_version := $(shell cat $(top_srcdir)/../../gcc/BASE-VER)
|
||||
gcjversionedlibdir = $(libdir)/gcj-$(gcc_version)
|
||||
gcjversionedlib_LTLIBRARIES = libgcjwebplugin.la
|
||||
nativeexeclib_LTLIBRARIES = libgcjwebplugin.la
|
||||
|
||||
libgcjwebplugin_la_SOURCES = gcjwebplugin.cc
|
||||
|
||||
libgcjwebplugin_la_CXXFLAGS = \
|
||||
-Wall -DAPPLETVIEWER_EXECUTABLE="\"$(bindir)/gappletviewer\"" \
|
||||
-DPLUGIN_DATA_DIRECTORY="\"$(PLUGIN_DIR)/gcjwebplugin-data\"" \
|
||||
$(MOZILLA_CFLAGS) $(GLIB_CFLAGS) $(GTK_CFLAGS)
|
||||
|
||||
## GCJ LOCAL: encode the library path and use GCJ's library version
|
||||
libgcjwebplugin_la_LDFLAGS = -rpath $(gcjversionedlibdir) \
|
||||
-version-info `grep -v '^\#' $(top_srcdir)/../libtool-version` \
|
||||
libgcjwebplugin_la_LDFLAGS = -avoid-version \
|
||||
$(GLIB_LIBS) $(GTK_LIBS) \
|
||||
-lstdc++
|
||||
|
||||
## GCJ LOCAL: depend on gcjversionedlib_LTLIBRARIES
|
||||
install-plugin: $(gcjversionedlib_LTLIBRARIES)
|
||||
install-plugin: $(nativeexeclib_LTLIBRARIES)
|
||||
$(INSTALL) -d -m0755 $(DESTDIR)$(PLUGIN_DIR)
|
||||
$(INSTALL) .libs/libgcjwebplugin.so $(DESTDIR)$(PLUGIN_DIR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user