fun make file = if cm::make file then () else raise exception DIE("Can't load "$file);
fun again () = run "make.pkg";

make "../ffi-packager/ffi-packager.cm";

/*---------------------------------------------------------------------------
 * 
 * This program drives the sml-resolv library packaging process
 *
 *---------------------------------------------------------------------------*/
package p =
gift_wrap_g
(  use ffi_packager
   use gift_wrap_defaults
   package a = Ast
  
   name     = "resolv"
   name'    = "resolv"
   version  = "0.1"
   enums    = [("resolv-enums.sml", "ResolvEnums", "res")]
   defines  = [("resolv-macros.sml", "ResolvMacros",
                     [
                      ("^RES", FALSE)
                     ]
                   )
                  ]
   fun init info = 
       (tr::declare info "^f-" (String o BoolIfCtypeIs "bool")
       )
)
