X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Lucu.cabal;h=e545e99ade1f3e0b7d4220270c41b9f62c19bed0;hb=4ff7f4b48f372e1cbea63873c5604ee3b4b56d09;hp=ae858fb60dadeab0b017c6d430ee9466cc1f9527;hpb=3d017dd65ddede9a11c5b7a34a91e04340e67bc4;p=Lucu.git diff --git a/Lucu.cabal b/Lucu.cabal index ae858fb..e545e99 100644 --- a/Lucu.cabal +++ b/Lucu.cabal @@ -16,10 +16,23 @@ Stability: experimental Homepage: http://ccm.sherry.jp/Lucu/ Category: Network Tested-With: GHC == 6.8.1 -Build-Depends: +Cabal-Version: >= 1.2 + +Extra-Source-Files: + data/CompileMimeTypes.hs + data/mime.types + examples/HelloWorld.hs + examples/Makefile + +Flag build-lucu-implant-file + Description: Build the lucu-implant-file program. + Default: True + +Library + Build-Depends: Crypto, base, bytestring, containers, directory, haskell-src, hxt, mtl, network, stm, time, unix, zlib -Exposed-Modules: + Exposed-Modules: Network.HTTP.Lucu Network.HTTP.Lucu.Abortion Network.HTTP.Lucu.Config @@ -38,7 +51,7 @@ Exposed-Modules: Network.HTTP.Lucu.Response Network.HTTP.Lucu.StaticFile Network.HTTP.Lucu.Utils -Other-Modules: + Other-Modules: Network.HTTP.Lucu.Chunk Network.HTTP.Lucu.ContentCoding Network.HTTP.Lucu.DefaultPage @@ -50,26 +63,24 @@ Other-Modules: Network.HTTP.Lucu.Preprocess Network.HTTP.Lucu.RequestReader Network.HTTP.Lucu.ResponseWriter -Extra-Source-Files: - data/CompileMimeTypes.hs - data/mime.types - examples/HelloWorld.hs - examples/Makefile -ghc-options: - -fglasgow-exts + ghc-options: -Wall + -XDeriveDataTypeable + -XUnboxedTuples -funbox-strict-fields - -Executable: lucu-implant-file -Main-Is: ImplantFile.hs -ghc-options: - -fglasgow-exts +Executable lucu-implant-file + if flag(build-lucu-implant-file) + Buildable: True + else + Buildable: False + Main-Is: ImplantFile.hs + ghc-options: -Wall + -XUnboxedTuples -funbox-strict-fields - ---Executable: HelloWorld ---Main-Is: HelloWorld.hs ---Hs-Source-Dirs: ., examples ---ghc-options: -fglasgow-exts -fwarn-missing-signatures -fwarn-unused-imports -funbox-strict-fields -O3 -prof -auto-all +--Executable HelloWorld +-- Main-Is: HelloWorld.hs +-- Hs-Source-Dirs: ., examples +-- ghc-options: -fglasgow-exts -Wall -funbox-strict-fields -O3 -prof -auto-all