2010-10-05 12:33:15 +02:00
|
|
|
#jp3d/codec/
|
|
|
|
|
|
|
|
USERLIBS =
|
|
|
|
INCLUDES = -I. -I../libjp3dvm
|
2010-12-10 05:27:40 +01:00
|
|
|
CFLAGS = -Wall $(INCLUDES)
|
|
|
|
|
2010-12-14 04:33:31 +01:00
|
|
|
if with_sharedlibs
|
|
|
|
CFLAGS += -DOPJ_EXPORTS
|
|
|
|
else
|
|
|
|
CFLAGS += -DOPJ_STATIC
|
2010-12-10 05:27:40 +01:00
|
|
|
endif
|
2010-10-05 12:33:15 +02:00
|
|
|
|
|
|
|
bin_PROGRAMS = jp3d_to_volume volume_to_jp3d
|
|
|
|
LDADD = $(USERLIBS) ../libjp3dvm/libopenjp3dvm.la
|
|
|
|
|
|
|
|
jp3d_to_volume_SOURCES = getopt.c convert.c jp3d_to_volume.c
|
|
|
|
|
|
|
|
volume_to_jp3d_SOURCES = getopt.c convert.c volume_to_jp3d.c
|
|
|
|
|
|
|
|
REPBIN=$(bin_PROGRAMS)
|
|
|
|
|
|
|
|
all-local:
|
|
|
|
$(INSTALL) -d ../../bin
|
|
|
|
$(INSTALL) $(bin_PROGRAMS) ../../bin
|
2011-01-07 04:20:58 +01:00
|
|
|
@(for file in ${REPBIN} ; do \
|
|
|
|
echo "Installing: ${prefix}/bin/$${file}" >> ../.report.txt ; \
|
2010-10-05 12:33:15 +02:00
|
|
|
done)
|