[trunk] enhance mj2 when read jp2h (credit to winfried)
[openjpeg.git] / applications / mj2 / Makefile.am
index 91bb341456d29a9bef547de7183415290bfdff05..cff65660d2c35c9e63028c2f7ad7f9b3eed6c3cb 100644 (file)
@@ -18,7 +18,13 @@ OPJ_SRC = \
 ../../libopenjpeg/t1.c \
 ../../libopenjpeg/t2.c \
 ../../libopenjpeg/tcd.c \
-../../libopenjpeg/tgt.c
+../../libopenjpeg/tgt.c \
+../../libopenjpeg/cidx_manager.c \
+../../libopenjpeg/phix_manager.c \
+../../libopenjpeg/ppix_manager.c \
+../../libopenjpeg/thix_manager.c \
+../../libopenjpeg/tpix_manager.c \
+../../libopenjpeg/function_list.c
 
 bin_PROGRAMS = \
 frames_to_mj2 \
@@ -54,7 +60,7 @@ mj2_to_frames_CPPFLAGS = \
 @LCMS1_CFLAGS@ \
 -DOPJ_STATIC
 mj2_to_frames_CFLAGS = 
-mj2_to_frames_LDADD = @LCMS2_LIBS@ @LCMS1_LIBS@
+mj2_to_frames_LDADD = @LCMS2_LIBS@ @LCMS1_LIBS@ -lm
 mj2_to_frames_SOURCES = \
 $(OPJ_SRC) \
 ../common/color.c \