2022-09-23 13:05:17 +00:00
|
|
|
JBIG2DEC_DIR := $(call select_from_ports,jbig2dec)/src/lib/jbig2dec
|
|
|
|
LIBS += libc libpng zlib
|
|
|
|
INC_DIR += $(JBIG2DEC_DIR) $(REP_DIR)/include/jbig2dec
|
2011-12-31 11:50:52 +00:00
|
|
|
|
|
|
|
# incorporate all '*.c' files except those that are not part of the library
|
2019-01-31 10:28:14 +00:00
|
|
|
FILTER_OUT = jbig2dec.c snprintf.c pbm2png.c
|
2011-12-31 11:50:52 +00:00
|
|
|
SRC_C = $(filter-out $(FILTER_OUT),$(notdir $(wildcard $(JBIG2DEC_DIR)/*.c)))
|
|
|
|
|
|
|
|
# definitions normally provided by a config.h file
|
|
|
|
CC_OPT += -DHAVE_STRING_H -DHAVE_STDINT_H
|
|
|
|
|
|
|
|
# disable warning noise for contrib code
|
|
|
|
CC_WARN = -Wno-deprecated-declarations
|
|
|
|
|
2012-02-24 12:39:23 +00:00
|
|
|
SHARED_LIB = yes
|
|
|
|
|
2011-12-31 11:50:52 +00:00
|
|
|
vpath %.c $(JBIG2DEC_DIR)
|
2018-01-03 17:40:54 +00:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|