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

(library
 (name posix_stat_types)
 (public_name posix-stat.types)
 (libraries
  posix-stat.constants
  posix-base
  posix-types
  posix-time2.types
  ctypes.stubs))

(rule
 (targets posix_stat_generated_constants.ml)
 (action
  (with-stdout-to
   %{targets}
   (run ../generator/gen_constants_c))))
