@@ -301,19 +301,128 @@ Flag FFI
301301 Default: False
302302 manual: True
303303
304+Library
305+ hs-source-dirs: src
306+ Exposed-modules:
307+ Idris.Core.CaseTree
308+ , Idris.Core.Constraints
309+ , Idris.Core.Elaborate
310+ , Idris.Core.Evaluate
311+ , Idris.Core.Execute
312+ , Idris.Core.ProofState
313+ , Idris.Core.TT
314+ , Idris.Core.Typecheck
315+ , Idris.Core.Unify
316+
317+ , Idris.AbsSyntax
318+ , Idris.AbsSyntaxTree
319+ , Idris.CaseSplit
320+ , Idris.Chaser
321+ , Idris.Colours
322+ , Idris.Completion
323+ , Idris.Coverage
324+ , Idris.DSL
325+ , Idris.DataOpts
326+ , Idris.DeepSeq
327+ , Idris.Delaborate
328+ , Idris.Docs
329+ , Idris.ElabDecls
330+ , Idris.ElabTerm
331+ , Idris.Error
332+ , Idris.Help
333+ , Idris.IBC
334+ , Idris.IdeSlave
335+ , Idris.Imports
336+ , Idris.Inliner
337+ , Idris.Parser
338+ , Idris.ParseHelpers
339+ , Idris.ParseOps
340+ , Idris.ParseExpr
341+ , Idris.ParseData
342+ , Idris.PartialEval
343+ , Idris.Primitives
344+ , Idris.ProofSearch
345+ , Idris.Prover
346+ , Idris.Providers
347+ , Idris.REPL
348+ , Idris.REPLParser
349+ , Idris.Transforms
350+ , Idris.Unlit
351+ , Idris.UnusedArgs
352+
353+ , IRTS.BCImp
354+ , IRTS.Bytecode
355+ , IRTS.CodegenC
356+ , IRTS.CodegenCommon
357+ , IRTS.CodegenJava
358+ , IRTS.CodegenJavaScript
359+ , IRTS.Compiler
360+ , IRTS.Defunctionalise
361+ , IRTS.DumpBC
362+ , IRTS.Inliner
363+ , IRTS.Java.ASTBuilding
364+ , IRTS.Java.JTypes
365+ , IRTS.Java.Mangling
366+ , IRTS.Java.Pom
367+ , IRTS.Lang
368+ , IRTS.Simplified
369+
370+ Other-modules:
371+ Util.Pretty
372+ , Util.System
373+ , Util.DynamicLinker
374+ , Util.Net
375+
376+ , Pkg.Package
377+ , Pkg.PParser
378+
379+ -- Auto Generated
380+ Paths_idris
381+
382+ Extensions: MultiParamTypeClasses
383+ , FunctionalDependencies
384+ , FlexibleInstances
385+ , TemplateHaskell
386+
387+ ghc-prof-options: -auto-all -caf-all
388+ ghc-options: -threaded -rtsopts
389+
390+ if os(linux)
391+ cpp-options: -DLINUX
392+ build-depends: unix
393+ if os(freebsd)
394+ cpp-options: -DFREEBSD
395+ build-depends: unix
396+ if os(darwin)
397+ cpp-options: -DMACOSX
398+ build-depends: unix
399+ if os(windows)
400+ cpp-options: -DWINDOWS
401+ build-depends: Win32
402+ if flag(LLVM)
403+ other-modules: IRTS.CodegenLLVM
404+ cpp-options: -DIDRIS_LLVM
405+ build-depends: llvm-general == 3.3.8.*
406+ , llvm-general-pure == 3.3.8.*
407+ else
408+ other-modules: Util.LLVMStubs
409+ if flag(FFI)
410+ build-depends: libffi
411+ cpp-options: -DIDRIS_FFI
412+
304413Executable idris
305414 Main-is: Main.hs
306415 hs-source-dirs: src
307416 Other-modules:
308− Core.CaseTree
309− , Core.Constraints
310− , Core.Elaborate
311− , Core.Evaluate
312− , Core.Execute
313− , Core.ProofState
314− , Core.TT
315− , Core.Typecheck
316− , Core.Unify
417+ Idris.Core.CaseTree
418+ , Idris.Core.Constraints
419+ , Idris.Core.Elaborate
420+ , Idris.Core.Evaluate
421+ , Idris.Core.Execute
422+ , Idris.Core.ProofState
423+ , Idris.Core.TT
424+ , Idris.Core.Typecheck
425+ , Idris.Core.Unify
317426
318427 , Idris.AbsSyntax
319428 , Idris.AbsSyntaxTree