summaryrefslogtreecommitdiff
path: root/src/server/gf-server.cabal
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2009-06-04 16:26:52 +0000
committerkrasimir <krasimir@chalmers.se>2009-06-04 16:26:52 +0000
commitf2a968b6d53ac07df67f393bd06c38f368d08c02 (patch)
tree6cf785bcb1807de93f10452b11b0dd306157ec70 /src/server/gf-server.cabal
parent6a263f05aa8d963f7141aca8b7ee0cae0c063515 (diff)
the morpho server is now updated and works with the current GF. the sources are moved in directory server
Diffstat (limited to 'src/server/gf-server.cabal')
-rw-r--r--src/server/gf-server.cabal57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/server/gf-server.cabal b/src/server/gf-server.cabal
new file mode 100644
index 000000000..f573e3f07
--- /dev/null
+++ b/src/server/gf-server.cabal
@@ -0,0 +1,57 @@
+name: gf-server
+version: 1.0
+cabal-version: >= 1.2
+build-type: Simple
+license: GPL
+license-file: LICENSE
+synopsis: FastCGI Server for Grammatical Framework
+
+executable pgf-server
+ build-depends: base,
+ old-time,
+ directory,
+ filepath,
+ containers,
+ gf >= 3.0,
+ cgi >= 3001.1.7.0,
+ fastcgi >= 3001.0.2.1,
+ json >= 0.3.3,
+ utf8-string >= 0.3.1.1
+ if !os(windows)
+ build-depends: unix
+ main-is: PGFService.hs
+ other-modules:
+ FastCGIUtils
+ Cache
+ URLEncoding
+ ghc-options: -threaded
+ if os(windows)
+ ghc-options: -optl-mwindows
+
+executable morpho-server
+ build-depends: base,
+ old-time,
+ directory,
+ filepath,
+ containers,
+ gf >= 3.0,
+ cgi >= 3001.1.7.0,
+ fastcgi >= 3001.0.2.1,
+ json >= 0.3.3,
+ utf8-string >= 0.3.1.1,
+ bytestring,
+ pretty,
+ array,
+ process,
+ mtl,
+ random
+ if !os(windows)
+ build-depends: unix
+ main-is: MorphoService.hs
+ other-modules:
+ FastCGIUtils
+ Cache
+ URLEncoding
+ hs-source-dirs: .. . ../../dist/build/autogen
+ if os(windows)
+ ghc-options: -optl-mwindows