fixed Makefile.nix to load openjpeg library from this archive
This commit is contained in:
parent
40fe9e6d67
commit
3b9d4c8d50
|
@ -5,6 +5,9 @@ What's New for OpenJPIP
|
||||||
! : changed
|
! : changed
|
||||||
+ : added
|
+ : added
|
||||||
|
|
||||||
|
August 26, 2011
|
||||||
|
! [kaori] fixed Makefile.nix to load openjpeg library from this archive
|
||||||
|
|
||||||
August 25, 2011
|
August 25, 2011
|
||||||
+ [kaori] added tid request support to JPIP client
|
+ [kaori] added tid request support to JPIP client
|
||||||
+ [kaori] added quit JPIP server request
|
+ [kaori] added quit JPIP server request
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
LIBDIR = ../../libopenjpip
|
J2KINCDIR = ../../../../libopenjpeg
|
||||||
LIBFNAME = $(LIBDIR)/libopenjpip_local.a
|
J2KCNFDIR = ../../../..
|
||||||
CFLAGS = -O3 -Wall -I$(LIBDIR)
|
J2KLIBDIR = $(J2KINCDIR)/.libs
|
||||||
LDFLAGS = -L$(LIBDIR) -lm -lopenjpeg -lopenjpip_local
|
JPIPLIBDIR = ../../libopenjpip
|
||||||
|
LIBFNAME = $(JPIPLIBDIR)/libopenjpip_local.a $(J2KLIBDIR)/libopenjpeg.a
|
||||||
|
CFLAGS = -O3 -Wall -I$(JPIPLIBDIR) -I$(J2KINCDIR) -I$(J2KCNFDIR)
|
||||||
|
LDFLAGS = -L$(JPIPLIBDIR) -L$(J2KLIBDIR) -lm -lopenjpip_local
|
||||||
#-lws2_32
|
#-lws2_32
|
||||||
|
|
||||||
ALL = opj_dec_server
|
ALL = opj_dec_server
|
||||||
|
@ -9,6 +12,6 @@ ALL = opj_dec_server
|
||||||
all: $(ALL)
|
all: $(ALL)
|
||||||
|
|
||||||
opj_dec_server: opj_dec_server.o jp2k_decoder.o imgsock_manager.o jpipstream_manager.o cache_manager.o $(LIBFNAME)
|
opj_dec_server: opj_dec_server.o jp2k_decoder.o imgsock_manager.o jpipstream_manager.o cache_manager.o $(LIBFNAME)
|
||||||
$(CC) $(CFLAGS) $< jp2k_decoder.o imgsock_manager.o jpipstream_manager.o cache_manager.o $(LDFLAGS) -o $@
|
$(CC) $(CFLAGS) $< jp2k_decoder.o imgsock_manager.o jpipstream_manager.o cache_manager.o $(LDFLAGS) $(LIBFNAME) -o $@
|
||||||
clean:
|
clean:
|
||||||
rm -f $(ALL) *.o *~
|
rm -f $(ALL) *.o *~
|
||||||
|
|
Loading…
Reference in New Issue