Source

spotlib / lib / OMakefile

OCAMLPACKS[]= unix str oUnit pa_ounit

OCAMLDEPFLAGS= -syntax camlp4o -package pa_ounit.syntax -ppopt -pa-ounit-lib -ppopt Spotlib
OCAMLPPFLAGS= -syntax camlp4o -package pa_ounit.syntax -ppopt -pa-ounit-lib -ppopt Spotlib

# OCamlGeneratedFiles(parser.ml lexer.ml)
OCamlGeneratedFiles(phantomy.ml phantomy.mli)

LIBFILES[] =
   base
   monad_intf
   monad
   mtypes
   option
   result
   spotStream
   exn
   temporal_lexer
   temporal
   xlist
   xarray
   xhashtbl
   xstring
   xlazy
   xformat
   xfilename
   xunix
   xprintf
   xsys
   xset
   xint64
   xprintexc
#   phantom
   weaktbl
   hashset
   file
   comopt
   overload
#   graph
   at
   dllist
#   channel
   tuple
   URL
   xgc
   spot
   uniqueID
   once

LIB = spotlib

MyOCamlPackage($(LIB), $(LIBFILES), $(EMPTY), $(EMPTY))

PHANTOM_GEN[] =
   monad_intf
   monad
   xlist
   xlazy
   xformat
   gen_phantom

NO_INSTALL=true
MyOCamlProgram(gen_phantom, $(PHANTOM_GEN))

phantom.ml: phantom_head.ml gen_phantom.run
	./gen_phantom.run ml > $@

phantom.mli: phantom_head.mli gen_phantom.run
	./gen_phantom.run mli > $@

MyOCamlOUnitTest($(LIB))