-Package {
- name = PACKAGE,
- auto = False,
+name: PACKAGE
+version: VERSION
+license: BSD3
+maintainer: glasgow-haskell-users@haskell.org
+exposed: False
+
+exposed-modules:
+ AsmCodeGen
+ Bag
+ BasicTypes
+ BinIface
+ Binary
+ BitSet
+ Bitmap
+ BuildTyCl
+ ByteCodeAsm
+ ByteCodeFFI
+ ByteCodeGen
+ ByteCodeInstr
+ ByteCodeItbls
+ ByteCodeLink
+ CLabel
+ CSE
+ CgBindery
+ CgCallConv
+ CgCase
+ CgClosure
+ CgCon
+ CgExpr
+ CgForeignCall
+ CgHeapery
+ CgInfoTbls
+ CgLetNoEscape
+ CgMonad
+ CgParallel
+ CgPrimOp
+ CgProf
+ CgStackery
+ CgTailCall
+ CgTicky
+ CgUtils
+ Check
+ Class
+ ClosureInfo
+ CmdLineParser
+ Cmm
+ CmmLex
+ CmmLint
+ CmmParse
+ CmmUtils
+ CodeGen
+ CodeOutput
+ Config
+ Constants
+ Convert
+ CoreFVs
+ CoreLint
+ CorePrep
+ CoreSubst
+ CoreSyn
+ CoreTidy
+ CoreToStg
+ CoreUnfold
+ CoreUtils
+ CostCentre
+ CprAnalyse
+ Ctype
+ DataCon
+ Demand
+ Desugar
+ Digraph
+ DmdAnal
+ DriverMkDepend
+ DriverPhases
+ DriverPipeline
+ DsArrows
+ DsBinds
+ DsCCall
+ DsExpr
+ DsForeign
+ DsGRHSs
+ DsListComp
+ DsMeta
+ DsMonad
+ DsUtils
+ DynFlags
+ ErrUtils
+ ExternalCore
+ FastMutInt
+ FastString
+ FastTypes
+ FieldLabel
+ Finder
+ FiniteMap
+ FlattenInfo
+ FlattenMonad
+ Flattening
+ FloatIn
+ FloatOut
+ ForeignCall
+ FunDeps
+ GHC
+ Generics
+ GetImports
+ HsBinds
+ HsDecls
+ HsExpr
+ HsImpExp
+ HsLit
+ HsPat
+ HsSyn
+ HsTypes
+ HsUtils
+ HscMain
+ HscStats
+ HscTypes
+ IOEnv
+ Id
+ IdInfo
+ IfaceEnv
+ IfaceSyn
+ IfaceType
+ IlxGen
+ Inst
+ InstEnv
+ InteractiveUI
+ Java
+ JavaGen
+ Kind
+ Lexer
+ LexCore
+ LiberateCase
+ Linker
+ ListSetOps
+ Literal
+ LoadIface
+ MachCodeGen
+ MachInstrs
+ MachOp
+ MachRegs
+ Match
+ MatchCon
+ MatchLit
+ Maybes
+ MkExternalCore
+ MkId
+ MkIface
+ Module
+ NCGMonad
+ NDPCoreUtils
+ Name
+ NameEnv
+ NameSet
+ NewDemand
+ ObjLink
+ OccName
+ OccurAnal
+ OrdList
+ Outputable
+ PArrAnal
+ PackageConfig
+ Packages
+ Panic
+ Parser
+ ParserCoreUtils
+ ParsePkgConf
+ PositionIndependentCode
+ PprC
+ PprCmm
+ PprCore
+ PprExternalCore
+ PprMach
+ PprTyThing
+ PrelInfo
+ PrelNames
+ PrelRules
+ Pretty
+ PrettyTest
+ PrimOp
+ PrimPacked
+ PrintJava
+ RdrHsSyn
+ RdrName
+ RegAllocInfo
+ RegisterAlloc
+ RnBinds
+ RnEnv
+ RnExpr
+ RnHsSyn
+ RnNames
+ RnSource
+ RnTypes
+ Rules
+ SAT
+ SATMonad
+ SCCfinal
+ SMRep
+ SRT
+ SaAbsInt
+ SaLib
+ SetLevels
+ SimplCore
+ SimplEnv
+ SimplMonad
+ SimplStg
+ SimplUtils
+ Simplify
+ SpecConstr
+ Specialise
+ SrcLoc
+ StaticFlags
+ StgLint
+ StgStats
+ StgSyn
+ StrictAnal
+ StringBuffer
+ SysTools
+ TcArrows
+ TcBinds
+ TcClassDcl
+ TcDefaults
+ TcDeriv
+ TcEnv
+ TcExpr
+ TcForeign
+ TcGenDeriv
+ TcHsSyn
+ TcHsType
+ TcIface
+ TcInstDcls
+ TcMType
+ TcMatches
+ TcPat
+ TcRnDriver
+ TcRnMonad
+ TcRnTypes
+ TcRules
+ TcSimplify
+ TcSplice
+ TcTyClsDecls
+ TcTyDecls
+ TcType
+ TcUnify
+ TidyPgm
+ TyCon
+ Type
+ TypeRep
+ TysPrim
+ TysWiredIn
+ UnicodeUtil
+ Unify
+ UniqFM
+ UniqSet
+ UniqSupply
+ Unique
+ Util
+ Var
+ VarEnv
+ VarSet
+ WorkWrap
+ WwLib
+
#ifdef INSTALLING
- import_dirs = [ "$libdir/ghc-package" ],
+import-dirs: PKG_LIBDIR"/hslibs-imports/ghc"
#else
- 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",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/prelude",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/rename",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/typecheck",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/deSugar",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/coreSyn",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/specialise",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/simplCore",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/stranal",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/stgSyn",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/simplStg",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/codeGen",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/absCSyn",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/main",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/profiling",
- FPTOOLS_TOP_ABS"/ghc/compiler/stage1/parser",
- 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" ],
+import-dirs: FPTOOLS_TOP_ABS"/ghc/compiler/stage2/utils",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/basicTypes",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/types",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/hsSyn",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/prelude",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/rename",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/typecheck",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/deSugar",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/coreSyn",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/specialise",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/simplCore",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/stranal",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/stgSyn",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/simplStg",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/codeGen",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/main",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/profiling",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/parser",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/cprAnalysis",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/ndpFlatten",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/iface",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/cmm",
+ FPTOOLS_TOP_ABS"/ghc/compiler/stage2/nativeGen"
#endif
- source_dirs = [],
+
#ifdef INSTALLING
- library_dirs = [ "$libdir" ],
+library-dirs: LIB_DIR
#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: "HSghc"
+extra-libraries:
+depends: PKG_DEPENDS
+haddock-interfaces: HADDOCK_IFACE
+haddock-html: HTML_DIR