[trunk] modify image_to_j2k and the lib to support functionalities given by the v2...
[openjpeg.git] / applications / mj2 / Makefile.am
index 6f8c225cd6b86467756136a308cb3fdaf2307997..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 \
@@ -37,7 +43,7 @@ frames_to_mj2_CFLAGS =
 frames_to_mj2_LDADD = -lm
 frames_to_mj2_SOURCES = \
 $(OPJ_SRC) \
-../common/getopt.c \
+../common/opj_getopt.c \
 mj2_convert.c \
 mj2.c \
 frames_to_mj2.c \
@@ -54,11 +60,11 @@ 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 \
-../common/getopt.c \
+../common/opj_getopt.c \
 mj2_convert.c \
 mj2.c \
 mj2_to_frames.c \