#include "config.h" Package { name = "base", #ifdef INSTALLING import_dirs = [ "$libdir/imports/base" ], #else import_dirs = [ "$libdir/libraries/base" ], #endif source_dirs = [], #ifdef INSTALLING library_dirs = [ "$libdir" ], #else library_dirs = [ "$libdir/libraries/base" , "$libdir/libraries/base/cbits" ], #endif hs_libraries = # ifndef mingw32_TARGET_OS [ "HSbase" ], # else /* This splitting is the subject of a totally horrible hack, which glues HSstd1 and HSstd2 back into HSstd for the purposes of static linking. See DriverState.getPackageLibraries for details. */ [ "HSbase1", "HSbase2" ], # endif extra_libraries = [ "HSbase_cbits" #ifdef mingw32_TARGET_OS , "wsock32", "kernel32", "user32" #endif ], #ifdef INSTALLING include_dirs = [], #else include_dirs = [ "$libdir/libraries/base/include" ], #endif c_includes = [ "HsBase.h" ], package_deps = [ "rts" ], extra_ghc_opts = [], extra_cc_opts = [], extra_ld_opts = [] }