2011-11-02 01:49:20 +01:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
|
2012-01-25 20:52:18 +01:00
|
|
|
bin_PROGRAMS =
|
|
|
|
|
|
|
|
if WANT_JPIP
|
|
|
|
bin_PROGRAMS += opj_dec_server test_index jpip_to_j2k jpip_to_jp2
|
|
|
|
endif
|
|
|
|
|
|
|
|
if WANT_JPIP_SERVER
|
|
|
|
bin_PROGRAMS += opj_server
|
|
|
|
endif
|
2011-11-02 01:49:20 +01:00
|
|
|
|
|
|
|
opj_server_CPPFLAGS = \
|
|
|
|
@FCGI_CFLAGS@ \
|
|
|
|
-I. \
|
|
|
|
-I$(top_srcdir)/applications/jpip/libopenjpip \
|
2011-11-16 20:20:50 +01:00
|
|
|
-I$(top_builddir)/applications/jpip/libopenjpip \
|
2011-11-16 21:03:09 +01:00
|
|
|
-DSERVER \
|
2011-11-16 20:20:50 +01:00
|
|
|
-DQUIT_SIGNAL=\"quitJPIP\"
|
2011-11-02 01:49:20 +01:00
|
|
|
#
|
|
|
|
opj_server_LDADD = $(top_builddir)/applications/jpip/libopenjpip/libopenjpip_server.la @FCGI_LIBS@ -lm
|
|
|
|
#
|
2011-11-16 20:20:50 +01:00
|
|
|
opj_server_SOURCES = opj_server.c
|
|
|
|
|
2011-11-02 01:49:20 +01:00
|
|
|
#-------------
|
|
|
|
opj_dec_server_CPPFLAGS = \
|
|
|
|
-I. \
|
|
|
|
-I$(top_srcdir)/applications/jpip/libopenjpip \
|
|
|
|
-I$(top_builddir)/applications/jpip/libopenjpip
|
|
|
|
#
|
|
|
|
opj_dec_server_CFLAGS =
|
|
|
|
opj_dec_server_LDADD = $(top_builddir)/applications/jpip/libopenjpip/libopenjpip_local.la
|
|
|
|
opj_dec_server_SOURCES = opj_dec_server.c
|
2011-11-16 20:20:50 +01:00
|
|
|
|
2011-11-02 01:49:20 +01:00
|
|
|
#-------------
|
|
|
|
jpip_to_jp2_CPPFLAGS = \
|
|
|
|
-I. \
|
|
|
|
-I$(top_srcdir)/applications/jpip/libopenjpip \
|
|
|
|
-I$(top_builddir)/applications/jpip/libopenjpip
|
|
|
|
#
|
|
|
|
jpip_to_jp2_CFLAGS =
|
|
|
|
jpip_to_jp2_LDADD = $(top_builddir)/applications/jpip/libopenjpip/libopenjpip_local.la
|
|
|
|
jpip_to_jp2_SOURCES = jpip_to_jp2.c
|
2011-11-16 20:20:50 +01:00
|
|
|
|
2011-11-02 01:49:20 +01:00
|
|
|
#-------------
|
|
|
|
jpip_to_j2k_CPPFLAGS = \
|
|
|
|
-I. \
|
|
|
|
-I$(top_srcdir)/applications/jpip/libopenjpip \
|
|
|
|
-I$(top_builddir)/applications/jpip/libopenjpip
|
|
|
|
#
|
|
|
|
jpip_to_j2k_CFLAGS =
|
|
|
|
jpip_to_j2k_LDADD = $(top_builddir)/applications/jpip/libopenjpip/libopenjpip_local.la
|
|
|
|
jpip_to_j2k_SOURCES = jpip_to_j2k.c
|
2011-11-16 20:20:50 +01:00
|
|
|
|
2011-11-02 01:49:20 +01:00
|
|
|
#-------------
|
|
|
|
test_index_CPPFLAGS = \
|
|
|
|
-I. \
|
|
|
|
-I$(top_srcdir)/applications/jpip/libopenjpip \
|
|
|
|
-I$(top_builddir)/applications/jpip/libopenjpip
|
|
|
|
#
|
|
|
|
test_index_CFLAGS =
|
|
|
|
test_index_LDADD = $(top_builddir)/applications/jpip/libopenjpip/libopenjpip_local.la
|
|
|
|
test_index_SOURCES = test_index.c
|
2011-11-16 20:20:50 +01:00
|
|
|
|
2011-11-02 01:49:20 +01:00
|
|
|
#-------------
|
|
|
|
install-data-hook:
|
2012-01-25 20:52:18 +01:00
|
|
|
if WANT_JPIP_SERVER
|
2011-11-02 01:49:20 +01:00
|
|
|
@echo -e " (B)\t$(bindir)/opj_server$(EXEEXT)" >> $(top_builddir)/report.txt
|
2012-01-25 20:52:18 +01:00
|
|
|
endif
|
|
|
|
if WANT_JPIP
|
2011-11-02 01:49:20 +01:00
|
|
|
@echo -e " (B)\t$(bindir)/opj_dec_server$(EXEEXT)" >> $(top_builddir)/report.txt
|
|
|
|
@echo -e " (B)\t$(bindir)/jpip_to_jp2$(EXEEXT)" >> $(top_builddir)/report.txt
|
|
|
|
@echo -e " (B)\t$(bindir)/jpip_to_j2k$(EXEEXT)" >> $(top_builddir)/report.txt
|
|
|
|
@echo -e " (B)\t$(bindir)/test_index$(EXEEXT)" >> $(top_builddir)/report.txt
|
2012-01-25 20:52:18 +01:00
|
|
|
endif
|