diff options
-rw-r--r-- | utils/deriveConstants/Main.hs (renamed from utils/deriveConstants/DeriveConstants.hs) | 0 | ||||
-rw-r--r-- | utils/deriveConstants/deriveConstants.cabal | 20 | ||||
-rw-r--r-- | utils/deriveConstants/ghc.mk | 7 | ||||
-rw-r--r-- | utils/genprimopcode/genprimopcode.cabal | 22 | ||||
-rw-r--r-- | utils/genprimopcode/ghc.mk | 7 |
5 files changed, 50 insertions, 6 deletions
diff --git a/utils/deriveConstants/DeriveConstants.hs b/utils/deriveConstants/Main.hs index 00a9c1a4ed..00a9c1a4ed 100644 --- a/utils/deriveConstants/DeriveConstants.hs +++ b/utils/deriveConstants/Main.hs diff --git a/utils/deriveConstants/deriveConstants.cabal b/utils/deriveConstants/deriveConstants.cabal new file mode 100644 index 0000000000..72afb72c80 --- /dev/null +++ b/utils/deriveConstants/deriveConstants.cabal @@ -0,0 +1,20 @@ +Name: deriveConstants +Version: 0.1 +Copyright: XXX +License: BSD3 +-- XXX License-File: LICENSE +Author: XXX +Maintainer: XXX +Synopsis: XXX +Description: XXX +Category: Development +build-type: Simple +cabal-version: >=1.10 + +Executable deriveConstants + Default-Language: Haskell2010 + Main-Is: Main.hs + Build-Depends: base >= 4 && < 5, + containers, + process, + filepath diff --git a/utils/deriveConstants/ghc.mk b/utils/deriveConstants/ghc.mk index 968282e282..e2789991c1 100644 --- a/utils/deriveConstants/ghc.mk +++ b/utils/deriveConstants/ghc.mk @@ -10,10 +10,11 @@ # # ----------------------------------------------------------------------------- -utils/deriveConstants_dist_MODULES = DeriveConstants -utils/deriveConstants_dist_PROGNAME = deriveConstants +utils/deriveConstants_USES_CABAL = YES +utils/deriveConstants_PACKAGE = deriveConstants +utils/deriveConstants_dist_PROGNAME = deriveConstants +utils/deriveConstants_dist_INSTALL = NO utils/deriveConstants_dist_INSTALL_INPLACE = YES -utils/deriveConstants_HC_OPTS += -package process -package containers $(eval $(call build-prog,utils/deriveConstants,dist,0)) diff --git a/utils/genprimopcode/genprimopcode.cabal b/utils/genprimopcode/genprimopcode.cabal new file mode 100644 index 0000000000..adc5230a4f --- /dev/null +++ b/utils/genprimopcode/genprimopcode.cabal @@ -0,0 +1,22 @@ +Name: genprimopcode +Version: 0.1 +Copyright: XXX +License: BSD3 +-- XXX License-File: LICENSE +Author: XXX +Maintainer: XXX +Synopsis: XXX +Description: XXX +Category: Development +build-type: Simple +cabal-version: >=1.10 + +Executable genprimopcode + Default-Language: Haskell2010 + Main-Is: Main.hs + Other-Modules: Lexer + Parser + ParserM + Syntax + Build-Depends: base >= 4 && < 5, + array diff --git a/utils/genprimopcode/ghc.mk b/utils/genprimopcode/ghc.mk index 4b9ebef0d8..790c75dbb2 100644 --- a/utils/genprimopcode/ghc.mk +++ b/utils/genprimopcode/ghc.mk @@ -10,9 +10,10 @@ # # ----------------------------------------------------------------------------- -utils/genprimopcode_dist_MODULES = Lexer Main ParserM Parser Syntax -utils/genprimopcode_dist_PROGNAME = genprimopcode -utils/genprimopcode_dist_HC_OPTS = -package array +utils/genprimopcode_USES_CABAL = YES +utils/genprimopcode_PACKAGE = genprimopcode +utils/genprimopcode_dist_PROGNAME = genprimopcode +utils/genprimopcode_dist_INSTALL = NO utils/genprimopcode_dist_INSTALL_INPLACE = YES $(eval $(call build-prog,utils/genprimopcode,dist,0)) |