summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-04-07 02:34:02 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-04-11 13:49:38 +0200
commit5cccad8f7b93c142b0672f59b01069a50a353c45 (patch)
tree32cc5cd0e4cec92f574ea92aff3ed7ef131e2c46 /Makethird
parent2df3e5da2988257eea28670d4a893e99ff199aac (diff)
downloadmupdf-5cccad8f7b93c142b0672f59b01069a50a353c45.tar.xz
Remove needless #defines in load-jpx.c
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird9
1 files changed, 2 insertions, 7 deletions
diff --git a/Makethird b/Makethird
index 0e250d60..0ba7c85a 100644
--- a/Makethird
+++ b/Makethird
@@ -377,7 +377,6 @@ ifneq "$(wildcard $(OPENJPEG_DIR)/openjpeg.h)" ""
OPENJPEG_OUT := $(OUT)/thirdparty/openjpeg
OPENJPEG_SRC := \
bio.c \
- cidx_manager.c \
cio.c \
dwt.c \
event.c \
@@ -389,16 +388,12 @@ OPENJPEG_SRC := \
mct.c \
mqc.c \
openjpeg.c \
- phix_manager.c \
pi.c \
- ppix_manager.c \
raw.c \
t1.c \
t2.c \
tcd.c \
tgt.c \
- thix_manager.c \
- tpix_manager.c \
thread.c
OPENJPEG_OBJ := $(addprefix $(OPENJPEG_OUT)/, $(OPENJPEG_SRC:%.c=%.o))
@@ -406,9 +401,9 @@ OPENJPEG_OBJ := $(addprefix $(OPENJPEG_OUT)/, $(OPENJPEG_SRC:%.c=%.o))
$(OPENJPEG_OUT):
$(MKDIR_CMD)
$(OPENJPEG_OUT)/%.o: $(OPENJPEG_DIR)/%.c | $(OPENJPEG_OUT)
- $(CC_CMD) -DOPJ_STATIC -DOPJ_HAVE_STDINT_H -DOPJ_HAVE_INTTYPES_H -DUSE_JPIP
+ $(CC_CMD) $(OPENJPEG_CFLAGS)
-OPENJPEG_CFLAGS += -I$(OPENJPEG_DIR)
+OPENJPEG_CFLAGS += -I$(OPENJPEG_DIR) -DOPJ_STATIC -DOPJ_HAVE_STDINT_H -DOPJ_HAVE_INTTYPES_H
else
OPENJPEG_CFLAGS := $(SYS_OPENJPEG_CFLAGS)
OPENJPEG_LIBS := $(SYS_OPENJPEG_LIBS)