(env
  (dev
   (flags (:standard -warn-error -A))))

(library
 (name human)
 (modes byte)
 (modules human)
 (libraries
  topinf
   lwt_ppx
  tsdl
  tgls.tgles2
  wall
  zed
  lambda-term
  irmin-unix
  nottui
  nottui-pretty
  uuseg.string
  uutf
  uucp
  ocaml-compiler-libs.common
  ocaml-compiler-libs.bytecomp
  ocaml-compiler-libs.toplevel))


(executable
 (name irc)
 (modes byte)
 (modules irc)
 (libraries
   human
   lwt
   fmt
   topinf
   lwt_ppx
   irc-client
   irc-client-lwt
   irc-client-unix
   irc-client-tls
   nottui-lwt
   nottui-pretty
))

(executable
 (name boot)
 (modes byte)
 (modules boot)
 (link_flags (-linkall))
 (libraries
   lwt_ppx
   lambda-term
   topinf))

(library
 (name topinf)
 (modes byte)
 (modules topinf)
 (libraries
   fmt
  tsdl
  tgls.tgles2
  wall
  zed
  lambda-term
  irmin-unix
  nottui
  nottui-pretty
  nottui-lwt
  uuseg
  irc-client
  irc-client-lwt
  irc-client-unix
  irc-client-tls
  ocaml-compiler-libs.common
  ocaml-compiler-libs.bytecomp
  ocaml-compiler-libs.toplevel))
