2011-08-26 13:50:50 +02:00
|
|
|
J2KINCDIR = ../../../../libopenjpeg
|
|
|
|
J2KCNFDIR = ../../../..
|
|
|
|
J2KLIBDIR = $(J2KINCDIR)/.libs
|
|
|
|
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
|
2011-05-10 16:42:00 +02:00
|
|
|
#-lws2_32
|
2011-04-14 20:37:47 +02:00
|
|
|
|
|
|
|
ALL = opj_dec_server
|
|
|
|
|
|
|
|
all: $(ALL)
|
|
|
|
|
2011-07-05 01:00:21 +02:00
|
|
|
opj_dec_server: opj_dec_server.o jp2k_decoder.o imgsock_manager.o jpipstream_manager.o cache_manager.o $(LIBFNAME)
|
2011-08-26 13:50:50 +02:00
|
|
|
$(CC) $(CFLAGS) $< jp2k_decoder.o imgsock_manager.o jpipstream_manager.o cache_manager.o $(LDFLAGS) $(LIBFNAME) -o $@
|
2011-04-14 20:37:47 +02:00
|
|
|
clean:
|
|
|
|
rm -f $(ALL) *.o *~
|