summaryrefslogtreecommitdiff
path: root/ghc/compiler/codeGen/Jmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/codeGen/Jmakefile')
-rw-r--r--ghc/compiler/codeGen/Jmakefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/ghc/compiler/codeGen/Jmakefile b/ghc/compiler/codeGen/Jmakefile
new file mode 100644
index 0000000000..03e6c14122
--- /dev/null
+++ b/ghc/compiler/codeGen/Jmakefile
@@ -0,0 +1,19 @@
+/* this is a standalone Jmakefile; NOT part of ghc "make world" */
+
+LitStuffNeededHere(docs depend)
+InfoStuffNeededHere(docs)
+HaskellSuffixRules()
+
+LitSuffixRule(.lit,/*none*/) /* no language really */
+LitSuffixRule(.lhs,.hs) /* Haskell */
+LitSuffixRule(.lhc,.hc) /* Haskell assembler (C) */
+LitSuffixRule(.lprl,.prl) /* Perl */
+LitSuffixRule(.lsh,.sh) /* Bourne shell */
+LitSuffixRule(.lc,.c) /* C */
+LitSuffixRule(.lh,.h)
+LitSuffixRule(.llex,.lex) /* Lex */
+LitSuffixRule(.lflex,.flex) /* Flex */
+
+LIT2LATEX_OPTS=-ttgrind
+
+LitDocRootTargetWithNamedOutput(codegen,lit,codegen-standalone)