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
18 libopenjpeg_la_CFLAGS =
19 libopenjpeg_la_LIBADD = -lm
20 libopenjpeg_la_LDFLAGS = -no-undefined -version-info @lt_version@
22 libopenjpeg_la_SOURCES = \
75 cd $(DESTDIR)$(includedir) && \
77 $(LN_S) openjpeg-$(MAJOR_NR).$(MINOR_NR)/openjpeg.h \
79 @rm -rf $(top_builddir)/report.txt
80 @echo -e " (LA)\t$(libdir)/libopenjpeg.la" >> $(top_builddir)/report.txt
81 @( $(call solist) ) >> $(top_builddir)/report.txt
82 @echo -e " (A)\t$(base)/$(a)" >> $(top_builddir)/report.txt
83 @echo -e " (H)\t$(includedir)/openjpeg-$(MAJOR_NR).$(MINOR_NR)/openjpeg.h" >> $(top_builddir)/report.txt
84 @echo -e " (LN)\t$(includedir)/openjpeg.h" >> $(top_builddir)/report.txt
87 rm -f $(DESTDIR)$(includedir)/openjpeg.h
89 solist = $(foreach f, $(dll) $(so), echo -e ' $(SO_PREFIX)\t$(base)/$(f)' ;)
90 get_tok = $(shell grep -E "^$(1)=" $(lib_LTLIBRARIES) | cut -d "'" -f 2)
91 base = $(call get_tok,libdir)
92 so = $(call get_tok,library_names)
93 a = $(call get_tok,old_library)
97 dll = $(call get_tok,dlname)