1 COMPILERFLAGS = -Wall -static
3 INCLUDES = -I.. -I. -I../libopenjpeg
6 INCLUDES += @tiffincludes@
11 INCLUDES += @pngincludes@
16 INCLUDES += @lcms2includes@
17 USERLIBS += @lcms2libs@
21 INCLUDES += @lcms1includes@
22 USERLIBS += @lcms1libs@
25 bin_PROGRAMS = j2k_to_image image_to_j2k j2k_dump
27 CFLAGS = $(COMPILERFLAGS) $(INCLUDES)
28 LDADD = $(USERLIBS) ../libopenjpeg/libopenjpeg.la
30 j2k_to_image_SOURCES = compat/getopt.c index.c convert.c j2k_to_image.c
32 image_to_j2k_SOURCES = compat/getopt.c index.c convert.c image_to_j2k.c
34 j2k_dump_SOURCES = compat/getopt.c index.c j2k_dump.c
36 REPBIN=$(bin_PROGRAMS)
40 $(INSTALL) $(bin_PROGRAMS) ../bin
41 @echo "" > .report.txt
42 @for f in ${REPBIN} ; do \
43 echo "Installing: ${prefix}/bin/$$f" >> .report.txt ; \