[project @ 2001-01-03 03:10:32 by chak]
[ghc-hetmet.git] / ghc / driver / PackageSrc.hs
index 99ba973..fa53901 100644 (file)
@@ -46,7 +46,7 @@ package_details installing =
                             then [ clibdir ]
                             else [ ghc_src_dir cGHC_RUNTIME_DIR ],
         hs_libraries      = [ "HSrts" ],
-       extra_libraries   = [],
+       extra_libraries   = [ "dl" ],
         include_dirs   = if installing
                             then [ clibdir ++ "/includes" ]
                             else [ ghc_src_dir cGHC_INCLUDE_DIR ],
@@ -154,7 +154,7 @@ package_details installing =
          include_dirs   = if installing
                              then []
                              else [ cFPTOOLS_TOP_ABS ++ "/hslibs/concurrent/cbits" ],
-         c_includes     = [ "HsConcurrent.h" ],
+         c_includes     = [],
          package_deps   = [ "lang" ],
          extra_ghc_opts = [],
          extra_cc_opts  = [],
@@ -178,7 +178,7 @@ package_details installing =
          include_dirs   = if installing
                              then []
                              else [ cFPTOOLS_TOP_ABS ++ "/hslibs/data/cbits" ],
-         c_includes     = [ "HsData.h" ],
+         c_includes     = [],
          package_deps   = [ "lang" ],
          extra_ghc_opts = [],
          extra_cc_opts  = [],
@@ -235,7 +235,7 @@ package_details installing =
                              then [ clibdir ++ "/imports/text" ]
                              else [ cFPTOOLS_TOP_ABS ++ "/hslibs/text" 
                                   , cFPTOOLS_TOP_ABS ++ "/hslibs/text/html" 
-                                  , cFPTOOLS_TOP_ABS ++ "/hslibs/text/haxml/lib" 
+                                  , cFPTOOLS_TOP_ABS ++ "/hslibs/text/HaXml/lib" 
                                   , cFPTOOLS_TOP_ABS ++ "/hslibs/text/parsec" ],
          library_dirs   = if installing
                              then [ clibdir ]
@@ -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" ]