package treating

Simon Marlow simonmar at microsoft.com
Wed Oct 22 10:43:49 EDT 2003


 
> Now, does the package 
> 
>   Package {name            = "docon",
>            import_dirs     = ["$(e)"],
>            source_dirs     = [],    
>            library_dirs    = ["$(e)"],
>            hs_libraries    = ["HSdocon"],
>            extra_libraries = [], 
>            include_dirs    = [], 
>            c_includes      = [], 
>            package_deps    = ["data"],
>            extra_ghc_opts  = [$(extraPackageOpts)],
>            extra_cc_opts   = [], 
>            extra_ld_opts   = [] 
>           }
>   e                = .../source/export
>   extraPackageOpts = such and such complier flags
> 
> 
> specify of what it is intended? 
> In particular, what should be  package_deps = [ ?? ] 
> ?

package_deps should be a list of packages on which this package depends.
More precisely, for every module M imported by a module in your package,
if M is from another package P, you should include P in package_deps.
That is, package_deps doesn't need to be transitively closed.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list