2013-08-20 16:32:57 +02:00
|
|
|
# Build the cpdf command line tools and top level
|
2014-10-08 17:10:27 +02:00
|
|
|
MODS = xmlm cpdfstrftime cpdf cpdfcommand
|
2013-08-20 22:00:17 +02:00
|
|
|
|
2013-11-22 15:42:18 +01:00
|
|
|
SOURCES = $(foreach x,$(MODS),$(x).ml $(x).mli) cpdfcommandrun.ml
|
2013-08-20 16:32:57 +02:00
|
|
|
|
|
|
|
RESULT = cpdf
|
2013-09-16 14:17:40 +02:00
|
|
|
ANNOTATE = true
|
2014-09-11 15:05:13 +02:00
|
|
|
PACKS = camlpdf
|
2013-08-20 16:32:57 +02:00
|
|
|
|
2017-10-03 13:19:37 +02:00
|
|
|
OCAMLNCFLAGS = -g -unsafe-string -w -3 -annot
|
|
|
|
OCAMLBCFLAGS = -g -unsafe-string -w -3 -annot
|
2013-08-20 16:32:57 +02:00
|
|
|
OCAMLLDFLAGS = -g
|
|
|
|
|
2013-08-20 22:00:17 +02:00
|
|
|
all : native-code native-code-library byte-code-library top htdoc
|
|
|
|
|
2014-09-16 17:12:58 +02:00
|
|
|
clean ::
|
2014-10-30 20:48:45 +01:00
|
|
|
rm -rf doc foo foo2 out.pdf out2.pdf
|
2014-09-16 17:12:58 +02:00
|
|
|
|
2013-11-22 15:42:18 +01:00
|
|
|
LIBINSTALL_FILES = cpdf.a cpdf.cma cpdf.cmxa \
|
2016-03-29 15:40:01 +02:00
|
|
|
$(foreach x,$(MODS),$x.mli) $(foreach x,$(MODS),$x.cmi) \
|
|
|
|
$(foreach x,$(MODS),$x.cmx)
|
2013-08-20 22:00:17 +02:00
|
|
|
|
|
|
|
install : libinstall
|
2013-08-20 16:32:57 +02:00
|
|
|
|
|
|
|
-include OCamlMakefile
|
|
|
|
|