workaround for name clash when building static and dynamic on WIN32 (see http://www...
[openjpeg.git] / Makefile.am
1 #OpenJPEG top source directory
2 SUBDIRS = libopenjpeg codec mj2 @jpwl_dir@ @jp3d_dir@ doc
3
4 clean-local:
5         @rm -rf bin
6         @l='$(SUBDIRS)'; for f in $$l ; do \
7         rm -f $$f/.report.txt ; \
8         done
9
10 distclean-local: clean-local
11
12 pkgconf_dir = /usr/lib/pkgconfig
13
14 install-data-hook:
15         @echo ""
16         @l='$(SUBDIRS)'; for f in $$l ; do \
17         cat $$f/.report.txt ; \
18         done
19         @echo ""
20         @echo "Installing: libopenjpeg1.pc $(pkgconf_dir)"
21         @echo ""
22         @$(INSTALL) -d $(pkgconf_dir)
23         @cp libopenjpeg.pc $(pkgconf_dir)/libopenjpeg1.pc
24         @(cd $(pkgconf_dir) && $(RM) libopenjpeg.pc && \
25         $(LN_S) libopenjpeg1.pc libopenjpeg.pc)
26
27 uninstall-hook:
28         @(cd $(pkgconf_dir) && $(RM) libopenjpeg.pc libopenjpeg1.pc)