Renderer, ...: use PixelRect::GetCenter()
[xcsoar.git] / build / jasper.mk
blobfe83d9ad2be71475a5c238d59c01c12b8753916b
1 JASSRC = $(SRC)/Terrain/jasper
2 JASPER_SOURCES = \
3 $(JASSRC)/base/jas_debug.c \
4 $(JASSRC)/base/jas_malloc.c \
5 $(JASSRC)/base/jas_seq.c $(JASSRC)/base/jas_stream.c \
6 $(JASSRC)/base/jas_string.c $(JASSRC)/base/jas_tvp.c \
7 $(JASSRC)/jp2/jp2_cod.c \
8 $(JASSRC)/jp2/jp2_dec.c $(JASSRC)/jpc/jpc_bs.c \
9 $(JASSRC)/jpc/jpc_cs.c $(JASSRC)/jpc/jpc_dec.c \
10 $(JASSRC)/jpc/jpc_math.c $(JASSRC)/jpc/jpc_mct.c \
11 $(JASSRC)/jpc/jpc_mqdec.c $(JASSRC)/jpc/jpc_mqcod.c \
12 $(JASSRC)/jpc/jpc_qmfb.c $(JASSRC)/jpc/jpc_rtc.cpp \
13 $(JASSRC)/jpc/jpc_t1dec.c \
14 $(JASSRC)/jpc/jpc_t1cod.c \
15 $(JASSRC)/jpc/jpc_t2dec.c $(JASSRC)/jpc/jpc_t2cod.c \
16 $(JASSRC)/jpc/jpc_tagtree.c $(JASSRC)/jpc/jpc_tsfb.c \
17 $(JASSRC)/jpc/jpc_util.c
19 JASPER_CFLAGS = -Wno-type-limits
21 ifneq ($(CLANG),y)
22 ifneq ($(TARGET),CYGWIN)
23 JASPER_CFLAGS += -Wno-unused-but-set-parameter -Wno-unused-but-set-variable
24 endif
25 endif
27 JASPER_CPPFLAGS_INTERNAL = $(ZLIB_CPPFLAGS)
28 JASPER_CPPFLAGS = -I$(JASSRC)/..
30 $(eval $(call link-library,jasper,JASPER))