#include "config.h"

Package {
	name		= "unix",
	auto		= True,
#ifdef INSTALLING
	import_dirs	= [ "$libdir/imports" ],
#else
	import_dirs	= [ "$libdir/libraries/unix" ],
#endif
	source_dirs	= [],
#ifdef INSTALLING
	library_dirs	= [ "$libdir" ],
#else
	library_dirs	= [ "$libdir/libraries/unix",
			    "$libdir/libraries/unix/cbits" ],
#endif
	hs_libraries	= [ "HSunix" ],
	extra_libraries	= [ "HSunix_cbits"
#ifndef HAVE_FRAMEWORK_HASKELLSUPPORT
#ifdef HAVE_LIBDL
			  , "dl"
#endif
#endif
			  ],

#ifdef INSTALLING
        include_dirs	= [],
#else
        include_dirs	= [ "$libdir/libraries/unix/include" ],
#endif
        c_includes	= [ "HsUnix.h" ],
        package_deps	= [ "base" ],
        extra_ghc_opts	= [],
        extra_cc_opts	= [],
        extra_ld_opts	= []
}
