Makefile.in 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. BINFILES=
  2. BINFILES+= nodes2prom nodes2prom.%%HEAP_SUFFIX%%
  3. BINFILES+= graph2prom graph2prom.%%HEAP_SUFFIX%%
  4. BINFILES+= json-pp json-pp.%%HEAP_SUFFIX%%
  5. CLEANFILES= promconfig.sml .cm JSON/.cm
  6. all: promconfig.sml nodes2prom graph2prom json-pp
  7. promconfig.sml: promconfig.sml.in
  8. ../conf/substitute.sh $> $@
  9. nodes2prom: nodes2prom.%%HEAP_SUFFIX%%
  10. heap2exec nodes2prom.%%HEAP_SUFFIX%% nodes2prom || { ../conf/substitute.sh runheap.in $@ && chmod +x $@ ; }
  11. nodes2prom.%%HEAP_SUFFIX%%: promconfig.sml nodes2prom.cm nodes2prom.sml json_lib
  12. ml-build nodes2prom.cm Main.main nodes2prom
  13. graph2prom: graph2prom.%%HEAP_SUFFIX%%
  14. heap2exec graph2prom.%%HEAP_SUFFIX%% graph2prom || { ../conf/substitute.sh runheap.in $@ && chmod +x $@ ; }
  15. graph2prom.%%HEAP_SUFFIX%%: promconfig.sml graph2prom.cm mesh.sml graph2prom.sml json_lib
  16. ml-build graph2prom.cm Main.main graph2prom
  17. json-pp: json-pp.%%HEAP_SUFFIX%%
  18. heap2exec json-pp.%%HEAP_SUFFIX%% json-pp || { ../conf/substitute.sh runheap.in $@ && chmod +x $@ ; }
  19. json-pp.%%HEAP_SUFFIX%%: json-pp.cm json-pp.sml json_lib
  20. ml-build json-pp.cm Main.main json-pp
  21. clean:
  22. rm -rf ${BINFILES}
  23. rm -rf ${CLEANFILES}
  24. # START: ml-makedepend (JSON/json-lib.cm:json_lib); DO NOT DELETE!
  25. json_lib: \
  26. JSON/json.sml \
  27. JSON/json.lex \
  28. JSON/json-util.sml \
  29. JSON/json-tokens.sml \
  30. JSON/json-stream-printer.sml \
  31. JSON/json-stream-parser.sml \
  32. JSON/json-printer.sml \
  33. JSON/json-parser.sml \
  34. JSON/json-lib.cm
  35. # END : ml-makedepend (JSON/json-lib.cm:json_lib); DO NOT DELETE!