2010-10-05 12:33:15 +02:00
|
|
|
#OpenJPEG top source directory
|
2010-10-18 00:42:46 +02:00
|
|
|
SUBDIRS = libopenjpeg codec mj2 @jpwl_dir@ @jp3d_dir@ doc
|
2010-10-05 12:33:15 +02:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
@rm -rf bin
|
2011-01-07 04:20:58 +01:00
|
|
|
@list='$(SUBDIRS)'; for dir in $${list} ; do \
|
|
|
|
rm -f $${dir}/.report.txt ; \
|
2010-10-05 12:33:15 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
distclean-local: clean-local
|
|
|
|
|
2011-01-13 20:36:21 +01:00
|
|
|
pkgconf_dir = $(libdir)/pkgconfig
|
2010-10-22 05:07:12 +02:00
|
|
|
|
2010-10-05 12:33:15 +02:00
|
|
|
install-data-hook:
|
|
|
|
@echo ""
|
2011-01-07 04:20:58 +01:00
|
|
|
@list='$(SUBDIRS)'; for dir in $${list} ; do \
|
|
|
|
cat $${dir}/.report.txt ; \
|
2010-10-05 12:33:15 +02:00
|
|
|
done
|
|
|
|
@echo ""
|
2011-01-13 21:18:53 +01:00
|
|
|
@echo "Installing: libopenjpeg1.pc $(DESTDIR)$(pkgconf_dir)"
|
2010-10-22 05:07:12 +02:00
|
|
|
@echo ""
|
2011-01-13 21:18:53 +01:00
|
|
|
@$(INSTALL) -d $(DESTDIR)$(pkgconf_dir)
|
|
|
|
@cp libopenjpeg1.pc $(DESTDIR)$(pkgconf_dir)/libopenjpeg1.pc
|
|
|
|
@(cd $(DESTDIR)$(pkgconf_dir) && $(RM) libopenjpeg.pc && \
|
2010-10-22 05:07:12 +02:00
|
|
|
$(LN_S) libopenjpeg1.pc libopenjpeg.pc)
|
|
|
|
|
|
|
|
uninstall-hook:
|
2011-01-13 21:18:53 +01:00
|
|
|
@(cd $(DESTDIR)$(pkgconf_dir) && $(RM) libopenjpeg.pc libopenjpeg1.pc)
|