package.conf.in 1.92 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
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/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/cmm",
			   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    = [ "base", "haskell98" ],
		/* PACKAGE_DEPS doesn't work quite right here - it leaves
		   a trailing comma */
        extra_ghc_opts  = [],
        extra_cc_opts   = [],
        extra_ld_opts   = []
}