From: simonmar Date: Fri, 23 Jan 2004 14:30:34 +0000 (+0000) Subject: [project @ 2004-01-23 14:30:34 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~121 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=c5e0b4c1d226bc78a73e2f04ad321473059a890f [project @ 2004-01-23 14:30:34 by simonmar] For building GHC as a package, we need package.conf.in. --- diff --git a/ghc/compiler/package.conf.in b/ghc/compiler/package.conf.in new file mode 100644 index 0000000..0532d8b --- /dev/null +++ b/ghc/compiler/package.conf.in @@ -0,0 +1,47 @@ +Package { + name = PACKAGE, + auto = False, +#ifdef INSTALLING + import_dirs = [ "$libdir/ghc-package" ], +#else + import_dirs = [ FPTOOLS_TOP_ABS"/ghc/compiler/stage1/utils", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/basicTypes", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/types", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/hsSyn", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/prelude", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/rename", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/typecheck", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/deSugar", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/coreSyn", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/specialise", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/simplCore", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/stranal", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/stgSyn", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/simplStg", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/codeGen", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/absCSyn", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/main", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/profiling", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/parser", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/cprAnalysis", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/compMan", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/ndpFlatten", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/cbits", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/iface", + FPTOOLS_TOP_ABS"/ghc/compiler/stage1/nativeGen" ], +#endif + source_dirs = [], +#ifdef INSTALLING + library_dirs = [ "$libdir" ], +#else + library_dirs = [ FPTOOLS_TOP_ABS"/ghc/compiler" ], +#endif + + hs_libraries = [ LIBRARY ], + extra_libraries = [], + c_includes = [], + package_deps = [ PACKAGE_DEPS ], + extra_ghc_opts = [], + extra_cc_opts = [], + extra_ld_opts = [] +}