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
|
|
|
|
@l='$(SUBDIRS)'; for f in $$l ; do \
|
|
|
|
rm -f $$f/.report.txt ; \
|
|
|
|
done
|
|
|
|
|
|
|
|
distclean-local: clean-local
|
|
|
|
|
2010-10-22 05:07:12 +02:00
|
|
|
pkgconf_dir = /usr/lib/pkgconfig
|
|
|
|
|
2010-10-05 12:33:15 +02:00
|
|
|
install-data-hook:
|
|
|
|
@echo ""
|
|
|
|
@l='$(SUBDIRS)'; for f in $$l ; do \
|
|
|
|
cat $$f/.report.txt ; \
|
|
|
|
done
|
|
|
|
@echo ""
|
2010-10-22 05:07:12 +02:00
|
|
|
@echo "Installing: libopenjpeg1.pc $(pkgconf_dir)"
|
|
|
|
@echo ""
|
|
|
|
@$(INSTALL) -d $(pkgconf_dir)
|
|
|
|
@cp libopenjpeg.pc $(pkgconf_dir)/libopenjpeg1.pc
|
|
|
|
@(cd $(pkgconf_dir) && $(RM) libopenjpeg.pc && \
|
|
|
|
$(LN_S) libopenjpeg1.pc libopenjpeg.pc)
|
|
|
|
|
|
|
|
uninstall-hook:
|
|
|
|
@(cd $(pkgconf_dir) && $(RM) libopenjpeg.pc libopenjpeg1.pc)
|