summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-07-13 16:29:22 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-07-13 16:29:22 +0000
commit0f101066f2fe3b1589114a26a10064ea3055d0b2 (patch)
treeeb067296658c309025aed08a59f8816f673f71ea /Makefile.am
parentcbe26cbb88a1ade34f681cb386435d3a80194aaa (diff)
* added 'libopenjpeg-jpwl.pc.in'
* fixed substitution in libopenjpeg1.pc.in * increase micro version to 99. When released, set minor to 5 and micro to 0 * added -lm to the linker for libopenjpeg and to the .pc file * removed useless LCMS flags from Makefile.am for libopenjpeg
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 84a03325..c23ddbb9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,6 +7,10 @@ SUBDIRS = libopenjpeg applications doc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libopenjpeg1.pc
+if WANT_JPWL
+pkgconfig_DATA += libopenjpeg-jpwl.pc
+endif
+
MAINTAINERCLEANFILES = \
Makefile.in \
@@ -52,6 +56,9 @@ install-data-hook:
$(LN_S) -nf libopenjpeg1.pc $(DESTDIR)$(pkgconfigdir)/libopenjpeg.pc
@echo -e " (PC)\t$(pkgconfigdir)/libopenjpeg1.pc" >> $(top_builddir)/report.txt
@echo -e " (LN)\t$(pkgconfigdir)/libopenjpeg.pc" >> $(top_builddir)/report.txt
+if WANT_JPWL
+ @echo -e " (PC)\t$(pkgconfigdir)/libopenjpeg-jpwl.pc" >> $(top_builddir)/report.txt
+endif
@cat $(top_builddir)/report.txt
@rm $(top_builddir)/report.txt