CMakeLists.txt \
CTestConfig.cmake \
AUTHORS \
-CHANGES \
INSTALL \
LICENSE \
NEWS \
libopenjpip_server_la_CPPFLAGS = \
-I. \
+-I$(top_srcdir)/libopenjpeg \
+-I$(top_builddir)/libopenjpeg \
-I$(top_srcdir)/applications/jpip/libopenjpip \
-I$(top_builddir)/applications/jpip/libopenjpip \
@FCGI_CFLAGS@ \
opj_server_CPPFLAGS = \
@FCGI_CFLAGS@ \
-I. \
+-I$(top_srcdir)/libopenjpeg \
+-I$(top_builddir)/libopenjpeg \
-I$(top_srcdir)/applications/jpip/libopenjpip \
-I$(top_builddir)/applications/jpip/libopenjpip \
-DSERVER \
#-------------
opj_dec_server_CPPFLAGS = \
-I. \
+-I$(top_srcdir)/libopenjpeg \
+-I$(top_builddir)/libopenjpeg \
-I$(top_srcdir)/applications/jpip/libopenjpip \
-I$(top_builddir)/applications/jpip/libopenjpip
#
#-------------
jpip_to_jp2_CPPFLAGS = \
-I. \
+-I$(top_srcdir)/libopenjpeg \
+-I$(top_builddir)/libopenjpeg \
-I$(top_srcdir)/applications/jpip/libopenjpip \
-I$(top_builddir)/applications/jpip/libopenjpip
#
#-------------
jpip_to_j2k_CPPFLAGS = \
-I. \
+-I$(top_srcdir)/libopenjpeg \
+-I$(top_builddir)/libopenjpeg \
-I$(top_srcdir)/applications/jpip/libopenjpip \
-I$(top_builddir)/applications/jpip/libopenjpip
#
#-------------
test_index_CPPFLAGS = \
-I. \
+-I$(top_srcdir)/libopenjpeg \
+-I$(top_builddir)/libopenjpeg \
-I$(top_srcdir)/applications/jpip/libopenjpip \
-I$(top_builddir)/applications/jpip/libopenjpip
#
AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"])
AM_CONDITIONAL([HAVE_DARWIN], [test "x${have_darwin}" = "xyes"])
-
+AC_TYPE_SSIZE_T
+if test "x$ac_cv_type_ssize_t" = xyes; then
+AC_DEFINE([HAVE_SSIZE_T], [1],[Define to 1 if you have ssize_t.],
+ [AC_MSG([ssize_t not found])])
+fi
### Additional options to configure
# debug
endif
docsdir = $(docdir)-$(MAJOR_NR).$(MINOR_NR)
-docs_DATA = $(top_builddir)/LICENSE $(top_builddir)/CHANGES
+docs_DATA = $(top_builddir)/LICENSE
dist_man1_MANS = \
man/man1/image_to_j2k.1 \
endif
includesdir = $(includedir)/openjpeg-$(MAJOR_NR).$(MINOR_NR)
-includes_HEADERS = openjpeg.h
+includes_HEADERS = openjpeg.h opj_stdint.h
lib_LTLIBRARIES = libopenjpeg.la
const char* OPJ_CALLCONV opj_version(void) {
- return OPJ_PACKAGE_VERSION;
+ return PACKAGE_VERSION;
}
typedef int64_t OPJ_OFF_T;
#ifndef HAVE_SSIZE_T
+#if defined(_WIN32)
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
+#else
+#error SSIZE_T is undefined
+#endif /* _WIN32 */
#endif
#endif /* OPJ_STDINT_H */
/* create config.h for CMake */
-#define OPJ_PACKAGE_VERSION "@PACKAGE_VERSION@"
+#define PACKAGE_VERSION "@PACKAGE_VERSION@"
#cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@
#cmakedefine HAVE_MEMORY_H @HAVE_MEMORY_H@