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-11-02 01:49:20 +01:00
|
|
|
J2KINCDIR = ../../../libopenjpeg
|
|
|
|
CFLAGS = -O3 -Wall -I$(J2KINCDIR)
|
2011-04-14 20:37:47 +02:00
|
|
|
LIBNAME = libopenjpip_local.a
|
|
|
|
endif
|
|
|
|
|
|
|
|
all: $(LIBNAME)
|
|
|
|
|
2011-11-02 01:49:20 +01: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-10-10 11:50:18 +02:00
|
|
|
msgqueue_manager.o metadata_manager.o placeholder_manager.o ihdrbox_manager.o imgreg_manager.o \
|
2011-11-02 01:49:20 +01:00
|
|
|
cachemodel_manager.o j2kheader_manager.o jp2k_encoder.o query_parser.o channel_manager.o \
|
2011-11-30 15:54:41 +01:00
|
|
|
session_manager.o jpip_parser.o sock_manager.o auxtrans_manager.o
|
2011-04-14 20:37:47 +02:00
|
|
|
ar r $@ $^
|
2011-11-02 01:49:20 +01: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 \
|
2012-01-26 16:02:58 +01:00
|
|
|
dec_clientmsg_handler.o sock_manager.o
|
2011-11-02 01:49:20 +01:00
|
|
|
ar r $@ $^
|
|
|
|
endif
|
2011-04-14 20:37:47 +02:00
|
|
|
clean:
|
|
|
|
rm -f $(LIBNAME) *.o *~
|