1 MAINTAINERCLEANFILES = Makefile.in
9 includesdir = $(includedir)/openjpeg-$(MAJOR_NR).$(MINOR_NR)
10 includes_HEADERS = openjpeg.h
12 lib_LTLIBRARIES = libopenjpeg.la
14 libopenjpeg_la_CPPFLAGS = \
16 -I$(top_srcdir)/libopenjpeg \
17 -I$(top_builddir)/libopenjpeg \
20 libopenjpeg_la_CFLAGS =
21 libopenjpeg_la_LIBADD = @LCMS1_LIBS@ @LCMS2_LIBS@
22 libopenjpeg_la_LDFLAGS = -no-undefined -version-info @lt_version@
24 libopenjpeg_la_SOURCES = \
77 cd $(DESTDIR)$(includedir) && \
79 $(LN_S) openjpeg-$(MAJOR_NR).$(MINOR_NR)/openjpeg.h \
81 @rm -rf $(top_builddir)/report.txt
82 @echo -e " (LA)\t$(libdir)/libopenjpeg.la" >> $(top_builddir)/report.txt
83 @( $(call solist) ) >> $(top_builddir)/report.txt
84 @echo -e " (A)\t$(base)/$(a)" >> $(top_builddir)/report.txt
85 @echo -e " (H)\t$(includedir)/openjpeg-$(MAJOR_NR).$(MINOR_NR)/openjpeg.h" >> $(top_builddir)/report.txt
86 @echo -e " (LN)\t$(includedir)/openjpeg.h" >> $(top_builddir)/report.txt
89 rm -f $(DESTDIR)$(includedir)/openjpeg.h
91 solist = $(foreach f, $(dll) $(so), echo -e ' $(SO_PREFIX)\t$(base)/$(f)' ;)
92 get_tok = $(shell grep -E "^$(1)=" $(lib_LTLIBRARIES) | cut -d "'" -f 2)
93 base = $(call get_tok,libdir)
94 so = $(call get_tok,library_names)
95 a = $(call get_tok,old_library)
99 dll = $(call get_tok,dlname)