]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/openjpeg/libopenjpeg/Makefile.am
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / openjpeg / libopenjpeg / Makefile.am
1 MAINTAINERCLEANFILES = Makefile.in
2
3 SUBDIRS = .
4
5 if WANT_JPWL
6 SUBDIRS += jpwl
7 endif
8
9 includesdir = $(includedir)/openjpeg-$(MAJOR_NR).$(MINOR_NR)
10 includes_HEADERS = openjpeg.h
11
12 lib_LTLIBRARIES = libopenjpeg.la
13
14 libopenjpeg_la_CPPFLAGS = \
15 -I. \
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@
21
22 libopenjpeg_la_SOURCES = \
23 bio.c \
24 cio.c \
25 dwt.c \
26 event.c \
27 image.c \
28 j2k.c \
29 j2k_lib.c \
30 jp2.c \
31 jpt.c \
32 mct.c \
33 mqc.c \
34 openjpeg.c \
35 pi.c \
36 raw.c \
37 t1.c \
38 t1_generate_luts.c \
39 t2.c \
40 tcd.c \
41 tgt.c \
42 cidx_manager.c \
43 phix_manager.c \
44 ppix_manager.c \
45 thix_manager.c \
46 tpix_manager.c \
47 bio.h \
48 cio.h \
49 dwt.h \
50 event.h \
51 fix.h \
52 image.h \
53 indexbox_manager.h \
54 int.h \
55 j2k.h \
56 j2k_lib.h \
57 jp2.h \
58 jpt.h \
59 mct.h \
60 mqc.h \
61 opj_includes.h \
62 opj_malloc.h \
63 pi.h \
64 raw.h \
65 t1.h \
66 t1_luts.h \
67 t2.h \
68 tcd.h \
69 tgt.h \
70 cidx_manager.h
71
72 EXTRA_DIST = \
73 CMakeLists.txt
74
75 install-data-hook:
76         cd $(DESTDIR)$(includedir) && \
77           rm -f openjpeg.h && \
78           $(LN_S) openjpeg-$(MAJOR_NR).$(MINOR_NR)/openjpeg.h \
79                   openjpeg.h
80         @rm -rf $(top_builddir)/report.txt
81         @echo -e " (LA)\t$(libdir)/libopenjpeg.la" >> $(top_builddir)/report.txt
82 if BUILD_SHARED
83         @( $(call solist) ) >> $(top_builddir)/report.txt
84 endif
85 if BUILD_STATIC
86         @echo -e " (A)\t$(base)/$(a)" >> $(top_builddir)/report.txt
87 endif
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
90
91 uninstall-hook:
92         rm -f $(DESTDIR)$(includedir)/openjpeg.h
93
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)
99
100 if HAVE_WIN32
101 SO_PREFIX = (DLL)
102 dll       = $(call get_tok,dlname)
103 else
104 if HAVE_DARWIN
105 SO_PREFIX = (DY)
106 dll       =
107 else
108 SO_PREFIX = (SO)
109 dll       =
110 endif
111 endif