2011-03-04 11:53:27 +01:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
2010-10-05 12:33:15 +02:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libopenjpeg_JPWL.la
|
|
|
|
|
2011-03-04 11:53:27 +01:00
|
|
|
OPJ_SRC = \
|
2011-05-23 22:30:20 +02:00
|
|
|
../bio.c \
|
|
|
|
../cio.c \
|
|
|
|
../dwt.c \
|
|
|
|
../event.c \
|
|
|
|
../image.c \
|
|
|
|
../j2k.c \
|
|
|
|
../j2k_lib.c \
|
|
|
|
../jp2.c \
|
|
|
|
../jpt.c \
|
|
|
|
../mct.c \
|
|
|
|
../mqc.c \
|
|
|
|
../openjpeg.c \
|
|
|
|
../pi.c \
|
|
|
|
../raw.c \
|
|
|
|
../t1.c \
|
|
|
|
../t1_generate_luts.c \
|
|
|
|
../t2.c \
|
|
|
|
../tcd.c \
|
2011-09-09 20:54:05 +02:00
|
|
|
../tgt.c \
|
|
|
|
../cidx_manager.c \
|
|
|
|
../phix_manager.c \
|
|
|
|
../ppix_manager.c \
|
|
|
|
../thix_manager.c \
|
2011-09-30 23:14:25 +02:00
|
|
|
../tpix_manager.c \
|
|
|
|
../function_list.c
|
2011-03-04 11:53:27 +01:00
|
|
|
|
|
|
|
libopenjpeg_JPWL_la_CPPFLAGS = \
|
|
|
|
-I. \
|
|
|
|
-I$(top_srcdir)/libopenjpeg \
|
|
|
|
-I$(top_builddir)/libopenjpeg \
|
2011-05-23 22:30:20 +02:00
|
|
|
-I$(top_srcdir)/libopenjpeg/jpwl \
|
|
|
|
-I$(top_builddir)/libopenjpeg/jpwl \
|
2011-03-04 11:53:27 +01:00
|
|
|
-DUSE_JPWL
|
|
|
|
libopenjpeg_JPWL_la_CFLAGS =
|
|
|
|
libopenjpeg_JPWL_la_LIBADD = -lm
|
|
|
|
libopenjpeg_JPWL_la_LDFLAGS = -no-undefined -version-info @lt_version@
|
|
|
|
libopenjpeg_JPWL_la_SOURCES = \
|
|
|
|
$(OPJ_SRC) \
|
|
|
|
crc.c \
|
|
|
|
jpwl.c \
|
|
|
|
jpwl_lib.c \
|
|
|
|
rs.c \
|
|
|
|
crc.h \
|
2011-05-23 22:30:20 +02:00
|
|
|
jpwl.h \
|
2011-03-04 11:53:27 +01:00
|
|
|
rs.h
|
2010-12-08 12:06:41 +01:00
|
|
|
|
2011-03-04 11:53:27 +01:00
|
|
|
install-data-hook:
|
|
|
|
@echo -e " (LA)\t$(libdir)/libopenjpeg_JPWL.la" >> $(top_builddir)/report.txt
|
|
|
|
@( $(call solist) ) >> $(top_builddir)/report.txt
|
2011-03-04 12:03:33 +01:00
|
|
|
@echo -e " (A)\t$(base)/$(a)" >> $(top_builddir)/report.txt
|
2011-03-04 11:53:27 +01:00
|
|
|
|
|
|
|
solist = $(foreach f, $(dll) $(so), echo -e ' $(SO_PREFIX)\t$(base)/$(f)' ;)
|
|
|
|
get_tok = $(shell grep -E "^$(1)=" $(lib_LTLIBRARIES) | cut -d "'" -f 2)
|
|
|
|
base = $(call get_tok,libdir)
|
|
|
|
so = $(call get_tok,library_names)
|
|
|
|
a = $(call get_tok,old_library)
|
|
|
|
|
|
|
|
if HAVE_WIN32
|
|
|
|
SO_PREFIX = (DLL)
|
|
|
|
dll = $(call get_tok,dlname)
|
2010-12-14 04:33:31 +01:00
|
|
|
else
|
2011-03-04 11:53:27 +01:00
|
|
|
if HAVE_DARWIN
|
|
|
|
SO_PREFIX = (DY)
|
|
|
|
dll =
|
|
|
|
else
|
|
|
|
SO_PREFIX = (SO)
|
|
|
|
dll =
|
2011-01-07 04:20:58 +01:00
|
|
|
endif
|
|
|
|
endif
|