summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2014-03-20 17:25:10 +0100
committerRobin Watts <robin.watts@artifex.com>2014-03-25 16:44:45 +0000
commitd4a41014bbcd57f8746da89065b09aff38110462 (patch)
tree10609f1ff4f7081059bb4b3e1dd893d336d032d1 /Makefile
parent80292f4511278d6ec3c7b3c0cc8d860f1d9bb8c5 (diff)
downloadmupdf-d4a41014bbcd57f8746da89065b09aff38110462.tar.xz
Split mjs script generation to separate tool.
It has no real reason to live in mudraw, and it does pull in the javascript dependency via pdf-form.c.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7ab1ec60..4b87930a 100644
--- a/Makefile
+++ b/Makefile
@@ -244,6 +244,11 @@ $(MUTOOL) : $(MUPDF_LIB) $(THIRD_LIBS)
$(MUTOOL) : $(MUTOOL_OBJ)
$(LINK_CMD)
+MJSGEN := $(OUT)/mjsgen
+$(MJSGEN) : $(MUPDF_LIB) $(THIRD_LIBS)
+$(MJSGEN) : $(addprefix $(OUT)/tools/, mjsgen.o)
+ $(LINK_CMD)
+
MUJSTEST := $(OUT)/mujstest
$(MUJSTEST) : $(MUPDF_LIB) $(THIRD_LIBS)
$(MUJSTEST) : $(addprefix $(OUT)/platform/x11/, jstest_main.o pdfapp.o)