2011-04-14 20:37:47 +02:00
|
|
|
ifdef jpipserver
|
2011-05-09 20:11:40 +02:00
|
|
|
CFLAGS = -O3 -Wall -m32 -DSERVER
|
2011-04-14 20:37:47 +02:00
|
|
|
LIBNAME = libopenjpip_server.a
|
|
|
|
else
|
2011-10-20 01:29:57 +02:00
|
|
|
J2KINCDIR = ../../../libopenjpeg
|
|
|
|
CFLAGS = -O3 -Wall -I$(J2KINCDIR)
|
2011-04-14 20:37:47 +02:00
|
|
|
LIBNAME = libopenjpip_local.a
|
|
|
|
endif
|
|
|
|
|
|
|
|
all: $(LIBNAME)
|
|
|
|
|
2011-10-20 01:29:57 +02:00
|
|
|
ifdef jpipserver
|
|
|
|
$(LIBNAME): openjpip.o target_manager.o byte_manager.o box_manager.o boxheader_manager.o manfbox_manager.o \
|
2011-04-14 20:37:47 +02:00
|
|
|
mhixbox_manager.o marker_manager.o codestream_manager.o faixbox_manager.o index_manager.o \
|
2011-09-30 17:31:06 +02:00
|
|
|
msgqueue_manager.o metadata_manager.o placeholder_manager.o ihdrbox_manager.o imgreg_manager.o \
|
2011-10-20 01:29:57 +02:00
|
|
|
cachemodel_manager.o j2kheader_manager.o jp2k_encoder.o query_parser.o channel_manager.o \
|
|
|
|
session_manager.o jpip_parser.o
|
2011-04-14 20:37:47 +02:00
|
|
|
ar r $@ $^
|
2011-10-20 01:29:57 +02:00
|
|
|
else
|
|
|
|
$(LIBNAME): openjpip.o target_manager.o byte_manager.o box_manager.o boxheader_manager.o manfbox_manager.o \
|
|
|
|
mhixbox_manager.o marker_manager.o codestream_manager.o faixbox_manager.o index_manager.o \
|
|
|
|
msgqueue_manager.o metadata_manager.o placeholder_manager.o ihdrbox_manager.o imgreg_manager.o \
|
|
|
|
cachemodel_manager.o j2kheader_manager.o jp2k_encoder.o query_parser.o channel_manager.o \
|
|
|
|
session_manager.o jpip_parser.o jp2k_decoder.o imgsock_manager.o jpipstream_manager.o cache_manager.o \
|
|
|
|
dec_clientmsg_handler.o
|
|
|
|
ar r $@ $^
|
|
|
|
endif
|
2011-04-14 20:37:47 +02:00
|
|
|
clean:
|
|
|
|
rm -f $(LIBNAME) *.o *~
|