summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-05-02 13:24:54 +0200
committerRobin Watts <robin.watts@artifex.com>2013-05-06 10:52:55 +0100
commit2234da7e8f30720467e05b14b578c8f3a082b75a (patch)
treecb7a897311f7d5abf90608e90361a0c7d2bd2e9c /Makefile
parentbe744b15abc067a849520cf12449ed573e9e28e6 (diff)
downloadmupdf-2234da7e8f30720467e05b14b578c8f3a082b75a.tar.xz
Add UCDN unicode character library.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e24b9347..bb525f54 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ default: all
# Do not specify CFLAGS or LIBS on the make invocation line - specify
# XCFLAGS or XLIBS instead. Make ignores any lines in the makefile that
# set a variable that was set on the command line.
-CFLAGS += $(XCFLAGS) -Ifitz -Ipdf -Ixps -Icbz -Iimage -Iscripts
+CFLAGS += $(XCFLAGS) -Ifitz -Ipdf -Ixps -Icbz -Iimage -Iucdn -Iscripts
LIBS += $(XLIBS) -lfreetype -ljbig2dec -ljpeg -lopenjpeg -lz -lm
LIBS_V8 = $(LIBS) $(V8LIBS)
@@ -75,6 +75,8 @@ $(OUT)/%.o : image/%.c $(MUCBZ_HDR) | $(OUT)
$(CC_CMD)
$(OUT)/%.o : apps/%.c fitz/fitz.h pdf/mupdf.h xps/muxps.h cbz/mucbz.h image/muimage.h | $(OUT)
$(CC_CMD)
+$(OUT)/%.o : ucdn/%.c | $(OUT)
+ $(CC_CMD)
$(OUT)/%.o : scripts/%.c | $(OUT)
$(CC_CMD)
@@ -85,7 +87,7 @@ $(OUT)/%.o : scripts/%.c | $(OUT)
FITZ_LIB := $(OUT)/libfitz.a
FITZ_V8_LIB := $(OUT)/libfitzv8.a
-FITZ_SRC := $(notdir $(wildcard fitz/*.c draw/*.c))
+FITZ_SRC := $(notdir $(wildcard fitz/*.c draw/*.c ucdn/*.c))
FITZ_SRC := $(filter-out draw_simple_scale.c, $(FITZ_SRC))
MUPDF_ALL_SRC := $(notdir $(wildcard pdf/*.c))
MUPDF_SRC := $(filter-out pdf_js.c pdf_jsimp_cpp.c, $(MUPDF_ALL_SRC))