-- -- Cabal build system for lambdabot -- -- Currently only builds the static version of the bot, which should be -- enough for most people -- -- This version doesn't use plugins in any way. So also this means no -- runplugs, but that's ok if you're using lambdabot in GOA. -- Name: lambdabot Version: 4.0 License: GPL License-file: LICENSE Author: Don Stewart Maintainer: dons@cse.unsw.edu.au Build-Depends: base, unix, network, parsec, mtl, haskell-src, readline, regex-compat, QuickCheck, template-haskell -- -- first build the preprocessor -- Executable: BotPP hs-source-dirs: scripts/ Main-is: BotPP.hs ghc-options: -fasm -funbox-strict-fields -O -- -- Lambdabot -- Executable: lambdabot Main-is: Main.hs extensions: CPP other-modules: Lib.Regex ghc-options: -Wall -Werror -fglasgow-exts -pgmF dist/build/BotPP/BotPP -F -H64m -O -funbox-strict-fields -fasm -fno-warn-incomplete-patterns -fno-warn-missing-methods -fno-warn-orphans -I. -threaded -optl-Wl,-s -- -- And a dynamically linked lambdabot -- -- Not quite there yet. The problem is how to recompile Modules.hs with -- a list of statics and plugins, and then to recompile the rest of -- lambdabot's core -- --Executable: lambdabot-dynamic --main-is: Boot.hs --extensions: CPP --ghc-options: -main-is Boot.main -Wall -Werror -fglasgow-exts -H64m -Onot -fasm -I. -threaded -- ghc-options: -Wall -Werror -fglasgow-exts -funbox-strict-fields -O -fasm -I. -optl-Wl,-s -threaded -- -- Hoogle -- Executable: hoogle hs-source-dirs: scripts/hoogle/src ghc-options: -O Main-is: CmdLine.hs -- -- Djinn -- Executable: djinn hs-source-dirs: scripts/Djinn ghc-options: -O Main-is: Djinn.hs -- -- Unlambda -- Executable: unlambda hs-source-dirs: scripts/ ghc-options: -O Main-is: Unlambda.hs -- -- runplugs -- -- Executable: runplugs -- hs-source-dirs: scripts/ -- Main-is: RunPlugs.hs -- -- BF -- Executable: bf hs-source-dirs: scripts/ Main-is: BF.hs ghc-options: -O2 -- -- FT -- Executable: ft hs-source-dirs: scripts/FT Main-is: FTbase.hs ghc-options: -O