summaryrefslogtreecommitdiffstats
path: root/libjava/Makefile.am
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-10 18:44:06 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-10 18:44:06 +0000
commit11eadb6b4360a691527302cc090dbf2e1b39ad2e (patch)
treea03086e84b086b36577ffb106762873ea572df61 /libjava/Makefile.am
parent666bf11ef248ca8cf70f71311e5c0bd384944601 (diff)
downloadppe42-gcc-11eadb6b4360a691527302cc090dbf2e1b39ad2e.tar.gz
ppe42-gcc-11eadb6b4360a691527302cc090dbf2e1b39ad2e.zip
PR libgcj/29205:
* Makefile.in: Rebuilt. * Makefile.am (install-data-local): Install the .pc file. (pkgconfig_DATA): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117610 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/Makefile.am')
-rw-r--r--libjava/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/libjava/Makefile.am b/libjava/Makefile.am
index 764cb96d894..f7ceccd5917 100644
--- a/libjava/Makefile.am
+++ b/libjava/Makefile.am
@@ -47,7 +47,6 @@ endif
dbexec_LTLIBRARIES = libjvm.la
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libgcj.pc
jardir = $(datadir)/java
jar_DATA = libgcj-$(gcc_version).jar libgcj-tools-$(gcc_version).jar
@@ -547,6 +546,11 @@ endif
## hand.
install-data-local:
$(PRE_INSTALL)
+## Install the .pc file.
+ @pc_version=`echo $(GCJVERSION) | sed -e 's/[.][^.]*$$//'`; \
+ file="libgcj-$${pc_version}.pc"; \
+ echo " $(INSTALL_DATA) libgcj.pc $(DESTDIR)$(pkgconfigdir)/$$file"; \
+ $(INSTALL_DATA) libgcj.pc $(DESTDIR)$(pkgconfigdir)/$$file
## We use a GNU make trick here so that we don't go over the command
## length limit of some shells.
@echo Creating list of headers to install...
OpenPOWER on IntegriCloud