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 = \
76 cd $(DESTDIR)$(includedir) && \
78 $(LN_S) openjpeg-$(MAJOR_NR).$(MINOR_NR)/openjpeg.h \
80 @rm -rf $(top_builddir)/report.txt
81 @echo -e " (LA)\t$(libdir)/libopenjpeg.la" >> $(top_builddir)/report.txt
83 @( $(call solist) ) >> $(top_builddir)/report.txt
86 @echo -e " (A)\t$(base)/$(a)" >> $(top_builddir)/report.txt
88 @echo -e " (H)\t$(includedir)/openjpeg-$(MAJOR_NR).$(MINOR_NR)/openjpeg.h" >> $(top_builddir)/report.txt
89 @echo -e " (LN)\t$(includedir)/openjpeg.h" >> $(top_builddir)/report.txt
92 rm -f $(DESTDIR)$(includedir)/openjpeg.h
94 solist = $(foreach f, $(dll) $(so), echo -e ' $(SO_PREFIX)\t$(base)/$(f)' ;)
95 get_tok = $(shell grep -E "^$(1)=" $(lib_LTLIBRARIES) | cut -d "'" -f 2)
96 base = $(call get_tok,libdir)
97 so = $(call get_tok,library_names)
98 a = $(call get_tok,old_library)
102 dll = $(call get_tok,dlname)