From: rrt Date: Wed, 20 Dec 2000 15:45:10 +0000 (+0000) Subject: [project @ 2000-12-20 15:45:10 by rrt] X-Git-Tag: Approximately_9120_patches~3012 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=4db8f3202e2e905faff1dd2456675d2deeabe552;p=ghc-hetmet.git [project @ 2000-12-20 15:45:10 by rrt] Add GreenCard and correct win32 details. --- diff --git a/ghc/driver/PackageSrc.hs b/ghc/driver/PackageSrc.hs index 6df2af3..e095e99 100644 --- a/ghc/driver/PackageSrc.hs +++ b/ghc/driver/PackageSrc.hs @@ -300,18 +300,36 @@ package_details installing = }, Package { + name = "greencard", + import_dirs = if installing + then [ clibdir ++ "/imports/greencard" ] + else [ cFPTOOLS_TOP_ABS ++ "/green-card/lib/ghc" ], + library_dirs = if installing + then [ clibdir ] + else [ cFPTOOLS_TOP_ABS ++ "/green-card/lib/ghc" ], + hs_libraries = [ "HSgreencard" ], + extra_libraries = [], + include_dirs = [], + c_includes = [], + package_deps = [], + extra_ghc_opts = [], + extra_cc_opts = [], + extra_ld_opts = [], + }, + + Package { name = "win32", import_dirs = if installing then [ clibdir ++ "/imports/win32" ] - else [ cFPTOOLS_TOP_ABS ++ "/hslibs/win32/src" ], + else [ cFPTOOLS_TOP_ABS ++ "/hslibs/win32" ], library_dirs = if installing then [ clibdir ] - else [ cFPTOOLS_TOP_ABS ++ "/hslibs/win32/src" ], + else [ cFPTOOLS_TOP_ABS ++ "/hslibs/win32" ], hs_libraries = [ "HSwin32" ], extra_libraries = [], include_dirs = [], c_includes = [], -- ??? - package_deps = [ "lang" ], + package_deps = [ "lang", "greencard" ], extra_ghc_opts = [], extra_cc_opts = [], extra_ld_opts = [ "-luser32", "-lgdi32" ]