1 MAINTAINERCLEANFILES = Makefile.in
3 includesdir = $(includedir)/openjpeg-$(MAJOR_NR).$(MINOR_NR)
4 includes_HEADERS = openjpeg.h
6 lib_LTLIBRARIES = libopenjpeg.la
8 libopenjpeg_la_CPPFLAGS = \
10 -I$(top_srcdir)/libopenjpeg \
11 -I$(top_builddir)/libopenjpeg \
14 libopenjpeg_la_CFLAGS =
15 libopenjpeg_la_LIBADD = @LCMS1_LIBS@ @LCMS2_LIBS@
16 libopenjpeg_la_LDFLAGS = -no-undefined -version-info @lt_version@
18 libopenjpeg_la_SOURCES = \
64 cd $(DESTDIR)$(includedir) && \
66 $(LN_S) openjpeg-$(MAJOR_NR).$(MINOR_NR)/openjpeg.h \
68 @rm -rf $(top_builddir)/report.txt
69 @echo -e " (LA)\t$(libdir)/libopenjpeg.la" >> $(top_builddir)/report.txt
70 @( $(call solist) ) >> $(top_builddir)/report.txt
71 @echo -e " (A)\t\t$(base)/$(a)" >> $(top_builddir)/report.txt
72 @echo -e " (H)\t\t$(includedir)/openjpeg-$(MAJOR_NR).$(MINOR_NR)/openjpeg.h" >> $(top_builddir)/report.txt
73 @echo -e " (LN)\t$(includedir)/openjpeg.h" >> $(top_builddir)/report.txt
76 rm -f $(DESTDIR)$(includedir)/openjpeg.h
78 solist = $(foreach f, $(dll) $(so), echo -e ' $(SO_PREFIX)\t$(base)/$(f)' ;)
79 get_tok = $(shell grep -E "^$(1)=" $(lib_LTLIBRARIES) | cut -d "'" -f 2)
80 base = $(call get_tok,libdir)
81 so = $(call get_tok,library_names)
82 a = $(call get_tok,old_library)
86 dll = $(call get_tok,dlname)