diff options
author | Paul Gardiner <paulg.artifex@glidos.net> | 2013-05-30 12:42:22 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-05-30 16:01:58 +0200 |
commit | 880149f48e58ac93697fd19a90df6b31a2242659 (patch) | |
tree | 6c12d99d5b445d003a85dc4ecad8541361a5b867 /Makefile | |
parent | cff6f809da556624fb1de34725935278093182e1 (diff) | |
download | mupdf-880149f48e58ac93697fd19a90df6b31a2242659.tar.xz |
Generate C-includable version of Adobe CA certificate
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -133,6 +133,7 @@ libs_v8: libs $(FITZ_V8_LIB) CMAPDUMP := $(OUT)/cmapdump FONTDUMP := $(OUT)/fontdump CQUOTE := $(OUT)/cquote +BIN2HEX := $(OUT)/bin2hex CMAP_CNS_SRC := $(wildcard cmaps/cns/*) CMAP_GB_SRC := $(wildcard cmaps/gb/*) @@ -143,6 +144,7 @@ FONT_DROID_SRC := fonts/droid/DroidSans.ttf fonts/droid/DroidSansMono.ttf FONT_CJK_SRC := fonts/droid/DroidSansFallback.ttf FONT_CJK_FULL_SRC := fonts/droid/DroidSansFallbackFull.ttf JAVASCRIPT_SRC := pdf/pdf_util.js +ADOBECA_SRC := certs/AdobeCA.p7c $(GEN)/cmap_cns.h : $(CMAP_CNS_SRC) $(QUIET_GEN) $(CMAPDUMP) $@ $(CMAP_CNS_SRC) @@ -165,21 +167,27 @@ $(GEN)/font_cjk_full.h : $(FONT_CJK_FULL_SRC) $(GEN)/js_util.h : $(JAVASCRIPT_SRC) $(QUIET_GEN) $(CQUOTE) $@ $(JAVASCRIPT_SRC) +$(GEN)/adobe_ca.h : $(ADOBECA_SRC) + $(QUIET_GEN) $(BIN2HEX) $@ $(ADOBECA_SRC) + CMAP_HDR := $(addprefix $(GEN)/, cmap_cns.h cmap_gb.h cmap_japan.h cmap_korea.h) FONT_HDR := $(GEN)/font_base14.h $(GEN)/font_droid.h $(GEN)/font_cjk.h $(GEN)/font_cjk_full.h JAVASCRIPT_HDR := $(GEN)/js_util.h +ADOBECA_HDR := $(GEN)/adobe_ca.h ifeq "$(CROSSCOMPILE)" "" $(CMAP_HDR) : $(CMAPDUMP) | $(GEN) $(FONT_HDR) : $(FONTDUMP) | $(GEN) $(JAVASCRIPT_HDR) : $(CQUOTE) | $(GEN) +$(ADOBECA_HDR) : $(BIN2HEX) | $(GEN) endif -generate: $(CMAP_HDR) $(FONT_HDR) $(JAVASCRIPT_HDR) +generate: $(CMAP_HDR) $(FONT_HDR) $(JAVASCRIPT_HDR) $(ADOBECA_HDR) $(OUT)/pdf_cmap_table.o : $(CMAP_HDR) $(OUT)/pdf_fontfile.o : $(FONT_HDR) $(OUT)/pdf_js.o : $(JAVASCRIPT_HDR) +$(OUT)/crypto_pkcs7_openssl.o : $(ADOBECA_HDR) $(OUT)/cmapdump.o : pdf/pdf_cmap.c pdf/pdf_cmap_parse.c # --- Tools and Apps --- |