X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fpackage.conf.in;fp=ghc%2Fcompiler%2Fpackage.conf.in;h=98957da28dc6077d2c05a076bc6cafda64290689;hb=931de17ed344e8b63fc086ba9e1b28a86cd7b531;hp=9c5ba8045ebc693d586ed06c789d47ebba76ad89;hpb=71ae8ec9651216330ac49e9eae60d195e65c7506;p=ghc-hetmet.git diff --git a/ghc/compiler/package.conf.in b/ghc/compiler/package.conf.in index 9c5ba80..98957da 100644 --- a/ghc/compiler/package.conf.in +++ b/ghc/compiler/package.conf.in @@ -1,10 +1,18 @@ -Package { - name = PACKAGE, - auto = False, +name: PACKAGE +version: VERSION +license: BSD3 +maintainer: glasgow-haskell-users@haskell.org +exposed: True + +exposed-modules: + GHC + +hidden-modules: + #ifdef INSTALLING - import_dirs = [ "$libdir/ghc-package" ], +import-dirs: "$libdir/ghc-package" #else - import_dirs = [ FPTOOLS_TOP_ABS"/ghc/compiler/stage1/utils", +import-dirs: FPTOOLS_TOP_ABS"/ghc/compiler/stage1/utils", FPTOOLS_TOP_ABS"/ghc/compiler/stage1/basicTypes", FPTOOLS_TOP_ABS"/ghc/compiler/stage1/types", FPTOOLS_TOP_ABS"/ghc/compiler/stage1/hsSyn", @@ -25,25 +33,19 @@ Package { FPTOOLS_TOP_ABS"/ghc/compiler/stage1/cprAnalysis", FPTOOLS_TOP_ABS"/ghc/compiler/stage1/compMan", FPTOOLS_TOP_ABS"/ghc/compiler/stage1/ndpFlatten", - FPTOOLS_TOP_ABS"/ghc/compiler/stage1/cbits", FPTOOLS_TOP_ABS"/ghc/compiler/stage1/iface", FPTOOLS_TOP_ABS"/ghc/compiler/stage1/cmm", - FPTOOLS_TOP_ABS"/ghc/compiler/stage1/nativeGen" ], + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/nativeGen" #endif - source_dirs = [], + #ifdef INSTALLING - library_dirs = [ "$libdir" ], +library-dirs: "$libdir", #else - library_dirs = [ FPTOOLS_TOP_ABS"/ghc/compiler" ], +library-dirs: FPTOOLS_TOP_ABS"/ghc/compiler" #endif - hs_libraries = [ LIBRARY ], - extra_libraries = [], - c_includes = [], - package_deps = [ "base", "haskell98" ], - /* PACKAGE_DEPS doesn't work quite right here - it leaves - a trailing comma */ - extra_ghc_opts = [], - extra_cc_opts = [], - extra_ld_opts = [] -} +hs-libraries: LIBRARY + +extra-libraries: + +package_deps: "base", "haskell98"