2010-10-18 00:42:46 +02:00
|
|
|
COMPILERFLAGS = -Wall -static
|
2010-10-05 12:33:15 +02:00
|
|
|
|
|
|
|
USERLIBS =
|
2010-12-08 12:06:41 +01:00
|
|
|
INCLUDES = -I.. -I. -I../libopenjpeg -I../common
|
2010-10-05 12:33:15 +02:00
|
|
|
|
|
|
|
if with_liblcms2
|
|
|
|
INCLUDES += @lcms2includes@
|
|
|
|
USERLIBS += @lcms2libs@
|
|
|
|
endif
|
|
|
|
|
|
|
|
if with_liblcms1
|
|
|
|
INCLUDES += @lcms1includes@
|
|
|
|
USERLIBS += @lcms1libs@
|
|
|
|
endif
|
|
|
|
|
|
|
|
bin_PROGRAMS = frames_to_mj2 mj2_to_frames extract_j2k_from_mj2 wrap_j2k_in_mj2
|
|
|
|
|
|
|
|
CFLAGS = $(COMPILERFLAGS) $(INCLUDES)
|
|
|
|
LDADD = ../libopenjpeg/libopenjpeg.la $(USERLIBS)
|
|
|
|
|
2010-12-08 12:06:41 +01:00
|
|
|
frames_to_mj2_SOURCES = ../common/getopt.c mj2_convert.c mj2.c \
|
2010-10-05 12:33:15 +02:00
|
|
|
frames_to_mj2.c
|
|
|
|
|
2010-12-08 12:06:41 +01:00
|
|
|
mj2_to_frames_SOURCES = ../common/getopt.c mj2_convert.c mj2.c \
|
|
|
|
../common/color.c mj2_to_frames.c
|
2010-10-05 12:33:15 +02:00
|
|
|
|
|
|
|
extract_j2k_from_mj2_SOURCES = mj2.c extract_j2k_from_mj2.c
|
|
|
|
|
|
|
|
wrap_j2k_in_mj2_SOURCES = mj2.c wrap_j2k_in_mj2.c
|
|
|
|
|
|
|
|
REPBIN=$(bin_PROGRAMS)
|
|
|
|
|
|
|
|
all-local:
|
|
|
|
$(INSTALL) -d ../bin
|
|
|
|
$(INSTALL) $(bin_PROGRAMS) ../bin
|
|
|
|
@echo "" > .report.txt
|
|
|
|
@(for f in ${REPBIN} ; do \
|
|
|
|
echo "Installing: ${prefix}/bin/$$f" >> .report.txt ; \
|
|
|
|
done)
|